<!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>tricks for avioding locking problems</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>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 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 other tricks, but nothing seems to get rid of this problem permanently on 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 locking or at least some way to avoid this error.<BR>
<BR>
Thanks!<BR>
-Jim</FONT>
</P>

</BODY>
</HTML>