services:cluster:slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:cluster:slurm [2020/06/24 13:01] – Remove old login nodes behrmj87 | services:cluster:slurm [2024/03/13 14:16] (current) – [Example of a very basic job script] behrmj87 | ||
---|---|---|---|
Line 19: | Line 19: | ||
Consider the following bash script with ''# | Consider the following bash script with ''# | ||
- | <xterm> | + | <file bash example_job.sh> |
#!/bin/bash | #!/bin/bash | ||
Line 40: | Line 40: | ||
# wait some time... | # wait some time... | ||
sleep 50 | sleep 50 | ||
- | </xterm> | + | </file> |
Please note that your job will be killed by the queueing system if it tries to use more memory than requested or if it runs longer than the time specified in the batch script. 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). | Please note that your job will be killed by the queueing system if it tries to use more memory than requested or if it runs longer than the time specified in the batch script. 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). | ||
Line 46: | Line 46: | ||
Now just submit your job script using '' | Now just submit your job script using '' | ||
- | <xterm> | + | <code> |
- | dreger@sheldon-ng: | + | dreger@sheldon-ng: |
/ | / | ||
- | dreger@sheldon-ng: | + | dreger@sheldon-ng: |
Submitted batch job 26495 | Submitted batch job 26495 | ||
- | dreger@sheldon-ng: | + | dreger@sheldon-ng: |
Sun Jun 29 23:02:50 2014 | Sun Jun 29 23:02:50 2014 | ||
JOBID PARTITION | JOBID PARTITION | ||
| | ||
- | dreger@sheldon-ng: | + | dreger@sheldon-ng: |
JobId=26495 Name=job1 | JobId=26495 Name=job1 | ||
| | ||
Line 77: | Line 77: | ||
x001 | x001 | ||
- | </xterm> | + | </code> |
- | ==== 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.1593003674.txt.gz · Last modified: 2020/06/24 13:01 by behrmj87