Slurm: Difference between revisions

From Leo's Notes
This page was last edited on 30 October 2019, at 17:49.
Created page with " == Installation == See: * https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#installing-rpms Install prerequsites, then build the RPM. {{highlight|lang=terminal|code= #..."
 
mNo edit summary
Line 10: Line 10:
# export VER=19.05.3-2
# export VER=19.05.3-2
# rpmbuild -ta slurm-$VER.tar.bz2
# 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 {{code|gres.conf}}.
See: https://slurm.schedmd.com/gres.conf.html
== Usage ==
{{highlight|lang=terminal|code=
# squeue
}}
}}

Revision as of 17:49, 30 October 2019

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