turning off file locking

Rajeev Thakur thakur at mcs.anl.gov
Wed May 19 16:16:50 CDT 2004


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