[MPICH] tricks for avioding locking problems

Rajeev Thakur thakur at mcs.anl.gov
Tue Jun 21 16:25:38 CDT 2005


One way to avoid this problem is to not use NFS :-).
 
Do you have the lockd daemon running on all nodes?
 
Rajeev


  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Foucar, James G
Sent: Tuesday, June 21, 2005 4:12 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] tricks for avioding locking problems



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/558d7672/attachment.htm>


More information about the mpich-discuss mailing list