SUSE Linux Enterprise for High-Performance Computing 15 SP1
Release Notes #
- 1 About the Release Notes
- 2 SUSE Linux Enterprise for High-Performance Computing
- 3 Technology Previews
- 4 Installation and Upgrade
- 5 Functionality
- 5.1 cpuid — x86 CPU Identification Tool
- 5.2 ConMan — The Console Manager
- 5.3 Ganglia — System Monitoring
- 5.4 Genders — Static Cluster Configuration Database
- 5.5 GNU Compiler Collection for HPC
- 5.6 hwloc — Portable Abstraction of Hierarchical Architectures for High-Performance Computing
- 5.7 Lmod — Lua-based Environment Modules
- 5.8 ohpc — OpenHPC Compatibility Macros
- 5.9 pdsh — Parallel Remote Shell Program
- 5.10 PowerMan — Centralized Power Control for Clusters
- 5.11 rasdaemon — Utility to Log RAS Error Tracings
- 5.12 Slurm — Utility for HPC Workload Management
- 5.13 Enabling the
pam_slurm_adoptModule - 5.14 memkind — Heap Manager for Heterogeneous Memory Platforms and Mixed Memory Policies
- 5.15 munge Authentication
- 5.16 mrsh/mrlogin — Remote Login Using munge Authentication
- 6 HPC Libraries
- 6.1 FFTW HPC Library — Discrete Fourier Transforms
- 6.2 HDF5 HPC Library — Model, Library, File Format for Storing and Managing Data
- 6.3 NetCDF HPC Library — Implementation of Self-Describing Data Formats
- 6.4 NumPy Python Library
- 6.5 OpenBLAS Library — Optimized BLAS Library
- 6.6 PAPI HPC Library — Consistent Interface for Hardware Performance Counters
- 6.7 PETSc HPC Library — Solver for Partial Differential Equations
- 6.8 ScaLAPACK HPC Library — LAPACK Routines
- 7 Updated Packages
- 8 Obtaining Source Code
- 9 Legal Notices
1 About the Release Notes #
The most recent version of the Release Notes is available online at https://www.suse.com/releasenotes.
Entries can be listed multiple times if they are important and belong to multiple sections.
Release notes only list changes that happened between two subsequent releases. Always review all release notes documents that apply in your upgrade scenario.
2 SUSE Linux Enterprise for High-Performance Computing #
SUSE Linux Enterprise for High-Performance Computing is a highly scalable, high performance open-source operating system designed to utilize the power of parallel computing for modeling, simulation and advanced analytics workloads.
SUSE Linux Enterprise for High-Performance Computing 15 SP1 provides tools and libraries related to High Performance Computing. This includes:
Workload manager
Remote and parallel shells
Performance monitoring and measuring tools
Serial console monitoring tool
Cluster power management tool
A tool for discovering the machine hardware topology
System monitoring
A tool for monitoring memory errors
A tool for determining the CPU model and its capabilities (x86-64 only)
User-extensible heap manager capable of distinguishing between different kinds of memory (x86-64 only)
Serial and parallel computational libraries providing the common standards BLAS, LAPACK, ...
Various MPI implementations
Serial and parallel libraries for the HDF5 file format
2.1 Hardware Platform Support #
SUSE Linux Enterprise for High-Performance Computing 15 SP1 is available for the Intel 64/AMD64 (x86-64) and AArch64 platforms.
2.2 Important Sections of This Document #
If you are upgrading from a previous SUSE Linux Enterprise for High-Performance Computing release, you should review at least the following sections:
2.3 Support and Life Cycle #
SUSE Linux Enterprise for High-Performance Computing is backed by award-winning support from SUSE, an established technology leader with a proven history of delivering enterprise-quality support services.
SUSE Linux Enterprise for High-Performance Computing 15 has a 13-year life cycle, with 10 years of General Support and 3 years of Extended Support. The current version (SP1) will be fully maintained and supported until 6 months after the release of SUSE Linux Enterprise for High-Performance Computing 15 SP2.
Any release package is fully maintained and supported until the availability of the next release.
Extended Service Pack Overlay Support (ESPOS) and Long Term Service Pack Support (LTSS) are also available for this product. If you need additional time to design, validate and test your upgrade plans, Long Term Service Pack Support (LTSS) can extend the support you get by an additional 12 to 36 months in 12-month increments, providing a total of 3 to 5 years of support on any given Service Pack.
For more information, see:
The support policy at https://www.suse.com/support/policy.html
Long Term Service Pack Support page at https://www.suse.com/support/programs/long-term-service-pack-support.html
2.4 Support Statement for SUSE Linux Enterprise for High-Performance Computing #
To receive support, you need an appropriate subscription with SUSE. For more information, see https://www.suse.com/support/programs/subscriptions/.
The following definitions apply:
- L1
Problem determination, which means technical support designed to provide compatibility information, usage support, ongoing maintenance, information gathering and basic troubleshooting using available documentation.
- L2
Problem isolation, which means technical support designed to analyze data, reproduce customer problems, isolate problem area and provide a resolution for problems not resolved by Level 1 or prepare for Level 3.
- L3
Problem resolution, which means technical support designed to resolve problems by engaging engineering to resolve product defects which have been identified by Level 2 Support.
For contracted customers and partners, SUSE Linux Enterprise for High-Performance Computing 15 SP1 is delivered with L3 support for all packages, except for the following:
Technology Previews, see Section 3, “Technology Previews”
Sound, graphics, fonts and artwork
Packages that require an additional customer contract
SUSE will only support the usage of original packages. That is, packages that are unchanged and not recompiled.
2.5 Documentation and Other Information #
2.5.1 On the Product Medium #
For general product information, see the file
READMEand the fileREADME.BETAin the top level of the product medium.For a chronological log of all changes made to updated packages, see the file
ChangeLogin the top level of the product medium.Detailed change log information about a particular package is available using RPM:
rpm --changelog -qp FILE_NAME.rpm
(Replace FILE_NAME.rpm with the name of the RPM.)
For more information, see the directory
docuof the product medium of SUSE Linux Enterprise for High-Performance Computing 15 SP1.
2.5.2 Externally Provided Documentation #
Find a collection of White Papers in the SUSE Linux Enterprise for High-Performance Computing Resource Library at https://www.suse.com/products/server/hpc#resources.
3 Technology Previews #
Technology previews are packages, stacks, or features delivered by SUSE which are not supported. They may be functionally incomplete, unstable or in other ways not suitable for production use. They are included for your convenience and give you a chance to test new technologies within an enterprise environment.
Whether a technology preview becomes a fully supported technology later depends on customer and market feedback. Technology previews can be dropped at any time and SUSE does not commit to providing a supported version of such technologies in the future.
Give your SUSE representative feedback about technology previews, including your experience and use case.
4 Installation and Upgrade #
SUSE Linux Enterprise for High-Performance Computing comes with a number of preconfigured system roles for HPC. These roles provide a set of preselected packages typical for the specific role, as well as an installation workflow that will configure the system to make the best use of system resource based on a typical role use case.
4.1 System Roles for SUSE Linux Enterprise for High-Performance Computing 15 SP1 #
With SUSE Linux Enterprise for High-Performance Computing 15 SP1, it is possible to choose specific roles for the system based on modules selected during the installation process. When the HPC Module is enabled, these three roles are available:
- HPC Management Server (Head Node)
This role includes the following features:
Uses XFS as the default root file system
Includes HPC-enabled libraries
Disables firewall and Kdump services
Installs controller for the Slurm Workload Manager
Mounts a large scratch partition to
/var/tmp
- HPC Compute Node
This role includes the following features:
Uses XFS as the default root file system
Includes HPC-enabled libraries
Disables firewall and Kdump services
Based from minimal setup configuration
Installs client for the Slurm Workload Manager
Does not create a separate home partition
Mounts a large scratch partition to
/var/tmp
- HPC Development Node
This role includes the following features:
Includes HPC-enabled libraries
Adds compilers and development toolchain
The scratch partition /var/tmp/ will only be created if
there is sufficient space available on the installation medium (minimum
32 GB).
The Environment Module Lmod will be installed for all
roles. It is required at build time and run time of the system. For more
information, see Section 5.7, “Lmod — Lua-based Environment Modules”.
All libraries specifically build for HPC will be installed under
/usr/lib/hpc. They are not part of the standard search
path, thus the Lmod environment module system is
required.
Munge authentication is installed for all roles. This
requires to copy the same generated munge keys to all nodes of a cluster.
For more information, see Section 5.16, “mrsh/mrlogin — Remote Login Using munge Authentication” and
Section 5.15, “munge Authentication”.
From the Ganglia monitoring system, the data collector ganglia-gmod is installed for every role, while the data aggregator ganglia-gmetad needs to be installed manually on the system which is expected to collect the data. For more information, see Section 5.3, “Ganglia — System Monitoring”.
The system roles are only available for new installations of SUSE Linux Enterprise for High-Performance Computing.
4.2 Installation #
This section includes information related to the initial installation of the SUSE Linux Enterprise for High-Performance Computing 15 SP1.
4.3 Upgrade-Related Notes #
This section includes upgrade-related information for the SUSE Linux Enterprise for High-Performance Computing 15 SP1.
You can upgrade to SUSE Linux Enterprise for High-Performance Computing 15 SP1 from SLES 12 SP3 or SUSE Linux Enterprise for High-Performance Computing 12 SP3. When upgrading from SLES 12 SP3, the upgrade will only be performed if the SUSE Linux Enterprise for High-Performance Computing module has been registered prior to upgrading. Otherwise, the system will instead be upgraded to SLES 15.
To upgrade from SLES 12 to SLES 15, make sure to unregister the SUSE Linux Enterprise for High-Performance Computing module prior to upgrading. To do so, open a root shell and execute:
SUSEConnect -d -p sle-module-hpc/12/ARCH
Replace ARCH with the architecture used
(x86_64, aarch64).
When migrating to SUSE Linux Enterprise for High-Performance Computing 15 SP1, all modules not supported by the migration target need to be deregistered. This can be done by executing:
SUSEConnect -d -p sle-module-MODULE_NAME/12/ARCH
Replace MODULE_NAME by the name of the module
and ARCH with the architecture used
(x86_64, aarch64).
SUSE Linux Enterprise 15 uses Python version 3 by default. Starting with
SLE 15 SP1, the Python 2 runtime and modules have been moved to the
new Python 2 module. As SUSE Linux Enterprise for High-Performance Computing 15 SP1
uses Python 2, you need to enable the module when upgrading from earlier
versions.
5 Functionality #
This section comprises information about packages and their functionality, as well as additions, updates, removals and changes to the package layout of software.
5.1 cpuid — x86 CPU Identification Tool #
cpuid executes the x86 CPUID instruction and decodes and
prints the results to stdout. Its knowledge of Intel, AMD and Cyrix CPUs is
fairly complete. It also supports Intel Knights Mill CPUs (x86-64).
To install cpuid, run: zypper in
cpuid.
For information about runtime options for cpuid, see the
man page cpuid(1).
Note that this tool is only available for x86-64.
5.2 ConMan — The Console Manager #
ConMan is a serial console management program designed to support a large number of console devices and simultaneous users. It supports:
local serial devices
remote terminal servers (via the telnet protocol)
IPMI Serial-Over-LAN (via FreeIPMI)
Unix domain sockets
external processes (for example, using 'expect' scripts for telnet, ssh, or ipmi-sol connections)
ConMan can be used for monitoring, logging and optionally timestamping console device output.
To install ConMan, run zypper in conman.
Important: conmand Sends Unencrypted Data
The daemon conmand sends
unencrypted data over the network and its connections are not
authenticated. Therefore, it should be used locally only: Listening to the
port localhost. However, the IPMI console does offer
encryption. This makes conman a good tool for
monitoring a large number of such consoles.
Usage:
ConMan comes with a number of expect-scripts: check
/usr/lib/conman/exec.Input to
conmanis not echoed in interactive mode. This can be changed by entering the escape sequence&E.When pressing Enter in interactive mode, no line feed is generated. To generate a line feed, press Ctrl–L.
For more information about options, see the man page of ConMan.
5.3 Ganglia — System Monitoring #
Ganglia is a scalable distributed monitoring system for high-performance computing systems, such as clusters and grids. It is based on a hierarchical design targeted at federations of clusters.
Using Ganglia#
To use Ganglia, make sure to install ganglia-gmetad on
the management serve. Then start the Ganglia meta-daemon: rcgmead
start. To make sure the service is started after a reboot, run:
systemctl enable gmetad. On each cluster node which you
want to monitor, install ganglia-gmond, start the
service rcgmond start and make sure it is enabled to be
started automatically after a reboot: systemctl enable
gmond. To test whether the
gmond daemon has connected to the
meta-daemon, run gstat -a and check that each node to be
monitored is present in the output.
Ganglia on Btrfs#
When using the Btrfs file system, the monitoring data will be lost after a
rollback and the service gmetad
will not start again. To fix this issue, either install the package
ganglia-gmetad-skip-bcheck or create the file
/etc/ganglia/no_btrfs_check.
Using the Ganglia Web Interface#
To use the Ganglia Web interface, it is required to add the Web
and Scripting Module first. Which modules are activated and
which are available can be checked with SUSEConnect -l.
To activate the Web and Scripting Module, run:
SUSEConnect -p sle-module-web-scripting/15/x86_64.
Install ganglia-web on the management server. Depending
on which PHP version is used (default is PHP 7), enable it in Apache2:
a2enmod php7.
Then start Apache2 on this machine: rcapache2 start and
make sure it is started automatically after a reboot: systemctl
enable apache2. The Ganglia Web interface should be accessible
from
http://MANAGEMENT_SERVER/ganglia-web.
5.4 Genders — Static Cluster Configuration Database #
Support for Genders has been added to the HPC module.
Genders is a static cluster configuration database used for configuration management. It allows grouping and addressing sets of hosts by attributes and is used by a variety of tools. The Genders database is a text file which is usually replicated on each node in a cluster.
Perl, Python, C, and C++ bindings are supplied with Genders, the respective packages provide man pages or other documentation describing the APIs.
To create the Genders database, follow the instructions and examples in
/etc/genders and check
/usr/share/doc/packages/genders-base/TUTORIAL. Testing
a configuration can be done with nodeattr (for more
information, see man 1 nodeattr).
List of packages:
genders
genders-base
genders-devel
python-genders
genders-perl-compat
libgenders0
libgendersplusplus2
5.5 GNU Compiler Collection for HPC #
gnu-compilers-hpc installs the base version of the GNU compiler suite and provides environment files for Lmod to select this compiler suite and provides environment module files for them. This version of the compiler suite is required to enable linking against HPC libraries enabled for environment modules.
This package requires lua-lmod to supply environment module support.
To install gnu-compilers-hpc, run:
zypper in gnu-compilers-hpc
To set up the environment appropriately and select the GNU toolchain, run:
module load gnu
If you have more than one version of this compiler suite installed, add the version number of the compiler suite. For more information, see Section 5.7, “Lmod — Lua-based Environment Modules”.
5.6 hwloc — Portable Abstraction of Hierarchical Architectures for High-Performance Computing #
hwloc provides command-line tools and a C API to obtain
the hierarchical map of key computing elements, such as: NUMA memory nodes,
shared caches, processor packages, processor cores, processing units
(logical processors or "threads") and even I/O devices.
hwloc also gathers various attributes such as cache and
memory information, and is portable across a variety of different operating
systems and platforms. Additionally it may assemble the topologies of
multiple machines into a single one, to let applications consult the
topology of an entire fabric or cluster at once.
In graphical mode (X11), hwloc can display the topology
in a human-readable format. Alternatively, it can export to one of several
formats, including plain text, PDF, PNG, and FIG. For more information, see
the man pages provided by hwloc.
It also features full support for import and export of XML-formatted
topology files via the libxml2 library.
The package hwloc-devel offers a library that can be
directly included into external programs. This requires that the
libxml2 development library (package
libxml2-devel) is available when compiling
hwloc.
5.7 Lmod — Lua-based Environment Modules #
Lmod is an advanced environment module system which allows the installation
of multiple versions of a program or shared library, and helps configure
the system environment for the use of a specific version. It supports
hierarchical library dependencies and makes sure that the correct version
of dependent libraries are selected. Environment Modules-enabled library
packages supplied with the HPC module support parallel installation of
different versions and flavors of the same library or binary and are
supplied with appropriate lmod module files.
Installation and Basic Usage#
To install Lmod, run: zypper in lua-lmod.
Before Lmod can be used, an init file needs to be sourced from the initialization file of your interactive shell. The following init files are available:
/usr/share/lmod/<lmod_version>/init/bash /usr/share/lmod/<lmod_version>/init/ksh /usr/share/lmod/<lmod_version>/init/tcsh /usr/share/lmod/<lmod_version>/init/zsh /usr/share/lmod/<lmod_version>/init/sh
Pick the one appropriate for your shell. Then add the following to the init file of your shell:
. /usr/share/lmod/<LMOD_VERSION>/init/<INIT-FILE>
To obtain <lmod_version>, run:
rpm -q lua-lmod | sed "s/.*-\([^-]\+\)-.*/\1/"
The init script adds the command module.
Listing Available Modules#
To list the available all available modules, run: module
spider. To show all modules which can be loaded with the
currently loaded modules, run: module avail. A module
name consists of a name and a version string separated by a
/ character. If more than one version is available for a
certain module name, the default version (marked by *)
or (if this is not set) the one with the highest version number is loaded.
To refer to a specific module version, the full string
NAME/VERSION
may be used.
Listing Loaded Modules#
module list shows all currently loaded modules. Refer to
module help for a short help on the module command and
module help MODULE-NAME for a
help on the particular module. Note that the module
command is available only when you log in after installing
lua-lmod.
Gathering Information About a Module#
To get information about a particular module, run: module
whatis MODULE-NAME To load a module,
run: module load MODULE-NAME.
This will ensure that your environment is modified (that is, the
PATH and LD_LIBRARY_PATH and other
environment variables are prepended) such that binaries and libraries
provided by the respective modules are found. To run a program compiled
against this library, the appropriate module load
commands must be issued beforehand.
Loading Modules#
The module load MODULE
command needs to be run in the shell from which the module is to be used.
Some modules require a compiler toolchain or MPI flavor module to be loaded
before they are available for loading.
Environment Variables#
If the respective development packages are installed, build time
environment variables like LIBRARY_PATH,
CPATH, C_INCLUDE_PATH and
CPLUS_INCLUDE_PATH will be set up to include the
directories containing the appropriate header and library files. However,
some compiler and linker commands may not honor these. In this case, use
the appropriate options together with the environment variables -I
PACKAGE_NAME_INC and -L
PACKAGE_NAME_LIB to add the include
and library paths to the command lines of the compiler and linker.
For More Information#
For more information on Lmod, see https://lmod.readthedocs.org.
5.8 ohpc — OpenHPC Compatibility Macros #
ohpc contains compatibility macros to build OpenHPC
packages on SUSE Linux Enterprise.
To install ohpc, run: zypper in ohpc.
5.9 pdsh — Parallel Remote Shell Program #
pdsh is a parallel remote shell which can be used with
multiple back-ends for remote connections. It can run a command on multiple
machines in parallel.
To install pdsh, run zypper in pdsh.
On SLES 12, the back-ends ssh,
mrsh, and exec are supported. The
ssh back-end is the default. Non-default login methods
can be used by either setting the PDSH_RCMD_TYPE
environment variable or by using the -R command
argument.
When using the ssh back-end, it is important that a
non-interactive (that is, passwordless) login method is used.
The mrsh back-end requires the mrshd
to be running on the client. The mrsh back-end does not
require the use of reserved sockets. Therefore, it does not suffer from
port exhaustion when executing commands on many machines in parallel. For
information about setting up the system to use this back-end, see
Section 5.16, “mrsh/mrlogin — Remote Login Using munge Authentication”.
Remote machines can either be specified on the command line or
pdsh can use a machines file
(/etc/pdsh/machines), dsh (Dancer's shell) style
groups or netgroups. Also, it can target nodes based on the currently
running Slurm jobs.
The different ways to select target hosts are realized by modules. Some of
these modules provide identical options to pdsh. The
module loaded first will win and consume the option. Therefore, we
recommend limiting yourself to a single method and specifying this with the
-M option.
The machines file lists all target hosts one per line.
The appropriate netgroup can be selected with the -g
command line option.
The following host-list plugins for pdsh are supported:
machines, slurm,
netgroup and dshgroup. Each host-list
plugin is provided in a separate package. This avoids conflicts between
command line options for different plugins which happen to be identical and
helps to keep installations small and free of unneeded dependencies.
Package dependencies have been set to prevent installing plugins with
conflicting command options. To install one of the plugins, run:
zypper in pdsh-PLUGIN_NAME
For more information, see the man page pdsh.
5.10 PowerMan — Centralized Power Control for Clusters #
PowerMan allows manipulating remote power control devices (RPC) from a central location. It can control:
local devices connected to a serial port
RPCs listening on a TCP socket
RPCs which are accessed through an external program
The communication to RPCs is controlled by “expect”-like
scripts. For a list of currently supported devices, see the configuration
file /etc/powerman/powerman.conf.
To install PowerMan, run zypper in powerman.
To configure it, include the appropriate device file for your RPC
(/etc/powerman/*.dev) in
/etc/powerman/powerman.conf and add devices and nodes.
The device “type” needs to match the
“specification” name in one of the included device files, the
list of “plugs” used for nodes need to match an entry in the
“plug name” list.
After configuring PowerMan, start its service by:
systemctl start powerman.service
To start PowerMan automatically after every boot, do:
systemctl enable powerman.service
Optionally, PowerMan can connect to a remote PowerMan instance. To enable
this, add the option listen to
/etc/powerman/powerman.conf.
Important: Unencrypted Transfer
Data is transferred unencrypted, therefore this is not recommended unless the network is appropriately secured.
5.11 rasdaemon — Utility to Log RAS Error Tracings #
rasdaemon is a RAS (Reliability,
Availability and Serviceability) logging tool. It records memory errors
using the EDAC tracing events. EDAC drivers in the Linux kernel handle
detection of ECC errors from memory controllers.
rasdaemon can be used on large
memory systems to track, record and localize memory errors and how they
evolve over time to detect hardware degradation. Furthermore, it can be
used to localize a faulty DIMM on the board.
To check whether the EDAC drivers are loaded, execute:
ras-mc-ctl --status
The command should return ras-mc-ctl: drivers are
loaded. If it indicates that the drivers are not loaded, EDAC may
not be supported on your board.
To start rasdaemon, run
systemctl start rasdaemon.service. To start
rasdaemon automatically at boot
time, execute systemctl enable rasdaemon.service. The
daemon will log information to /var/log/messages and
to an internal database. A summary of the stored errors can be obtained
with:
ras-mc-ctl --summary
The errors stored in the database can be viewed with
ras-mc-ctl --errors
Optionally, you can load the DIMM labels silk-screened on the system board
to more easily identify the faulty DIMM. To do so, before starting
rasdaemon, run:
systemctl start ras-mc-ctl start
For this to work, you need to set up a layout description for the board.
There are no descriptions supplied by default. To add a layout description,
create a file with an arbitrary name in the directory
/etc/ras/dimm_labels.d/. The format is:
Vendor: VENDOR-NAME
Model: MODEL-NAME
LABEL: MC.TOP.MID.LOW5.12 Slurm — Utility for HPC Workload Management #
Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for Linux clusters containing up to 65,536 nodes. Components include machine status, partition management, job management, scheduling and accounting modules.
For a minimal setup to run Slurm with munge support on one compute node and multiple control nodes, follow these instructions:
Before installing Slurm, create a user and a group called
slurm.
Important: Make Sure of Consistent UIDs and GIDs for Slurm's Accounts
For security reasons, Slurm does not run as the user
rootbut under its own user. It is important that the userslurmhas the same UID/GID across all nodes of the cluster.If this user/group does not exist, the package slurm creates this user and group when it is installed. However, this does not guarantee that the generated UIDs/GIDs will be identical on all systems.
Therefore, we strongly advise you to create the user/group
slurmbefore installing slurm. If you are using a network directory service such as LDAP for user and group management, you can use it to provide theslurmuser/group as well.Install slurm-munge on the control and compute nodes:
zypper in slurm-mungeConfigure, enable and start "munge" on the control and compute nodes as described in Section 5.16, “mrsh/mrlogin — Remote Login Using munge Authentication”.
On the compute node, edit
/etc/slurm/slurm.conf:Configure the parameter
ControlMachine=CONTROL_MACHINEwith the host name of the control node.To find out the correct host name, run
hostname -son the control node.Additionally add:
NodeName=NODE_LIST Sockets=SOCKETS \ CoresPerSocket=CORES_PER_SOCKET \ ThreadsPerCore=THREADS_PER_CORE \ State=UNKNOWN
and
PartitionName=normal Nodes=NODE_LIST \ Default=YES MaxTime=24:00:00 State=UP
where NODE_LIST is the list of compute nodes (that is, the output of
hostname -srun on each compute node (either comma-separated or as ranges:foo[1-100]). Additionally, SOCKETS denotes the number of sockets, CORES_PER_SOCKET the number of cores per socket, THREADS_PER_CORE the number of threads for CPUs which can execute more than one thread at a time. (Make sure that SOCKETS * CORES_PER_SOCKET * THREADS_PER_CORE does not exceed the number of system cores on the compute node).On the control node, copy
/etc/slurm/slurm.confto all compute nodes:scp /etc/slurm/slurm.conf COMPUTE_NODE:/etc/slurm/
On the control node, start
slurmctld:systemctl start slurmctld.service
Also enable it so that it starts on every boot:
systemctl enable slurmctld.service
On the compute nodes, start and enable
slurmd:systemctl start slurmd.service systemctl enable slurmd.service
The last line causes
slurmdto be started on every boot automatically.
For further documentation, see the Quick Start Administrator Guide and Quick Start User Guide. There is further in-depth documentation on the Slurm documentation page.
5.12.1 An Upgrade of Slurm to version 20.11 is available #
A Slurm version upgrade to version 20.11 is available. This upgrade is available for customers who wish to upgrade to the new version to take advantage of the functionality provided. The version of Slurm that has been shipped with this service pack will remain supported.
To upgrade to this version of Slurm, make sure to follow the procedure in Section 5.12.2, “Upgrading Slurm”.
The following changes have been made in 20.11:
slurmctldis now set to fatal in case of computing node configured withCPUs == #Sockets. CPUs has to be either total number of cores or threads.The FastSchedule option has been removed. The
FastSchedule=2functionality (used for testing and development) is available as the newSlurmdParameters=config_overridesoption.slurmdbdis now set to fatal if theslurmdbd.conffile is not owned bySlurmUseror its mode is not set to0600.
5.12.1.1 Highlights of version 20.11 #
Log messages enabled by the various DebugFlags have been overhauled, and will all print at the
verbose()level, and prepend the flag name that is associated with a given log message.accounting_storage/filetxthas been removed as an option. Consider usingaccounting_storage/slurmdbdas an alternative.Setting of number of Sockets per node was standardized for configuration line with and without
Boards=. Specifically in case ofBoards=1and #CPUs given the default value of Sockets will be set to #CPUs / #Cores / #Threads.Dynamic Future Nodes:
slurmdsstarted with-F[<feature>]will be associated with a node name in Slurm that matches the same hardware configuration.SlurmctldParameters=cloud_reg_addrsa: Cloud nodes automatically getNodeAddrandNodeHostnameset fromslurmdregistration.SlurmctldParameters=power_save[_min]_interval: Configure how often the power save module looks to do work.By default, a step started with srun will be granted exclusive (or non- overlapping) access to the resources assigned to that step. No other parallel step will be allowed to run on the same resources at the same time. This replaces one facet of the
--exclusiveoption's behavior, but does not imply the--exactoption described below. To get the previous default behavior - which allowed parallel steps to share all resources - use the new srun--overlapoption.In conjunction to this non-overlapping step allocation behavior being the new default, there is an additional new option for step management
--exact, which will allow a step access to only those resources requested by the step. This is the second half of the--exclusivebehavior. Otherwise, by default all non-gres resources on each node in the allocation will be used by the step, making it so no other parallel step will have access to those resources unless--overlapis specified for both steps.The option
--threads-per-corenow influences task layout/binding, not just allocation.AutoDetectingres.confcan now be specified for some nodes while not for others via theNodeNameoption.gres.conf: Add newMultipleFilesconfiguration entry to allow a single GRES to manage multiple device files simultaneously.The option
SallocDefaultCommandhas been removed.Support for an "Interactive Step" has been added, designed to be used with
sallocto launch a terminal on an allocated compute node automatically. Enable this by settinguse_interactive_stepas part ofLaunchParameters.IPv6 support has been added. This must be explicitly enabled with
EnableIPv6inCommunicationParameters. IPv4 support can be disabled withDisableIPv4.Allow use of a target directory with
srun --bcast, and change the default file name to include the node name as well.The new option
--mail-type=INVALID_DEPENDhas been added tosalloc,sbatch, andsrun.Differences between hardware (memory size, number of CPUs) discovered on node vs configured in slurm.conf will now throw an error only when the node state is set to drain. Previously it was done on every node registration, those messages were demoted to debug level.
The command
scrontabhas been added. It permitscrontab-compatible job scripts to be defined. These scripts will recur automatically (at most) on the intervals described.Enable the -lnodes=#:gpus=# in #PBS/qsub -l nodes syntax.
Any user with
AdminLevelequal or higher thanOperatorcan see any hidden partition by default, asSlurmUseror root already did.select/linearwill now allocate up to nodesRealMemoryas spedified insurm.confwhen configured withSelectTypeParameters=CR_Memoryand--mem=0specified. Previous behavior was no memory accouted and no memory limits implied to job.slurmrestd, an API to interface withslurmdbd.The option
--ntasks-per-gpuhas been added tosbatchandsrun.The
--gpu-bind=singleoption has been added tosbatchandsrun.Fix:
scontrol takeover [backup]hangs when specifying a backup > 1 have been fixed. All slurmctlds below the "backup" will be shutdown.
5.12.1.2 Version 20.11 Command Changes #
sacct: get the UID from database instead of from the user name and a system call. Add
--use-local-uidoption to sacct to use the previous behavior.sbatch: the
%sformat in-e/-i/-ooptions will expand tobatchrather than4294967294.squeue: added
pendingtimeas a option for--Format.sacct:
AllocGresandReqGreswere removed.Alloc/ReqTresshould be used instead.scontrol: added the "Reserved" license count to
scontrol show licenses.squeue: put sorted start times of
N/Aor0at the end of the list.scontrol: Change
scontrol reboot ASAPto usenext_state=resumelogic.scontrol: added an admin-settable "Comment" field to each Node.
squeue and sinfo:
-Ono longer repeat the last suffix specified.salloc: wait for
PrologSlurmctldto finish before entering the shell.Add time specification:
now-X(that is, subtract X from the present)
5.12.1.3 Version 20.11 API Changes #
slurm_ctl_conf_thas been renamed toslurm_conf_t.slurm_free_kvs_comm_set()has been renamed toslurm_pmi_free_kvs_comm_set(),slurm_get_kvs_comm_set()has been renamed toslurm_pmi_get_kvs_comm_set().slurm_job_step_layout_get()parameters has changed to useslurm_step_id_tsee slurm.h for new implementation. If not running hetsteps just putNO_VALas the value forstep_het_comp.slurm_job_step_stat()parameters has changed to useslurm_step_id_tsee slurm.h for new implementation. If not running hetsteps just putNO_VALas the value forstep_het_comp.slurm_job_step_get_pids()parameters has changed to useslurm_step_id_tsee slurm.h for new implementation. If not running hetsteps just putNO_VALas the value forstep_het_comp.slurm_job_step_get_pids()parameters has changed to useslurm_step_id_tsee slurm.h for new implementation. If you are not running hetsteps, useNO_VALas the value forstep_het_comp.slurmdb_selected_step_thas been renamedslurm_selected_step_t.slurm_sbcast_lookup()arguments have changed. It now takes a populatedslurm_selected_step_tinstead ofjob_id,het_job_offset,step_id.Due to internal restructuring ahead of the 20.11 release, applications calling libslurm must call
slurm_init(NULL)before any API calls. Otherwise the API call is likely to fail due to libslurm's internal configuration not being available.
5.12.2 Upgrading Slurm #
5.12.2.1 Slurm Upgrade Compatibility #
New major versions of Slurm are released in regular intervals. With some restrictions (see below), interoperability is guaranteed between 3 consecutive versions. However, unlike updates to maintenance releases (that is, releases which differ in the last version number), upgrades to newer major versions may require more careful planning.
For existing products under general support, version upgrades of Slurm are
provided regularly. Unlike maintenance updates, these upgrades will not be
installed automatically using zypper patch but require the
administrator to request their installation explicitly. This ensures
that these upgrades are not installed unintentionally and gives the
administrator the opportunity to plan version upgrades beforehand.
On new installations, we recommend installing the latest available version.
Slurm uses a segmented version number: The first two segments denote the major version, the final segment denotes the patch level.
Check the list below for available major versions.
Upgrade packages (that is, packages that were not a part of the
module or service pack initially) have their major version encoded in the
package name (with periods . replaced by underscores
_). For example, for version 18.08, this would be:
slurm_18_08-*.rpm.
To upgrade the package slurm to 18.08, run the command:
zypper install --force-resolution slurm_18_08
To upgrade Slurm subpackages, proceed analogously.
Important
If any additional Slurm packages are installed, make sure to upgrade those as well. These include:
slurm-pam_slurm
slurm-sview
perl-slurm
slurm-lua
slurm-torque
slurm-config-man
slurm-doc
slurm-webdoc
slurm-auth-none
pdsh-slurm
All Slurm packages should be upgraded at the same time to avoid
conflicts between packages of different versions. This can be done by
adding them to the zypper install command line
described above.
In addition to the “three-major version rule” mentioned at the beginning of this section, obey the following rules regarding the order of updates:
The version of
slurmdbdmust be identical to or higher than the version ofslurmctldThe version of
slurmctldmust the identical to or higher than the version ofslurmdThe version of
slurmdmust be identical to or higher than the version of theslurmuser applications.
Or in short:
version(slurmdbd) >=
version(slurmctld) >=
version(slurmd) >= version (Slurm user CLIs).
With each version, configuration options for
slurmctld/slurmd or
slurmdbd may
be deprecated. While deprecated, they will remain valid for this version and
the two subsequent versions but they may be removed later.
Therefore, it is advisable to update the configuration files after the upgrade and replace deprecated configuration options before finally restarting a service.
It should be noted that a new major version of Slurm introduces a new version
of libslurm. Older versions of this library might no longer
work with an upgraded Slurm. For all SLE software depending on
libslurm an upgrade will be provided. Any locally
developed Slurm modules or tools might require modification and/or
recompilation.
5.12.2.2 Upgrade Workflow #
For this workflow it is assumed that
MUNGE authentication is used and that
pdsh, the pdsh Slurm plugin and
mrsh can be used to access all machines of the cluster.
That means, mrshd is running on all nodes in the cluster.
If this is not the case, install pdsh:
# zypper in pdsh-slurm
If mrsh is not used in the cluster, the
SSH back-end for pdsh can be used as
well for this: Replace the option -R mrsh with
-R ssh in the pdsh commands below.
This is less scalable and you may run out of usable ports.
Warning: Upgrade slurmdbd databases before other Slurm components
If slurmdbd is used, always upgrade the
slurmdbd database before starting
the upgrade of any other Slurm component.
The same database can be connected multiple clusters and must be upgraded
before all of them.
Upgrading other Slurm components before the database can lead to data loss.
Procedure 1: Upgrading Slurm #
Upgrade
slurmdbdDatabase DaemonUpon the first start of
slurmdbdafter aslurmdbdupgrade, it will convert its database. If the database is large, the conversion will take several 10s of minutes. During this time, the database is not accessible.We strongly recommend creating a backup of the database in case an error occurs during or after the upgrade process. Without a backup, all accounting data collected in the database might be lost in such an event. A database converted to a newer version cannot be converted back to an older one and older versions of
slurmdbdwill not recognize the newer formats. To back up and upgradeslurmdbd, follow this procedure:Stop the
slurmdbdservice:#rcslurmdbd stopMake sure that
slurmdbdis not running anymore:#rcslurmdbd statusIt should be noted that
slurmctldmight remain running while the database daemon is down. While it is down, requests intended forslurmdbdare queued internally. The DBD Agent Queue size is limited, however, and should therefore be monitored withsdiag.Create a backup of the
slurm_acct_dbdatabase:#mysqldump -p slurm_acct_db > slurm_acct_db.sql
If needed, this can be restored by running:
#mysql -p slurm_acct_db < slurm_acct_db.sqlIn preparation of the conversion, make sure the variable
innodb_buffer_sizeis set to a value >= 128 Mb:On the database server, run:
#echo 'SELECT @@innodb_buffer_pool_size/1024/1024;' | \ mysql --password --batchIf the size is less than 128 Mb, it can be changed on the fly for the current session (on
mariadb):#echo 'set GLOBAL innodb_buffer_pool_size = 134217728;' | \ mysql --password --batchAlternatively, the size can be changed permanently by editing
/etc/my.cnfand setting it to 128 Mb. Then restart the database:#rcmysql restartInstall the upgrade of
slurmdbd:zypper install --force-resolution slurm_version-slurmdbd

Note: Update MariaDB Separately
If you also need to update
mariadb, it is recommended to perform this step separately, before performing Step 1.d.Upgrade MariaDB:
#zypper update mariadbRun the conversion of the database tables to the new version of MariaDB:
mysql_upgrade --user=root --password=root_db_password;
Rebuild database
Because a conversion can take a considerable amount of time, the systemd service can run into a timeout during the conversion. Thus we recommend to perform the migration manually by running
slurmdbdfrom the command line in the foreground:#/usr/sbin/slurmdbd -D -vWhen you see the below message,
slurmdbdcan be shut down:Conversion done: success!
To do so, use signal
SIGTERM(that is, press Ctrl–C).When using a backup
slurmdbd, the conversion needs to be performed on the primary. The backup will not start until the conversion has taken place.Before restarting the service, remove or replace deprecated configuration options. For a list of deprecated options, see Section 5.12.3, “Important Slurm Configuration Changes”.
When this has been completed, restart
slurmdbd. During the database rebuild thatslurmdbdperforms upon the first start, it will not daemonize.
Note: Convert Primary
slurmbdFirstIf a backup database daemon is used, the primary one needs to be converted first. The backup will not start until this has happened.
Only after the conversion has been completed, the backup will start.
Update slurmctld and slurmd
When the Slurm database has been updated, the
slurmctldandslurmdinstances can be updated. We recommend updating the head and compute nodes all in a single pass. If this is not feasible, the compute nodes (slurmd) can be updated on a node-by-node basis. However, this requires that the master nodes (slurmctld) have been updated successfully.Back up the
slurmctld/slurmdconfigurationIt is advisable to create a backup copy of the Slurm configuration before starting the upgrade process. Since the configuration file
/etc/slurm/slurm.confshould be identical across the entire cluster, it is sufficient to do so on the master controller node.Increase Timeouts
Set
SlurmdTimeoutandSlurmctldTimeoutin/etc/slurm/slurm.confto sufficiently high values to avoid timeouts whileslurmctldandslurmdare down. We recommend at least 60 minutes, more on larger clusters.Edit
/etc/slurm/slurm.confon the master controller node and set the values for this variable to at least3600(1 hour).SlurmctldTimeout=3600 SlurmdTimeout=3600
Copy
/etc/slurm/slurm.confto all nodes. If MUNGE authentication is used in the cluster as recommended, use these steps:Obtain the list of partitions in
/etc/slurm/slurm.conf.Execute:
#cp /etc/slurm/slurm.conf /etc/slurm/slurm.conf.update#sudo -u slurm /bin/bash -c 'cat /etc/slurm/slurm.conf.update \ | pdsh -R mrsh -P partitions \ "cat > /etc/slurm/slurm.conf"'#rm /etc/slurm/slurm.conf.update#scontrol reconfigureVerify that the reconfiguration took effect:
#scontrol show config | grep Timeout
Shut down any running
slurmctldinstancesIf applicable, shut down any backup controllers on the backup head nodes:
backup: #systemctl stop slurmctldShut down the master controller:
master: #systemctl stop slurmctld
Back up the
slurmctldstate filesAlso, it should be noted, that
slurmctldmaintains state information that is persistent. Almost every major version involves changes to theslurmctldstate files. This state information will be upgraded as well if the upgrade remains within the supported version range and no data will be lost.However, if a downgrade should become necessary, state information from newer versions will not be recognized by an older version of
slurmctldand thus will be discarded, resulting in a loss of all running and pending jobs. Thus it is useful to back up the old state in case an update needs to be rolled back.Determine the
StateSaveLocationdirectory:#scontrol show config | grep StateSaveLocationCreate a backup of the content of this directory to be able to roll back the update if an issue arises.
Should a downgrade be required, make sure to restore the content of the
StateSaveLocationdirectory from this backup.
Shut down
slurmdon the nodes#pdsh -R ssh -P partitions systemctl stop slurmdUpdate
slurmctldon the master and backup nodes as well asslurmdon the compute nodesOn the master/backup node(s), run:
master: #zypper install \ --force-resolution slurm_versionOn the master node, run:
master: #pdsh -R ssh -P partitions \ zypper install --force-resolution \ slurm_version-node
Replace deprecated options
If deprecated options need to be replaced in the configuration files (see the list in Section 5.12.3, “Important Slurm Configuration Changes”), this can be performed before updating the services. These configuration files can be distributed to all controllers and nodes of the cluster by using the method described in Step 2.b.ii.

Note: Memory Size Seen by
slurmdCan Change on UpdateUnder certain circumstances, the amount of memory seen by
slurmdcan change after an update. If this happens,slurmctldwill put the nodes in adrainedstate. To check whether the amount of memory seem byslurmdwill change after the update, run the following on a single compute node:node1: #slurmd -CCompare the output with the settings in
slurm.conf. If required, correct the setting.Restart
slurmdon all compute nodesOn the master controller, run:
master: #pdsh -R ssh -P partitions \ systemctl start slurmdOn the master, run:
master: #systemctl start slurmctldThen execute the same on the backup controller(s).
Verify whether the system operates properly
Check the status of the controller(s).
On the master and backup controllers, run:
#systemctl status slurmctldVerify that the services are running without errors using:
sinfo -R
You will see whether there are any down, drained, failing, or failed nodes after the restart.
Clean up
Restore the
SlurmdTimeoutandSlurmctldTimeoutvalues in/etc/slurm/slurm.confon all nodes and runscontrol reconfigure(see Step 2.b).
Each service pack of SUSE Linux Enterprise for High-Performance Computing includes a new major version of
libslurm.
The old version will not be uninstalled on upgrade.
User-provided applications will work, as long as the library version used
for building is no more than two major versions behind.
We strongly recommend rebuilding local applications using
libslurm—such as MPI libraries with Slurm support—as early as
possible.
This can require updating user application if new arguments were
introduced to existing functions.
5.12.3 Important Slurm Configuration Changes #
Version 17.11#
slurm.conf:Added
SchedulerParametersconfiguration optiondisable_hetero_stepsto disable job steps that span multiple components of a heterogeneous job.Added
SchedulerParametersconfiguration optionenable_hetero_stepsto enable job steps that span multiple components of a heterogeneous job.Added
PrivateData=eventsconfiguration parameter.Added
SlurmctldSyslogDebugandSlurmdSyslogDebugto control which messages from the slurmctld and slurmd daemons get written to syslog.
slurmdbd.conf: AddedDebugLevelSyslogto control whichslurmdbdmessages get written to syslog.cgroup.conf: AddedMemorySwappinessvalue.cgroup.conf: AddedMemorySwappinessvalue.Plugins: Removed obsolete MPI plugins, checkpoint/poe plugin.
srun: remove--mpi-combineoption.scontrol:topdisabled for regular user. SetSchedulerParameters=enable_user_topto override.scancel: Added--hurryoption to avoid staging out any burst buffer data.squeue: Added--localand--siblingoptions to modify filtering of jobs on federated clusters.
Version 18.08#
slurm.conf:Removed
NoOverMemoryKillfromJobAcctGatherParams, as this is now the default. To change this to the old default, setJobAcctGatherParamsNoOverMemoryKill.ControlMachine,ControlAddr,BackupAddr,BackupControllerThese options have been deprecated and replaced bySlurmctldHost. You can configure multipleSlurmctldHosts. The first one will be the used as master controller, subsequent ones are used as fallbacks in the order specified.ControlAddrandBackupAddrcan be specified enclosed in parentheses after the host name. For details, seeslurm.conf.SelectType: The argumentCR_ALLOCATE_FULL_SOCKETis now the default forCR_SOCKET*. It should be removed.
Deprecated arguments to utilities:
srun,sbatch,salloc:The option
-Phas been deprecated, use-dinsteadThe option
--minicoreshas been deprecated, use--cores-per-socketThe option
--minisocketshas been deprecated, use--sockets-per-nodeThe option
--minthreadshas been deprecated, use--threads-per-core
salloc: The option-Whas been deprecated, use--immediateinsteadsacct: The option-Chas been deprecated, use-Minsteadslurmctld: The option-thas been removed, use-Xinstead.
Version 19.05#
slurm.conf:The parameter
FastSchedulehas been deprecated.The parameter
MemLimitEnforcehas been removed. Functionality has been moved intoJobAcctGatherParam=OverMemoryKill.The option
CryptoTypehas been changed toCredType,crypto/mungeplugin has been renamed tocred/munge.
Deprecated arguments to utilities:
sreport: Default behavior ofSizesByAccountandSizesByAccountAndWckeyhas been changed, a newAcctAsParentoption has been added.gres.conf:CPUsparameter is deprecated, useCoresinstead.srun,sbatch:The
Slurm_NPROCSenvironment variable has been deprecated, useSlurm_NTASKSinstead.
salloc,sbatch,srun:The argument
-Uhas been removed—it was deprecated when-Awas made the single character option before the Slurm 2.1 release—as an alternative to--account
Version 20.02#
slurm.conf:slurmctldwill terminate with a fatal error if compute nodes are configured withCPUs==#Sockets. CPUs has to be either the total number of cores or threads.Option
FastSchedulehas been removed.New parameter
AccountingStorageExternalHost.Option
kill_invalid_dependandmax_depend_depthhave been moved to the newDependencyParametersoption. Use inSchedulerParametersis now deprecated.Removed deprecated
max_job_bf SchedulerParametersand replaced it withbf_max_job_test.MaxDBDMsgsallows to specify how many messages will be stored inslurmctldwhenslurmdbdis down.New
NodeSetconfiguration option to simplify partition configuration sections for heterogeneous/condo-style clusters.
smap:smaphas been removed.sbatch,salloc,srun:--rebootdisabled for non-admins.sbcast: Allow alternative path forsbcasttraffic using theBcastAddroption toNodeNamelines to allowsbcasttraffic.
Version 20.11#
The option
cpusetshas been removed from TaskPluginParam. Use task/cgroup.The
slurm.confsettingMsgAggregationParamshas been removed.Layouts have been removed.
The plug-in
switch/generichas been removed.The
JobCompLocURL endpoint when theJobCompType=jobcomp/elasticsearchplugin is enabled is now fully configurable and the plugin no longer appends a hardcoded/slurm/jobcompindex and type suffix to it.Support for the option
default_gbytesinSchedulerParametershas been removed.
5.13 Enabling the pam_slurm_adopt Module #
The pam_slurm_adopt module allows restricting access to
compute nodes to those users that have jobs running on them. It can also
take care of run-away processes from user's jobs and
end these processes when the job has finished.
pam_slurm_adopt works by binding the login process of a
user and all its child processes to the cgroup of a
running job.
It can be enabled with following steps:
In the configuration file
slurm.conf, set the optionPrologFlags=contain.Make sure the option
ProctrackType=proctrack/cgroupis also set.Restart the services
slurmctldandslurmd.For this change to take effect, it is not sufficient to issue the command
scontrol reconfigure.Decide whether to limit resources:
If resources are not limited, user processes can continue running on a node even after the job to which they were bound has finished.
If resources are limited using a
cgroup, user processes will be killed when the job finishes, and the controllingcgroupis deactivated.To activate resource limits via a
cgroup, in the file/etc/slurm/cgroup.conf, set the optionConstrainCores=yes.
Due to the complexity of accurately determining RAM requirements of jobs, limiting the RAM space is not recommended.
Install the package slurm-pam_slurm:
zypper install slurm-pam_slurm
(Optional) You can disallow logins by users who have no running job in the machine:
Disabling SSH Logins Only: In the file
/etc/pam.d/ssh, add the option:account required pam_slurm_adopt.so
Disabling All Types of Logins: In the file
/etc/pam.d/common-account, add the option:account required pam_slurm_adopt.so
5.14 memkind — Heap Manager for Heterogeneous Memory Platforms and Mixed Memory Policies #
The memkind library is a user-extensible heap manager
built on top of jemalloc which enables control of memory
characteristics and a partitioning of the heap between kinds of memory. The
kinds of memory are defined by operating system memory policies that have
been applied to virtual address ranges. Memory characteristics supported by
memkind without user extension include control of NUMA
and page size features.
For more information, see:
the man pages
memkindandhbwallow
This tool is only available for x86-64.
5.15 munge Authentication #
munge allows users to connect as the same user from a machine to any other machine which shares the same secret key. This can be used to set up a cluster of machines between which the user can connect and execute commands without any additional authentication.
The munge authentication is based on a single shared
key. This key is located under /etc/munge/munge.key.
At the installation time of the munge package an
individual munge key is created from the random source
/dev/urandom. This key has to be the same on all
systems that should allow login to each other: To set up
munge authentication on these machines copy the
munge key from one machine (ideally a head node of the
cluster) to the other machines within this cluster:
scp /etc/munge/munge.key root@NODE_N:/etc/munge/munge.key
Then enable and start the service munge on each machine:
systemctl enable munge.service systemctl start munge.service
If several nodes are installed, one key must be selected and synchronized
to all the other nodes in the cluster. This key file should belong to the
munge user and must have the access rights 0400.
5.16 mrsh/mrlogin — Remote Login Using munge Authentication #
mrsh is a set of remote shell programs using the munge authentication system instead of reserved ports for security.
It can be used as a drop-in replacement for rsh and
rlogin.
To install mrsh, do the following:
If only the mrsh client is required (without allowing remote login to this machine), use:
zypper in mrsh.To allow logging in to a machine, the server needs to be installed:
zypper in mrsh-server.To get a drop-in replacement for
rshandrlogin, run:zypper in mrsh-rsh-server-compatorzypper in mrsh-rsh-compat.
To set up a cluster of machines allowing remote login from each other,
first follow the instructions for setting up and starting
munge authentication in
Section 5.15, “munge Authentication”. After munge has been
successfully started, enable and start mrlogin on each
machine on which the user will log in:
systemctl enable mrlogind.socket mrshd.socket systemctl start mrlogind.socket mrshd.socket
To start mrsh support at boot, run:
systemctl enable munge.service systemctl enable mrlogin.service
We do not recommend using mrsh when logged in as the
user root. This is disabled by
default. To enable it anyway, run:
echo "mrsh" >> /etc/securetty echo "mrlogin" >> /etc/securetty
6 HPC Libraries #
Library packages which support environment modules follow a distinctive
naming scheme: all packages have the compiler suite and, if built with MPI
support, the MPI flavor in their name:
*-[MPI_FLAVOR]-COMPILER-hpc*.
To support a parallel installation of multiple versions of a library
package, the package name contains the version number (with dots
. replaced by underscores _). To
simplify the installation of a library, master -packages
are supplied which will ensure that the latest version of a package is
installed. When these master packages are updated, the
latest version of the respective library packages will be installed while
leaving previous versions installed. Library packages are split between
runtime and compile time packages. The compile time packages typically
supply include files and .so-files for shared libraries. Compile time
package names end with -devel. For some libraries static
(.a) libraries are supplied as well, package names for
these end with -devel-static.
As an example: Package names of the ScaLAPACK library version 2.0.2 built with GCC for Open MPI v1:
library package: libscalapack2_2_0_2-gnu-openmpi1-hpc
library master package: libscalapack2-gnu-openmpi1-hpc
development package: libscalapack2_2_0_2-gnu-openmpi1-hpc-devel
development master package: libscalapack2-gnu-openmpi1-hpc-devel
static library package: libscalapack2_2_0_2-gnu-openmpi1-hpc-devel-static
(Note that the digit 2 appended to the library name
denotes the .so version of the library).
To install a library packages run zypper in
LIBRARY-MASTER-PACKAGE. To install a development
file, run zypper in
LIBRARY-DEVEL-MASTER-PACKAGE.
Presently, the GNU compiler collection version 4.8 as provided with SUSE Linux Enterprise 15 and the MPI flavors Open MPI v.2 and MVAPICH2 are supported.
6.1 FFTW HPC Library — Discrete Fourier Transforms #
FFTW is a C subroutine library for computing the
Discrete Fourier Transform (DFT) in one or more dimensions, of both real
and complex data, and of arbitrary input size.
This library is available as both a serial and an MPI-enabled variant. This module requires a compiler toolchain module loaded. To select an MPI variant, the respective MPI module needs to be loaded beforehand. To load this module, run:
module load fftw3
List of master packages:
libfftw3-gnu-hpcfftw3-gnu-hpc-devellibfftw3-gnu-openmpi1-hpcfftw3-gnu-openmpi1-hpc-devellibfftw3-gnu-mvapich2-hpcfftw3-gnu-mvapich2-hpc-devel
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.2 HDF5 HPC Library — Model, Library, File Format for Storing and Managing Data #
HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of data types, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and extensible, allowing applications to evolve in their use of HDF5.
There are serial and MPI variants of this library available. All flavors require loading a compiler toolchain module beforehand. The MPI variants also require loading the correct MPI flavor module.
To load the highest available serial version of this module run:
module load hdf5
When an MPI flavor is loaded, the MPI version of this module can be loaded by:
module load phpdf5
List of master packages:
hdf5-examples
hdf5-gnu-hpc-devel
libhdf5-gnu-hpc
libhdf5_cpp-gnu-hpc
libhdf5_fortran-gnu-hpc
libhdf5_hl_cpp-gnu-hpc
libhdf5_hl_fortran-gnu-hpc
hdf5-gnu-openmpi1-hpc-devel
libhdf5-gnu-openmpi1-hpc
libhdf5_fortran-gnu-openmpi1-hpc
libhdf5_hl_fortran-gnu-openmpi1-hpc
hdf5-gnu-mvapich2-hpc-devel
libhdf5-gnu-mvapich2-hpc
libhdf5_fortran-gnu-mvapich2-hpc
libhdf5_hl_fortran-gnu-mvapich2-hpc
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.3 NetCDF HPC Library — Implementation of Self-Describing Data Formats #
The NetCDF software libraries for C, C++, FORTRAN, and Perl are a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
netcdf Packages#
The packages with names starting with netcdf provide C
bindings for the NetCDF API. These are available with and without MPI
support.
There are serial and MPI variants of this library available. All flavors require loading a compiler toolchain module beforehand. The MPI variants also require loading the correct MPI flavor module.
The MPI variant becomes available when the MPI module is loaded. Both
variants require loading a compiler toolchain module beforehand. To load
the highest version of the non-MPI netcdf module, run:
module load netcdf
To load the highest available MPI version of this module, run:
module load pnetcdf
List of master packages:
netcdf-gnu-hpc
netcdf-gnu-hpc-devel
netcdf-gnu-hpc
netcdf-gnu-hpc-devel
netcdf-gnu-openmpi1-hpc
netcdf-gnu-openmpi1-hpc-devel
netcdf-gnu-mvapich2-hpc
netcdf-gnu-mvapich2-hpc-devel
netcdf-cxx Packages#
netcdf-cxx4 provides a C++ binding for the NetCDF API.
This module requires loading a compiler toolchain module beforehand. To load this module, run:
module load netcdf-cxx4
List of master packages:
libnetcdf-cxx4-gnu-hpclibnetcdf-cxx4-gnu-hpc-develnetcdf-cxx4-gnu-hpc-tools
netcdf-fortran Packages#
The netcdf-fortran packages provide FORTRAN bindings for
the NetCDF API, with and without MPI support.
For More Information#
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.4 NumPy Python Library #
NumPy is a general-purpose array-processing package designed to efficiently manipulate large multi-dimensional arrays of arbitrary records without sacrificing too much speed for small multi-dimensional arrays.
NumPy is built on the Numeric code base and adds features introduced by numarray as well as an extended C API and the ability to create arrays of arbitrary type which also makes NumPy suitable for interfacing with general-purpose data-base applications.
There are also basic facilities for discrete Fourier transform, basic linear algebra and random number generation.
This package is available both for Python 2 and Python 3. The specific compiler toolchain and MPI library flavor modules must be loaded for this library. The correct library module for the Python version used needs to be specified when loading this module. To load this module, run:
for Python 2:
module load python2-numpyfor Python 3:
module load python3-numpy
List of master packages:
python2-numpy-gnu-hpcpython2-numpy-gnu-hpc-develpython3-numpy-gnu-hpcpython3-numpy-gnu-hpc-devel
6.5 OpenBLAS Library — Optimized BLAS Library #
OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.3, BSD version. It provides the BLAS API. It is shipped as a package enabled for environment modules and thus requires using Lmod to select a version. There are two variants of this library, an OpenMP-enabled variant and a pthreads variant.
OpenMP-Enabled Variant#
The OpenMP variant covers all use cases:
Programs using OpenMP. This requires the OpenMP-enabled library version to function correctly.
Programs using pthreads. This requires an OpenBLAS library without pthread support. This can be achieved with the OpenMP-version. We recommend limiting the number of threads that are used to 1 by setting the environment variable
OMP_NUM_THREADS=1.Programs without pthreads and without OpenMP. Such programs can still take advantage of the OpenMP optimization in the library by linking against the OpenMP variant of the library.
When linking statically, ensure that libgomp.a is
included by adding the linker flag -lgomp.
pthreads Variant#
The pthreads variant of the OpenBLAS library can improve the performance of
single-threaded programs. The number of threads used can be controlled with
the environment variable OPENBLAS_NUM_THREADS.
Installation and Usage#
This module requires loading a compiler toolchain beforehand. To select the latest version of this module provided, run:
OpenMP version:
module load openblas-pthreads
pthreads version:
module load openblas
List of master package for:
libopenblas-gnu-hpclibopenblas-gnu-hpc-devellibopenblas-pthreads-gnu-hpclibopenblas-pthreads-gnu-hpc-devel
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.6 PAPI HPC Library — Consistent Interface for Hardware Performance Counters #
PAPI (package papi) provides a tool with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors.
This package serves all compiler toolchains and does not require a compiler toolchain to be selected. The latest version provided can be selected by running:
module load papi
List of master packages:
papi-hpc
papi-hpc-devel
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.7 PETSc HPC Library — Solver for Partial Differential Equations #
PETSc is a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations.
This module requires loading a compiler toolchain as well as an MPI library flavor beforehand. To load this module, run:
module load petsc
List of master packages:
libpetsc-gnu-openmpi1-hpcpetsc-gnu-openmpi1-hpc-devellibpetsc-gnu-mvapich2-hpcpetsc-gnu-mvapich2-hpc-devel
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
6.8 ScaLAPACK HPC Library — LAPACK Routines #
The library ScaLAPACK (short for "Scalable LAPACK") includes a subset of LAPACK routines designed for distributed memory MIMD-parallel computers.
This library requires loading both a compiler toolchain and an MPI library flavor beforehand. To load this library, run:
module load scalapack
List of master packages:
libblacs2-gnu-openmpi1-hpclibblacs2-gnu-openmpi1-hpc-devellibscalapack2-gnu-openmpi1-hpclibscalapack2-gnu-openmpi1-hpc-devellibblacs2-gnu-mvapich2-hpclibblacs2-gnu-mvapich2-hpc-devellibscalapack2-gnu-mvapich2-hpclibscalapack2-gnu-mvapich2-hpc-devel
For general information about Lmod and modules, see Section 5.7, “Lmod — Lua-based Environment Modules”.
7 Updated Packages #
7.1 Slurm Has Been Updated From version 17 to version 18 #
7.1.1 Configuration Changes in slurm.conf #
When updating from Slurm 17 to 18, make sure to review the following
important changes to the configuration file
/etc/slurm/slurm.conf:
The epilog script
epilog-clean.shwas removed because of its inconsistent behavior when a job finished. To limit the access to compute nodes to users who have jobs running on them, use the PAM modulepam_slurm_adopt. For more information, see Section 5.13, “Enabling thepam_slurm_adoptModule”.The options
ControlMachine,ControlAddr,BackupController, orBackupAddrare deprecated and may be removed in the future. Replace these options by an ordered list ofSlurmCtldHostrecords.The
PreemptType=preempt/job_priohas been removed, usePreemptType=preempt/qosinstead.
7.1.2 Updating #
To update slurm from version 17 to version 18, proceed
as follows:
Stop all Slurm-related services:
slurmctldslurmdslurmdbd(if running)
Create a backup of the configuration files in
/etc/slurm, the Saved State directory (defined inStateSaveLocation),/var/lib/slurmand also the munge key/etc/munge/munge.key.(Optional) If you are using an accounting database, back up, update, and restart the database server:
Create a backup of the accounting database, as the update irreversibly converts the database.
Update the package
slurm-slurmdbdwith the command:zypper update slurm-slurmdbd
The conversion begins automatically when
slurmdbdis started the next time. However, when startingslurmdbdas a systemd service, the conversion process will likely take so long that the command would run into a systemd timeout.Therefore, trigger the database conversion by manually start the daemon
slurmdbdwith:slurmdbd -D
Monitor the process until the database conversion is complete. When the conversion succeeds, the message
Conversion done: success!will be shown.Restart the service
slurmdbd:systemctl start slurmdbd
Update the package slurm-slurmctld and other Slurm-related packages:
zypper update slurm slurm-slurmctld slurm-node
Restart the service
slurmctld:systemctl start slurmctld
Finally, restart the service
slurmd:systemctl start slurmd
8 Obtaining Source Code #
This SUSE product includes materials licensed to SUSE under the GNU General Public License (GPL). The GPL requires SUSE to provide the source code that corresponds to the GPL-licensed material. The source code is available for download at https://www.suse.com/download/sle-hpc/ on Medium 2. For up to three years after distribution of the SUSE product, upon request, SUSE will mail a copy of the source code. Send requests by e-mail to mailto:sle_source_request@suse.com. SUSE may charge a reasonable fee to recover distribution costs.
9 Legal Notices #
SUSE makes no representations or warranties with regard to the contents or use of this documentation, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, SUSE reserves the right to revise this publication and to make changes to its content, at any time, without the obligation to notify any person or entity of such revisions or changes.
Further, SUSE makes no representations or warranties with regard to any software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, SUSE reserves the right to make changes to any and all parts of SUSE software, at any time, without any obligation to notify any person or entity of such changes.
Any products or technical information provided under this Agreement may be subject to U.S. export controls and the trade laws of other countries. You agree to comply with all export control regulations and to obtain any required licenses or classifications to export, re-export, or import deliverables. You agree not to export or re-export to entities on the current U.S. export exclusion lists or to any embargoed or terrorist countries as specified in U.S. export laws. You agree to not use deliverables for prohibited nuclear, missile, or chemical/biological weaponry end uses. Refer to https://www.suse.com/company/legal/ for more information on exporting SUSE software. SUSE assumes no responsibility for your failure to obtain any necessary export approvals.
Copyright © 2010- 2022 SUSE LLC.
This release notes document is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License (CC-BY-ND-4.0). You should have received a copy of the license along with this document. If not, see https://creativecommons.org/licenses/by-nd/4.0/.
SUSE has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at https://www.suse.com/company/legal/ and one or more additional patents or pending patent applications in the U.S. and other countries.
For SUSE trademarks, see SUSE Trademark and Service Mark list (https://www.suse.com/company/legal/). All third-party trademarks are the property of their respective owners.
