Difference between revisions of "Install slurmd on client nodes"

From Notes_Wiki
(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...")
 
Line 1: Line 1:
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Install slurmd on client nodes]]
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Ubuntu HPC slurm daemon on compute node]]


= Slurmd Setup on compute Node =
= Slurmd Setup on compute Node =
Line 44: Line 44:
</pre>
</pre>


[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Install slurmd on client nodes]]
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Ubuntu HPC slurm daemon on compute node]]

Revision as of 12:07, 6 June 2025

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