Hi,
SchedMD also recently changed their online documentation on building
RPM packages for Slurm:
https://slurm.schedmd.com/quickstart_admin.html
They now refer to '_slurm_sysconfdir' macro while it was '_sysconfdir'
in previous versions of the documentation.
Now it reads:
--- snip ---
To build RPMs directly, copy the distributed tarball into a directory
and execute (substituting the appropriate Slurm version number):
rpmbuild -ta slurm-21.08.1.tar.bz2
The rpm files will be installed under the $(HOME)/rpmbuild directory
of the user building them.
You can control some aspects of the RPM built with a .rpmmacros file
in your home directory. Special macro definitions will likely only be
required if files are installed in unconventional locations. Some
macro definitions that may be used in building Slurm include:
_enable_debug
Specify if debugging logic within Slurm is to be enabled
_prefix
Pathname of directory to contain the Slurm files
_slurm_sysconfdir
Pathname of directory containing the slurm.conf configuration file (default /etc/slurm)
with_munge
Specifies the MUNGE (authentication library) installation location
with_ssl
Specifies SSL library installation location
An example .rpmmacros file:
# .rpmmacros
# Override some RPM macros from /usr/lib/rpm/macros
# Set Slurm-specific macros for unconventional file locations
#
%_enable_debug "--with-debug"
%_prefix /opt/slurm
%_slurm_sysconfdir %{_prefix}/etc/slurm
%_defaultdocdir %{_prefix}/doc
%with_munge "--with-munge=/opt/munge"
--- snip ---
Best regards
Jürgen
* Kevin Buckley <
Kevin....@pawsey.org.au> [220525 14:48]: