Slurm

From Leo's Notes
Revision as of 17:49, 30 October 2019 by Leo (talk | contribs)
This page was last edited on 30 October 2019, at 17:49.

Installation

See:

Install prerequsites, then build the RPM.

# yum install rpm-build gcc openssl openssl-devel libssh2-devel pam-devel numactl numactl-devel hwloc hwloc-devel lua lua-devel readline-devel rrdtool-devel ncurses-devel gtk2-devel libssh2-devel libibmad libibumad perl-Switch perl-ExtUtils-MakeMaker
# yum install munge-devel munge-libs mariadb-server mariadb-devel man2html
# export VER=19.05.3-2
# rpmbuild -ta slurm-$VER.tar.bz2

The latest Slurm package can be downloaded from https://www.schedmd.com/downloads.php


Configuration

The main slurm configuration file docs: https://slurm.schedmd.com/slurm.conf.html


Custom resources such as GPUs are defind in gres.conf. See: https://slurm.schedmd.com/gres.conf.html


Usage

# squeue