<!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>
> File locking failed in ADIOI_Set_lock. If the file system is NFS, you<BR>
> need to use NFS version 3 and mount the directory with the 'noac' option<BR>
> (no attribute caching).<BR>
> [0] MPI Abort by user Aborting program !<BR>
> [0] Aborting program!<BR>
> p0_928: p4_error: : 1<BR>
> 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>