services:cluster:slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
services:cluster:slurm [2014/06/29 21:07] – [Example of a very basic job script] dreger | services:cluster:slurm [2015/04/16 08:13] – dreger | ||
---|---|---|---|
Line 14: | Line 14: | ||
- Submit your job script using the '' | - Submit your job script using the '' | ||
- | ==== Example of a very basic job script | + | ==== Example of a very basic job script ==== |
+ | |||
+ | Consider the following bash script with #SBATCH comments, which tell Slurm what resources you need: | ||
< | < | ||
Line 38: | Line 40: | ||
sleep 50 | sleep 50 | ||
</ | </ | ||
+ | |||
+ | Please note that your job will be killed by the queueing system if your program uses more time or memory than what you specified in the jobscript. So to be on the safe side you can set these values a litte bit higher. If you set the values to high, your job might not start because there are not enough resources (e.g. no machine has that amount of memory you are asking for). | ||
Now just submit your job script using '' | Now just submit your job script using '' |
services/cluster/slurm.txt · Last modified: 2015/06/16 12:53 by dreger