Software Archive
Read-only legacy content
17061 Discussions

Generic MPICH Message: File locking failed

New Contributor I

When I try to run some MPI code solely on the mic coprocessors, I get the following error:

This requires fcntl(2) to be implemented. As of 8/25/2011 it is not. Generic MPICH Message: File locking failed in ADIOI_Set_lock(fd 54,cmd F_SETLKW/7,type F_WRLCK/1,whence 0) with return value FFFFFFFF and errno 25.
- 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).
- If the file system is LUSTRE, ensure that the directory is mounted with the 'flock' option.
ADIOI_Set_lock:: No locks available
ADIOI_Set_lock:offset 0, length 8
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

I've setup an NFS file share for the mic cards, and if the MPI code uses both the host and the coprocessors, no errors occur.  Any suggestions on how to modify how the mic cards mount the NFS share to comply with the above error suggestions?  Thanks!

0 Kudos
0 Replies