services:cluster:slurm
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
services:cluster:slurm [2014/06/29 20:38] – created dreger | services:cluster:slurm [2014/06/29 21:09] – dreger | ||
---|---|---|---|
Line 14: | Line 14: | ||
- Submit your job script using the '' | - Submit your job script using the '' | ||
- | Consider the following example | + | ==== Example |
+ | |||
+ | Consider the following bash script with #SBATCH comments, which tell Slurm what resources you need: | ||
< | < | ||
Line 34: | Line 36: | ||
# run your program... | # run your program... | ||
hostname | hostname | ||
+ | |||
+ | # wait some time... | ||
+ | sleep 50 | ||
</ | </ | ||
Line 42: | Line 47: | ||
/ | / | ||
dreger@sheldon-ng: | dreger@sheldon-ng: | ||
- | Submitted batch job 26494 | + | Submitted batch job 26495 |
- | dreger@sheldon-ng: | + | dreger@sheldon-ng: |
- | JobId=26494 Name=job1 | + | Sun Jun 29 23:02:50 2014 |
+ | JOBID PARTITION | ||
+ | | ||
+ | dreger@sheldon-ng: | ||
+ | JobId=26495 Name=job1 | ||
| | ||
| | ||
| | ||
| | ||
- | | + | |
- | | + | |
- | | + | |
| | ||
- | | + | |
| | ||
| | ||
Line 66: | Line 75: | ||
x001 | x001 | ||
</ | </ | ||
+ | |||
+ | ==== Example of a GROMACS job script for one node using multithreading ==== | ||
+ | |||
+ | TBD | ||
+ | |||
+ | ==== Example of a GROMACS job script for multiple nodes using MPI ==== | ||
+ | |||
+ | TBD |
services/cluster/slurm.txt · Last modified: 2015/06/16 12:53 by dreger