[slurm-users] setting default working directory in prolog

Stefan Kelber Stefan.Kelber at gmx.de
Tue Oct 26 13:32:52 UTC 2021


Hello List,

i am a SLURM newbie and would like to set the job specific working directory for it's processing to make use of local disks on compute nodes, as a default, using a job prolog (slurmd) therefore, sparing the users to have to take care of this in the batch script.

The "SLURM_JOB_WORK_DIR" variable seems to be addressing such an effort.
But apparently it depends on the release of slurm-21.08, i don't have available yet.
Is that true?
Since it seems such a crucial feature: how did you have handled similar efforts 20.11.x or earlier?
Creating directories and moving data works for me, but still the process happens on the data in the user's home (submission) directory...
Just a brief idea would help a lot.

Best ragards.



More information about the slurm-users mailing list