The dependencies for cgroups v/2 are listed at:

https://slurm.schedmd.com/cgroup_v2.html#requirement

If you are building Slurm for the first time on RHEL 9.x then there are likely 
other dependencies that you need, most if not all are listed at:

https://slurm.schedmd.com/quickstart_admin.html#build_install


We build in a docker container and below are all of the packages we install 
along with my comments as part of our build and this may help you determine if 
you are missing any pacakges:

RUN dnf install -y bzip2 gcc git glib2-devel gtk2-devel gzip libssh2 make 
rpm-build tar wget
# required for task/cgroup support and munge support
RUN dnf install -y dbus-devel hwloc-devel libbpf-devel munge-devel munge-libs
# required for readline support in scontrol/sacctmgt, mysql/mariabd support, 
lua, pam, python, and rpm package build support
RUN dnf install -y readline-devel mariadb-devel lua lua-devel pam-devel python3 
python3-devel yum-utils
# requirement for slurmrestd, Slurm's REST API required by tiCrypt
RUN dnf install -y curl-devel http-parser http-parser-devel json-c json-c-devel 
libyaml libyaml-devel
# jwt required for slurm/auth && optional requirement for slurmrestd
RUN dnf install -y --enablerepo=* --disablerepo=ubi-* libjwt libjwt-devel


Cheers

--
Mick Timony
Senior DevOps Engineer
LASER, Longwood, & O2 Cluster Admin
Harvard Medical School
--

________________________________
From: John Hearns via slurm-users <[email protected]>
Sent: Tuesday, September 9, 2025 12:00 PM
To: [email protected] <[email protected]>
Subject: [slurm-users] Development RPMs for cgroups v2

I am building a version of Slurm on RHEL 9.4
When I run an rpmbuild, he slurm rpm does not contain
/usr/lib64/slurm/cgroup_v2.so

I have tried to look in the build logs.
I suspect I am lacking some development RPMs - but which ones?

All hints gratefully received
John H

-- 
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to