Closed jkrue closed 2 years ago
Building deb packages in an Ubuntu 18.04/20.04 or Debian 10/11 container works out of the box.
$ apt update
$ apt install -y devscripts
$ apt install -y libhttp-parser-dev libyaml-dev libjson-c-dev libjwt-dev
$ apt install -y libmunge-dev libncurses5-dev po-debconf libgtk2.0-dev default-libmysqlclient-dev libpam0g-dev libperl-dev chrpath liblua5.1-0-dev libhwloc-dev dh-exec librrd-dev libipmimonitoring-dev hdf5-helpers libfreeipmi-dev libhdf5-dev man2html libcurl4-openssl-dev libpmix-dev liblz4-dev
$ git clone https://salsa.debian.org/hpc-team/slurm-wlm.git
$ cd slurm-wlm
$ nice -19 debuild -us -uc -b -j$(nproc)
The version supported by https://salsa.debian.org/hpc-team/slurm-wlm.git is 20.11.8, which is not the latest version but newer than anything supprted by default (see table above). The de.NBI cloud site Bielefeld host de.NBI (aka BiBiGrid) related self-build debian packages in an apt repository (https://apt.bi.denbi.de).
One reason to have an up-to-date version of SLURM is to make the REST API available for projects. The slurm task should be enhanced to configure :
SLURM is part of the chosen operating system, but the installed version of SLURM depends on the installed os version.
It would be nice to have a) the same SLURM version on all supported OS versions b) a version that supports SLURM REST API (need at least version 20.02)
Since there are no possible new packages available (as far as I know) there are two possibilities.