Install slurmd on client nodes

From Notes_Wiki
Revision as of 10:46, 6 June 2025 by Akshay (talk | contribs) (Created page with "Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Install slurmd on client nodes = 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 insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Install slurmd on client nodes

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 > Install slurmd on client nodes