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:30] – kohofer | tech:slurm [2019/09/06 14:45] – kohofer | ||
---|---|---|---|
Line 19: | Line 19: | ||
Controller name: slurm-ctrl | Controller name: slurm-ctrl | ||
- | | + | ssh csadmin@slurm-ctrl |
- | | + | sudo apt install slurm-wlm slurm-wlm-doc mailutils sview mariadb-client mariadb-server libmariadb-dev python-dev python-mysqldb |
=== Install Maria DB Server === | === Install Maria DB Server === | ||
- | | + | apt-get install mariadb-server |
- | | + | systemctl start mysql |
- | | + | mysql -u root |
create database slurm_acct_db; | create database slurm_acct_db; | ||
create user ' | create user ' | ||
Line 41: | Line 41: | ||
=== Configure munge === | === Configure munge === | ||
- | | + | ssh csadmin@linux1 |
scp slurm-ctrl:/ | scp slurm-ctrl:/ | ||
Line 166: | Line 166: | ||
=== Test munge === | === Test munge === | ||
- | | + | munge -n | unmunge | grep STATUS |
STATUS: | STATUS: | ||
- | | + | munge -n | ssh slurm-ctrl unmunge | grep STATUS |
STATUS: | STATUS: | ||
=== Test Slurm === | === Test Slurm === | ||
- | | + | sinfo |
PARTITION AVAIL TIMELIMIT | PARTITION AVAIL TIMELIMIT | ||
debug* | debug* | ||
Line 181: | Line 181: | ||
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. | ||
- | Zecihnung | + | {{: |
=== Authentication === | === Authentication === | ||
- | | + | ssh root@slurm-ctrl |
root@controller# | root@controller# | ||
Line 192: | Line 192: | ||
Run a job from slurm-ctrl | Run a job from slurm-ctrl | ||
- | | + | ssh csadmin |
- | | + | srun -N 1 hostname |
linux1 | linux1 | ||
/data/www/wiki.inf.unibz.it/data/pages/tech/slurm.txt · Last modified: 2022/11/24 16:17 by kohofer