Thanks for your reply Bjorn-Helge
This cleared things up for me. I had not understood that we need to use Prolog
and Epilog for the TMPDIR stuff because that guarantees it is created at the
very beginning of the job and deleted at the very end. Everything now works as
expected, thanks so much f
"Putnam, Harry" writes:
> /opt/slurm/task_epilog
>
> #!/bin/bash
> mytmpdir=/scratch/$SLURM_JOB_USER/$SLURM_JOB_ID
> rm -Rf $mytmpdir
> exit;
This might not be the reason for what you observe, but I believe
deleting the scratch dir in the task epilog is not a good idea. The
task epilog is run a