Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start:working_on_mogon:io_odds_and_ends:slurm_localscratch [2020/10/19 13:57] meesters [Copy files to multiple nodes via job script] |
start:working_on_mogon:io_odds_and_ends:slurm_localscratch [2022/06/20 18:05] meesters [Signalling in SLURM -- difference between signalling submission scripts and applications] - minor grammar fixes and removed doubled lines |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Local Scratch Space ====== | ====== Local Scratch Space ====== | ||
- | On every node, there is local scratch space available to your running jobs that you should use if possible. | + | On every node, there is local scratch space available to your running jobs. |
Every job can therefore use a directory called ''/ | Every job can therefore use a directory called ''/ | ||
+ | |||
+ | <callout type=" | ||
+ | If your job(s) in question are merely reading and writing big files in a linear mode, there is no requirement to use a local scratch or a ramdisk. However, these are scenarios, where using the local scratch might be beneficial: | ||
+ | * if your job produces many temporary files | ||
+ | * if your job reads a file or set of files in a directory repeatedly during run time (for multiple threads or concurrent jobs mean a random access pattern to the global file system, which is a true performance killer) | ||
+ | </ | ||
<callout type=" | <callout type=" | ||
Line 85: | Line 91: | ||
$ sbatch --signal=SIGUSR2@600 ... | $ sbatch --signal=SIGUSR2@600 ... | ||
</ | </ | ||
- | This would send the signal '' | + | This would send the signal '' |
**Usually** this requires you to use | **Usually** this requires you to use | ||
Line 93: | Line 99: | ||
</ | </ | ||
- | or rather | + | within |
- | + | ||
- | <code bash> | + | |
- | #SBATCH --signal=B: | + | |
- | </ | + | |
- | + | ||
- | withing | + | |
</ | </ |