<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.36">
<TITLE>RE: [MPICH] tricks for avioding locking problems</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Let's not focus on NFS at the moment. What I really need is a way, trick, or hack that allows me to circumvent or disable file locking in general. Does such a thing exist?<BR>
<BR>
Thanks,<BR>
Jim<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Rajeev Thakur [<A HREF="mailto:thakur@mcs.anl.gov">mailto:thakur@mcs.anl.gov</A>]<BR>
Sent: Tue 6/21/2005 3:25 PM<BR>
To: Foucar, James G; mpich-discuss@mcs.anl.gov<BR>
Subject: RE: [MPICH] tricks for avioding locking problems<BR>
<BR>
One way to avoid this problem is to not use NFS :-).<BR>
<BR>
Do you have the lockd daemon running on all nodes?<BR>
<BR>
Rajeev<BR>
<BR>
<BR>
&nbsp; _____&nbsp;<BR>
<BR>
From: owner-mpich-discuss@mcs.anl.gov<BR>
[<A HREF="mailto:owner-mpich-discuss@mcs.anl.gov">mailto:owner-mpich-discuss@mcs.anl.gov</A>] On Behalf Of Foucar, James G<BR>
Sent: Tuesday, June 21, 2005 4:12 PM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: [MPICH] tricks for avioding locking problems<BR>
<BR>
<BR>
<BR>
Hello,<BR>
<BR>
I was wondering if any of you know of ways to avoid the following error:<BR>
<BR>
&gt; File locking failed in ADIOI_Set_lock. If the file system is NFS, you<BR>
&gt; need to use NFS version 3 and mount the directory with the 'noac' option<BR>
&gt; (no attribute caching).<BR>
&gt; [0] MPI Abort by user Aborting program !<BR>
&gt; [0] Aborting program!<BR>
&gt; p0_928:&nbsp; p4_error: : 1<BR>
&gt; exit 1<BR>
<BR>
This error, and similar errors, have popped up randomly on all many file<BR>
systems, regardless of whether they were mounted with attribute caching.<BR>
<BR>
I have tried using the MPI_MODE_UNIQUE_OPEN flag when opening files and some<BR>
other tricks, but nothing seems to get rid of this problem permanently on<BR>
all the various platforms that I need to support.<BR>
<BR>
What I really need is a general way to tell MPICH not to use any file<BR>
locking or at least some way to avoid this error.<BR>
<BR>
Thanks!<BR>
-Jim<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>