[slurm-users] Development RPMs for cgroups v2

7 views
Skip to first unread message

John Hearns via slurm-users

unread,
Sep 9, 2025, 12:04:12 PM (6 days ago) Sep 9
to slurm...@schedmd.com
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

Sean Maxwell via slurm-users

unread,
Sep 9, 2025, 12:11:50 PM (6 days ago) Sep 9
to John Hearns, slurm...@schedmd.com
I did this about 6 months ago and my notes say: bpf-devel and dbus-devel
I can't guarantee that's exhaustive, but it's what I wrote at the time as the requirements for cgroup/v2

Hopefully it helps. Best,

-Sean

--
slurm-users mailing list -- slurm...@lists.schedmd.com
To unsubscribe send an email to slurm-us...@lists.schedmd.com

John Hearns via slurm-users

unread,
Sep 9, 2025, 12:15:28 PM (6 days ago) Sep 9
to Sean Maxwell, slurm...@schedmd.com
Thankyou Sean

Timony, Mick via slurm-users

unread,
Sep 9, 2025, 2:57:42 PM (6 days ago) Sep 9
to slurm...@schedmd.com, John Hearns
The dependencies for cgroups v/2 are listed at:


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:



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 <slurm...@lists.schedmd.com>
Sent: Tuesday, September 9, 2025 12:00 PM
To: slurm...@schedmd.com <slurm...@schedmd.com>
Subject: [slurm-users] Development RPMs for cgroups v2
 

Bjørn-Helge Mevik via slurm-users

unread,
Sep 10, 2025, 3:11:31 AM (5 days ago) Sep 10
to slurm...@schedmd.com
John Hearns via slurm-users <slurm...@lists.schedmd.com> writes:

> 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?

I tend to grep for "WARNING" in the output from rpmbuild (or configure,
if building manually). That typically gives you a hint of
devel-libraries you might be missing.

--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

signature.asc

John Hearns via slurm-users

unread,
Sep 10, 2025, 3:20:30 AM (5 days ago) Sep 10
to Bjørn-Helge Mevik, slurm...@schedmd.com
Thankyou!

Reply all
Reply to author
Forward
0 new messages