Re: [slurm-users] SLURM_TMPDIR

2019-12-17 Thread Angelines
Hi Tina The problem was that slurm was able to create de user directory but later it wasn't able to create job_id directory... In the prolog script I add a chown command and it worked! In epilog script slurm delete the job_id directory so it works fine for me. Thanks! -- ___

Re: [slurm-users] SLURM_TMPDIR

2019-12-11 Thread Tina Friedrich
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, >

Re: [slurm-users] SLURM_TMPDIR

2019-12-10 Thread Juergen Salk
Hi Angelines, we create a job specific scratch directory in the prolog script but use the task_prolog script to set the environment variable. In prolog: scratch_dir=/your/path /bin/mkdir -p ${scratch_dir} /bin/chmod 700 ${scratch_dir} /bin/chown ${SLURM_JOB_USER} ${scratch_dir} In task_prolog:

Re: [slurm-users] SLURM_TMPDIR

2019-12-09 Thread Angelines
Hi Roger thanks for your answer but it doesn't work in our case and I don't understand why. Angelines Alberto Morillas Unidad de Arquitectura Informática Despacho: 22.1.32 Telf.: +34 91 346 6119 Fax: +34 91 346 6537 skype: angelines.alberto

Re: [slurm-users] SLURM_TMPDIR

2019-12-05 Thread Roger Moye
Our prolog script just does this: export SLURM_TMPDIR="/tmp/slurm/${SLURM_JOB_ID}" This has worked for us. -Roger -Original Message- From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of Angelines Sent: Thursday, December 5, 2019 9:58 AM To: slurm-users@lists.sc