This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision |
technical:slurm:auto_tmpdir [2020-03-12 11:42] – [The auto_tmpdir plugin] frey | technical:slurm:auto_tmpdir [2020-03-12 11:44] – frey |
---|
|''/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: |
</WRAP> | </WRAP> |
| |
| ===== Source code ===== |
| |
| The source code for the **auto_tmpdir** plugin is publicly available on [[https://github.com/jtfrey/auto_tmpdir/|Github]]. |