File locking failed in ADIOI_Set_lock

Rajeev Thakur thakur at mcs.anl.gov
Thu Sep 23 15:40:43 CDT 2010


Based on a user's feedback, we have recently updated that error message to say

"If the file system is LUSTRE, ensure that the directory is mounted with the 'flock' option."

Rajeev



On Sep 23, 2010, at 3:23 PM, John Michalakes wrote:

> Hi List,
> 
> I'm running WRF on a large cluster with a Lustre file system (redmesa.sandia.gov) and am encountering the following error on one of the processes doing a write through pNetCDF over OpenMPI:
> 
> File locking failed in ADIOI_Set_lock(fd 18,cmd F_SETLKW/7,type F_WRLCK/1,whence 0) with return value FFFFFFFF and errno 26.
> If the file system is NFS, you need to use NFS version 3, ensure that the lockd daemon is running on all the machines, and mount the directory with the 'noac' option (no attribute caching).
> ADIOI_Set_lock:: Function not implemented
> ADIOI_Set_lock:offset 74588, length 804
> 
> Have Googled this a little before writing to this list, and the workaround seems to be to upgrade to NFS v3, but that's outside my purview and I don't know if that's applicable to this Lustre system anyway.  Have you seen this before?  Any thoughts or suggestions? Thanks,
> 
> John  
> 
> 
> -- 
> John Michalakes
> National Renewable Energy Laboratory
> 1617 Cole Blvd.
> Golden, Colorado 80401
> Phone: 303-275-4297
> Fax: 303-275-4091
> 
> John.Michalakes at nrel.gov
> 
> 
> 



More information about the parallel-netcdf mailing list