technical:slurm:auto_tmpdir

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
technical:slurm:auto_tmpdir [2020-03-12 11:42] – [The auto_tmpdir plugin] freytechnical:slurm:auto_tmpdir [2020-03-12 11:44] frey
Line 54: Line 54:
 |''/tmp/job-«job-id»/var_tmp''|''/var/tmp''| |''/tmp/job-«job-id»/var_tmp''|''/var/tmp''|
 |''/dev/shm/job-«job-id»''|''/dev/shm''| |''/dev/shm/job-«job-id»''|''/dev/shm''|
 +
 +==== Shared tmpdir ====
  
 In some cases the user may want the ''/tmp'' directory for the job to be shared by all nodes participating on the job — e.g. somewhere on ''/lustre/scratch'' The **auto_tmpdir** plugin implements a ''--use-shared-tmpdir'' flag to the **salloc/srun/sbatch** commands to request this: In some cases the user may want the ''/tmp'' directory for the job to be shared by all nodes participating on the job — e.g. somewhere on ''/lustre/scratch'' The **auto_tmpdir** plugin implements a ''--use-shared-tmpdir'' flag to the **salloc/srun/sbatch** commands to request this:
Line 78: Line 80:
 </WRAP> </WRAP>
  
 +===== Source code =====
 +
 +The source code for the **auto_tmpdir** plugin is publicly available on [[https://github.com/jtfrey/auto_tmpdir/|Github]].