[MPICH] tricks for avioding locking problems

Foucar, James G jgfouca at sandia.gov
Tue Jun 21 16:11:46 CDT 2005


Hello,

I was wondering if any of you know of ways to avoid the following error: 

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

This error, and similar errors, have popped up randomly on all many file systems, regardless of whether they were mounted with attribute caching.

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.

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.

Thanks!
-Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050621/94cd77f1/attachment.htm>


More information about the mpich-discuss mailing list