|
|
Line 1: |
Line 1: |
| [[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Ubuntu HPC slurm daemon on compute node]]
| |
|
| |
|
| = Slurmd Setup on compute Node =
| |
|
| |
| == Install the Required Packages ==
| |
|
| |
| Install `slurmd` and `slurm-client` packages on the compute nodes:
| |
|
| |
| <pre>
| |
| sudo apt install slurmd slurm-client
| |
| </pre>
| |
|
| |
| '''Note:'''
| |
| * slurm-client must be installed on '''all nodes''', including compute nodes, the login node (LXC), and the infra node.
| |
| * slurmd should be installed '''only on the compute nodes'''.
| |
|
| |
| == Copy the Munge Key ==
| |
|
| |
| Copy the Munge key from the shared location to the proper directory `/etc/munge/munge.key`:
| |
|
| |
| <pre>
| |
| sudo cp /export/tmp/munge/munge.key /etc/munge/munge.key
| |
| </pre>
| |
|
| |
| == Copy the Slurm Configuration File ==
| |
|
| |
| Copy the Slurm configuration file from the shared path to `/etc/slurm/`:
| |
|
| |
| <pre>
| |
| sudo cp /export/tmp/slurm/slurm.conf /etc/slurm/slurm.conf
| |
| </pre>
| |
|
| |
| '''Note:'''
| |
|
| |
| The Slurm configuration file must be placed on the '''compute nodes''', '''login node''', and the '''infra node'''.
| |
|
| |
| == Restart Munge and Slurm Daemons ==
| |
|
| |
| Restart the `munge` and `slurmd` services to apply the changes:
| |
|
| |
| <pre>
| |
| sudo systemctl restart munge
| |
| sudo systemctl restart slurmd
| |
| </pre>
| |
|
| |
| [[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Ubuntu HPC slurm daemon on compute node]]
| |