linux:slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:slurm [2023/02/20 21:41] – a.boev | linux:slurm [2023/12/20 18:47] (current) – [Squeue tips] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SLURM ====== | + | ====== SLURM (Simple Linux Utility for Resource Management) |
+ | ===== Basic commands ===== | ||
- | To see the details of all the nodes you can use: | + | - // |
+ | - // | ||
+ | - // | ||
+ | |||
+ | |||
+ | More info see [[https:// | ||
+ | |||
+ | ===== Squeue tips ===== | ||
+ | |||
+ | === How to see path to job folder === | ||
+ | add alias to your ~/ | ||
+ | < | ||
+ | alias qp=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | Output | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | cd / | ||
+ | </ | ||
+ | |||
+ | === How to see the details of all the nodes you can use === | ||
< | < | ||
scontrol show node | scontrol show node | ||
</ | </ | ||
- | To see jobs' info including number of nodes and cores you can use the format mark %C, for instance: | + | Output |
+ | |||
+ | < | ||
+ | NodeName=node-amg01 Arch=x86_64 CoresPerSocket=8 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | === How to see jobs' info including number of nodes and cores === | ||
+ | |||
+ | You can use the format mark %C, for instance: | ||
< | < | ||
squeue -o" | squeue -o" | ||
</ | </ | ||
+ | |||
+ | Output | ||
+ | |||
< | < | ||
JOBID PARTITION | JOBID PARTITION |
linux/slurm.1676918472.txt.gz · Last modified: 2023/02/20 21:41 by a.boev