[slurm-users] SLURM_TMPDIR

Tina Friedrich tina.friedrich at it.ox.ac.uk
Wed Dec 11 12:19:53 UTC 2019


Hi Angelines,

I use a plugin for that - I believe this one

https://github.com/hpc2n/spank-private-tmp

which sort of does it all; your job sees an (empty) /tmp/.

(It doesn't do cleanup, I simply rely on OS cleaning up /tmp, at the 
moment.)

Tina

On 05/12/2019 15:57, Angelines wrote:
> Hello,
> 
> I would like to change the SLURM_TMPDIR that by default is /tmp to other 
> place.
> 
> Could you help me? Becuase I have tried with prolog script and in other 
> cluster with a older version this work for me but not now.
> 
> tmpFolder="/SCRATCH_LOCAL/$SLURM_JOB_USER/$SLURM_JOB_ID"
> mkdir -p $tmpFolder
> echo "export TMPDIR=$tmpFolder"
> 


More information about the slurm-users mailing list