1slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
1slurm [2020/05/07 08:35] – admin | 1slurm [2020/05/09 15:11] – admin | ||
---|---|---|---|
Line 75: | Line 75: | ||
</ | </ | ||
- | === Scripts (used with **sbatch**) === | + | === Scripts (used with sbatch) === |
- | It is convenient to write the job script in a file not only because in this way the script can be reused, but also because it is also possible to set '' | + | It is convenient to write the job script in a file not only because in this way the script can be reused, but also because it is also possible to set '' |
< | < | ||
$ cat sheepit.slurm | $ cat sheepit.slurm | ||
Line 105: | Line 105: | ||
</ | </ | ||
+ | < | ||
+ | At the beginning of the file you can read the line ''# | ||
+ | </ | ||
Inside a script, all the line that starts with the '#' | Inside a script, all the line that starts with the '#' | ||
The example above instruct the queuing system to: | The example above instruct the queuing system to: | ||
Line 136: | Line 139: | ||
<note important> | <note important> | ||
- | It is **mandatory** to specify at least the estimated run time of the job and the memory needed | + | It is **mandatory** to specify at least the estimated run time of the job and the memory needed, so the scheduler can optimize the machines/ |
Please keep in mind that longer jobs are less likely to enter the queue when the cluster load is high. Therefore, don't be lazy and do not always ask for // | Please keep in mind that longer jobs are less likely to enter the queue when the cluster load is high. Therefore, don't be lazy and do not always ask for // |
1slurm.txt · Last modified: 2020/06/26 10:38 by admin