Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 

Repository files navigation

Slurm installation script

A script that downloads, extracts, compiles and installs Slurm for you - including accounting in case of interest.

Supported OS

  • Ubuntu: 18.04, 20.04, 22.04, 24.04
  • RH/Centos: 7, 8 and 9
  • Rocky Linux: 7, 8 and 9
  • Alma Linux: 7, 8 and 9
  • Amazon Linux: 2023
  • SLES / OpenSUSE: 15

Supported architectures

  • x86_64
  • arm64

Features

  • Can be installed with and without accounting support
  • Can use an already installed MySQL/MariaDB server
  • Can install MariaDB
  • Change the SLURM version via environment variable
  • Support for cgroups/v2 to Ubuntu 22.04+ and Red Hat 9 based distributions

How to customize the SLURM version

Before execute the script, please export the variable SLURM_VERSION with the desired version. For example:

export SLURM_VERSION=24.05.2

How to install with interaction

bash slurm_install.sh

or without cloning the git:

sudo bash -c "$(wget --no-check-certificate -qO- https://raw.githubusercontent.com/NISP-GmbH/SLURM/main/slurm_install.sh)"

How to install without interaction

bash slurm_install.sh --without-interaction=true --slurm-accounting-support=true --mysql-password=123456789

Notes:

  • --mysql-password= and --slurm-accounting-support will not work if there is no --without-interaction parameter set to true
  • If you do not have mysql installed, the script will install it for you; In that case, you can leave the mysql parameter empty, like this: --mysql-password=

Example of slurm installer without mysql server previously installed:

bash slurm_install.sh --without-interaction=true --slurm-accounting-support=true --mysql-password=

About

SLURM Installer

Resources

Stars

44 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages