Ubuntu HPC slurm daemon on compute node

From Notes_Wiki

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:

sudo apt install slurmd slurm-client

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`:

sudo cp /export/tmp/munge/munge.key /etc/munge/munge.key

Copy the Slurm Configuration File

Copy the Slurm configuration file from the shared path to `/etc/slurm/`:

sudo cp /export/tmp/slurm/slurm.conf /etc/slurm/slurm.conf

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:

sudo systemctl restart munge
sudo systemctl restart slurmd

Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Ubuntu HPC slurm daemon on compute node