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/06/22 17:50] – [CUDA NVIDIA TESLA Infos] kohofer | tech:slurm [2021/02/25 10:25] – [Compute Nodes] kohofer | ||
---|---|---|---|
Line 267: | Line 267: | ||
===== Compute Nodes ===== | ===== Compute Nodes ===== | ||
- | |||
A compute node is a machine which will receive jobs to execute, sent from the Controller, it runs the slurmd service. | A compute node is a machine which will receive jobs to execute, sent from the Controller, it runs the slurmd service. | ||
Line 342: | Line 341: | ||
| | ||
+ | ===== Modify user accounts ===== | ||
+ | |||
+ | Add user | ||
+ | |||
+ | sacctmgr add user < | ||
+ | |||
+ | Modify user, give 12000 minutes/200 hours for usage | ||
+ | |||
+ | sacctmgr modify user misegata set GrpTRESMin=cpu=12000, | ||
+ | |||
+ | Restart the services: | ||
+ | |||
+ | systemctl restart slurmctld.service | ||
+ | systemctl restart slurmdbd.service | ||
+ | |||
+ | Check status: | ||
+ | |||
+ | systemctl status slurmctld.service | ||
+ | systemctl status slurmdbd.service | ||
+ | |||
+ | |||
+ | |||
===== Links ===== | ===== Links ===== | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
Line 391: | Line 414: | ||
==== Create modules file ==== | ==== Create modules file ==== | ||
+ | **PYTHON** | ||
cd / | cd / | ||
Line 407: | Line 431: | ||
</ | </ | ||
- | | ||
+ | **CUDA** | ||
+ | vi / | ||
+ | |||
+ | < | ||
+ | #%Module1.0 | ||
+ | proc ModulesHelp { } { | ||
+ | global dotversion | ||
+ | |||
+ | puts stderr " | ||
+ | } | ||
+ | |||
+ | module-whatis " | ||
+ | |||
+ | set | ||
+ | |||
+ | setenv | ||
+ | prepend-path | ||
+ | prepend-path | ||
+ | </ | ||
===== GCC ===== | ===== GCC ===== |
/data/www/wiki.inf.unibz.it/data/pages/tech/slurm.txt · Last modified: 2022/11/24 16:17 by kohofer