Unable to access file --file is locked (SDDS_InitializeOutput)
Posted: 31 Jan 2021, 22:27
Hi Michael,
I'm using SLURM to submit elegant/Pelegant jobs on a cluster, inside the bash script there is a sddsprocess command that generate a new file out of an old file. But when the script is executed, sometimes( not always ) there is the following error message:
Error for sddsprocess:
Unable to access file "the filename" --file is locked (SDDS_InitializeOutput).
I wonder what is the cause for such an error, and what I could do to avoid it.
I just saw a possibly related question by Hexin "elegant file locked on centos7 server" , the following is the information of the file system I use, I installed elegant and sddstoolkit 2020.5.0 by compiling the source files.
(base) -bash-4.2$ mount | grep /sharefs | grep lustre
192.168.50.77@tcp:/sharefs on /sharefs type lustre (rw,flock,lazystatfs)
Thanks and best regards,
Zhe
I'm using SLURM to submit elegant/Pelegant jobs on a cluster, inside the bash script there is a sddsprocess command that generate a new file out of an old file. But when the script is executed, sometimes( not always ) there is the following error message:
Error for sddsprocess:
Unable to access file "the filename" --file is locked (SDDS_InitializeOutput).
I wonder what is the cause for such an error, and what I could do to avoid it.
I just saw a possibly related question by Hexin "elegant file locked on centos7 server" , the following is the information of the file system I use, I installed elegant and sddstoolkit 2020.5.0 by compiling the source files.
(base) -bash-4.2$ mount | grep /sharefs | grep lustre
192.168.50.77@tcp:/sharefs on /sharefs type lustre (rw,flock,lazystatfs)
Thanks and best regards,
Zhe