Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Slurm

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to install the Slurm server:

    yum install -y slurm-ohpc slurm-slurmctld-ohpc slurm-slurmdbd-ohpc

  3. Start the Slurm service.
    1. Open the /etc/slrum.conf file.

      vi /etc/slrum.conf

    2. Press i to enter the insert mode and add the following content:
      systemctl start slurmctld
      systemctl enable slurmctld
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Install the Slurm client.

    yum install -y slurm-slurmd-ohpc

  5. Start the Slurm service.
    1. Open the /etc/slrum.conf file.

      vi /etc/slurm.conf

    2. Press i to enter the insert mode and add the following content:
      systemctl enable slurmd
      systemctl start slurmd
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Configure Slurm. For details, see "Installing Slurm" in the Slurm 18.08.7 Installation Guide.