[slurm-users] temporary SLURM directories

Diego Zuccato diego.zuccato at unibo.it
Thu May 26 09:48:24 UTC 2022

Il 25/05/2022 14:42, Mark Dixon ha scritto:

> https://slurm.schedmd.com/faq.html#tmpfs_jobcontainer
> https://slurm.schedmd.com/job_container.conf.html
> I would be interested in hearing how well it works - it's so buried in 
> the documentation that unfortunately I didn't see it until after I 
> rolled a solution similar to Diego's
Well, I found it, but IIUC it just handles tmpfs (RAM backed), but I 
needed to use actual disk space: RAM is needed for the job :)

> (which can be extended such that 
> TaskProlog sets the TMPDIR environment variable appropriately, and limit 
> the disk space used by the job).Still can't
export TMPDIR=...
from TaskProlog script. Surely missing something important. Maybe 
TaskProlog is called as a subshell? In that case it can't alter caller's 
env... But IIUC someone made it work, and that confuses me...

Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786

More information about the slurm-users mailing list