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:05] – [Quick Start for the impatient] dreger | services:cluster:slurm [2021/09/15 11:48] – add syntax highlighting to example job behrmj87 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Quick Start for the impatient ===== | ===== Quick Start for the impatient ===== | ||
- | - Log in to the head node sheldon-ng.physik.fu-berlin.de | + | - Log in to one of the head nodes using ssh: |
+ | * login node for tron cluster: tron.physik.fu-berlin.de | ||
- Create a job script file to be run by the queuing system, supply information like: | - Create a job script file to be run by the queuing system, supply information like: | ||
* how much memory to allocate for your job | * how much memory to allocate for your job | ||
Line 14: | Line 15: | ||
- 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 | + | Consider the following |
- | <xterm> | + | <file bash example_job.sh> |
#!/bin/bash | #!/bin/bash | ||
Line 39: | Line 40: | ||
# wait some time... | # wait some time... | ||
sleep 50 | sleep 50 | ||
- | </xterm> | + | </file> |
- | Now just submit | + | 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). |
- | <xterm> | + | Now just submit your job script using '' |
+ | |||
+ | <code> | ||
dreger@sheldon-ng: | dreger@sheldon-ng: | ||
/ | / | ||
Line 74: | Line 77: | ||
x001 | x001 | ||
- | </xterm> | + | </code> |
services/cluster/slurm.txt · Last modified: 2024/04/26 14:36 by hoffmac00