turning off file locking

Foucar, James G jgfouca at sandia.gov
Wed May 19 16:44:20 CDT 2004


thanks for the replies, there is a lockd daemon running and from what
sysadmin has told me in the past, they mounted everything using the noac
option. 

-James 

-----Original Message-----
From: Rajeev Thakur
To: 'Foucar, James G'; parallel-netcdf at mcs.anl.gov
Sent: 5/19/2004 3:16 PM
Subject: RE: turning off file locking

The problem isn't with pnetcdf. The problem is that you are accessing
files
on an NFS file system, and the MPI-IO implementation that pnetcdf uses
needs
file locking to work on NFS for consistency reasons. The error you are
seeing is usually because the NFS lockd daemon is not running on the
machines. Could you check that?

Rajeev 

> -----Original Message-----
> From: owner-parallel-netcdf at mcs.anl.gov 
> [mailto:owner-parallel-netcdf at mcs.anl.gov] On Behalf Of 
> Foucar, James G
> Sent: Wednesday, May 19, 2004 4:12 PM
> To: 'parallel-netcdf at mcs.anl.gov'
> Subject: turning off file locking
> 
> 
> Hello, I have been having off and on problems with file 
> locking on NFS when using pnetcdf. The error i get is: 
> 
> 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).
> 
> My question is: is there anyway turn off file locking for the 
> pnetcdf file?
> 
> Thanks,
> James
> 
> 





More information about the parallel-netcdf mailing list