tech: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 | ||
tech:slurm [2020/02/07 12:55] – [Controller] kohofer | tech:slurm [2020/02/10 17:07] – kohofer | ||
---|---|---|---|
Line 17: | Line 17: | ||
==== Controller ==== | ==== Controller ==== | ||
- | Controller name: slurm-ctrl | + | ===== Controller name: slurm-ctrl |
Install slurm-wlm and tools | Install slurm-wlm and tools | ||
Line 113: | Line 113: | ||
NodeName=linux1 NodeAddr=10.7.20.98 CPUs=1 State=UNKNOWN | NodeName=linux1 NodeAddr=10.7.20.98 CPUs=1 State=UNKNOWN | ||
</ | </ | ||
+ | |||
+ | Copy slurm.conf to compute nodes! | ||
root@slurm-ctrl# | root@slurm-ctrl# | ||
+ | |||
+ | vi / | ||
+ | | ||
+ | < | ||
+ | [Unit] | ||
+ | Description=Slurm controller daemon | ||
+ | After=network.target munge.service | ||
+ | ConditionPathExists=/ | ||
+ | Documentation=man: | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | EnvironmentFile=-/ | ||
+ | ExecStart=/ | ||
+ | ExecReload=/ | ||
+ | PIDFile=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | |||
+ | </ | ||
+ | |||
+ | vi / | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=Slurm node daemon | ||
+ | After=network.target munge.service | ||
+ | ConditionPathExists=/ | ||
+ | Documentation=man: | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | EnvironmentFile=-/ | ||
+ | ExecStart=/ | ||
+ | ExecReload=/ | ||
+ | PIDFile=/ | ||
+ | KillMode=process | ||
+ | LimitNOFILE=51200 | ||
+ | LimitMEMLOCK=infinity | ||
+ | LimitSTACK=infinity | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | | ||
root@slurm-ctrl# | root@slurm-ctrl# | ||
root@slurm-ctrl# | root@slurm-ctrl# | ||
Line 191: | Line 240: | ||
PARTITION AVAIL TIMELIMIT | PARTITION AVAIL TIMELIMIT | ||
debug* | debug* | ||
+ | |||
+ | If computer node is down | ||
+ | |||
+ | < | ||
+ | sinfo -a | ||
+ | PARTITION AVAIL TIMELIMIT | ||
+ | debug* | ||
+ | </ | ||
+ | |||
+ | scontrol update nodename=gpu02 state=idle | ||
+ | scontrol update nodename=gpu03 state=idle | ||
+ | |||
+ | < | ||
+ | sinfo -a | ||
+ | PARTITION AVAIL TIMELIMIT | ||
+ | debug* | ||
+ | </ | ||
+ | |||
+ | |||
==== Compute Nodes ==== | ==== Compute Nodes ==== |
/data/www/wiki.inf.unibz.it/data/pages/tech/slurm.txt · Last modified: 2022/11/24 16:17 by kohofer