Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
hpc:scheduling:slurm_commands [2024/09/26 15:21] – | hpc:scheduling:slurm_commands [2024/10/25 15:03] (aktuell) – | ||
---|---|---|---|
Zeile 25: | Zeile 25: | ||
< | < | ||
# General: | # General: | ||
- | sbatch --job-name=$jobname | + | sbatch --job-name=<name of job shown in squeue> |
# A start date/time can be set via the --begin parameter: | # A start date/time can be set via the --begin parameter: | ||
Zeile 37: | Zeile 37: | ||
< | < | ||
#!/bin/bash | #!/bin/bash | ||
- | #SBATCH --job-name=$jobname | + | #SBATCH --job-name=<name of job shown in squeue> -N <num nodes> |
- | #SBATCH -N <num_nodes> | + | #SBATCH -N <num nodes> |
- | #SBATCH --ntasks-per-node=< | + | #SBATCH --ntasks-per-node=< |
#SBATCH --begin=2010-01-20T12: | #SBATCH --begin=2010-01-20T12: | ||
Zeile 48: | Zeile 48: | ||
All parameters used there can also be specified in the job script itself using #SBATCH. | All parameters used there can also be specified in the job script itself using #SBATCH. | ||
- | === Check the status of your own jobs === | + | Also, more examples can be found [[hpc: |
+ | |||
+ | === Check the status of your job submissions | ||
< | < | ||
- | squeue | + | squeue |
</ | </ | ||
- | === Check the status of the nodes === | + | === Check the status of nodes === |
< | < | ||
sinfo | sinfo | ||
Zeile 67: | Zeile 69: | ||
</ | </ | ||
+ | === Slurm Cheat Sheet === | ||
+ | |||
+ | A summary of the most common commands can be found [[https:// |