USCbiostats / slurmR

slurmR: A Lightweight Wrapper for Slurm
https://uscbiostats.github.io/slurmR/
Other
58 stars 12 forks source link

filesystem error: cannot rename: Directory not empty #45

Closed aowenson-imm closed 7 months ago

aowenson-imm commented 7 months ago

My Slurm cluster runs a pair of prolog and epilog scripts to write performance data to the job submission folder. This seems to conflict with assumptions made by slurmR:

Success! nodenames collected (terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error',   what():  filesystem error: cannot rename: Directory not empty [sps-%JOBID%_-2] [sps-%JOBID%_-2.1],   what():  filesystem error: cannot rename: Directory not empty [sps-%JOBID%_-2] [sps-%JOBID%_-2.2], %NODENAME%). Creating the cluster object...
ssh: Could not resolve hostname terminate: Temporary failure in name resolution

Those folders named sps-* are automatically created by our scripts. Job ID and node name replaced with placeholders %JOBID% and %NODENAME%.

aowenson-imm commented 7 months ago

Thinking more, this might be a problem with our scripts. I will close until I confirm fault lies with slurmr.