Dear slurm users, As a new slurm user, I would like to write an epilog script which clean the TMPDIR.
In the slurm.conf, I inluded this line: Epilog=/usr/local/etc/epilog.sh and here is the epilog.sh script: #!/bin/bash echo "c est la fin" rm -r /tmp/job-* exit 0 Below is a test submission script #!/bin/bash # #SBATCH --job-name=test #SBATCH --output=res.txt #SBATCH --nodes=1 #SBATCH --ntasks=36 #SBATCH --time=10000:00:00 mkdir /tmp/job_$SLURM_JOBID hostname > /tmp/job_$SLURM_JOBID/res Thus a /tmp/job_$SLURM_JOBID/res is create However, this directory in not removed at the end of the execution, as expected from the epilog.sh script. Can anyone help me Sincerely, Rémi
