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 [2019/09/06 14:59] – [Controller] kohofer | tech:slurm [2019/09/06 15:33] – [Controller] kohofer | ||
---|---|---|---|
Line 155: | Line 155: | ||
root@controller# | root@controller# | ||
- | === Configure munge === | + | === Authentication |
+ | |||
+ | Copy / | ||
+ | |||
+ | scp / | ||
+ | |||
+ | Run a job from slurm-ctrl | ||
+ | |||
+ | ssh csadmin@slurm-ctrl | ||
+ | srun -N 1 hostname | ||
+ | linux1 | ||
- | ssh csadmin@linux1; | ||
- | scp slurm-ctrl:/ | ||
=== Test munge === | === Test munge === | ||
Line 179: | Line 188: | ||
{{: | {{: | ||
- | === Authentication | + | ==== Installation |
+ | |||
+ | ssh -l csadmin 10.7.20.102 | ||
+ | sudo apt install slurm-wlm | ||
+ | |||
+ | Generate ssh keys | ||
+ | ssh-keygen | ||
+ | |||
+ | Copy ssh-keys to slurm-ctrl (using IP, because no DNS in place) | ||
+ | |||
+ | ssh-copy-id -i ~/ | ||
+ | |||
+ | Become root to do important things: | ||
+ | |||
+ | sudo -i | ||
+ | vi / | ||
+ | |||
+ | Add those lines below to the /etc/hosts file | ||
+ | |||
+ | < | ||
+ | 10.7.20.97 | ||
+ | 10.7.20.98 | ||
+ | </ | ||
- | ssh root@slurm-ctrl | ||
- | root@controller# | ||
- | root@compute-1# | ||
- | Run a job from slurm-ctrl | ||
- | ssh csadmin | ||
- | srun -N 1 hostname | ||
- | linux1 | ||
+ | ===== Links ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
- | https://slurm.schedmd.com/overview.html | + | [[https://doku.lrz.de/display/ |
/data/www/wiki.inf.unibz.it/data/pages/tech/slurm.txt · Last modified: 2022/11/24 16:17 by kohofer