Slurm is an open-source workload manager designed for *nix clusters of all
sizes. It provides three key functions. First it allocates exclusive and/or
non-exclusive access to resources (computer nodes) to users for some duration
of time so they can perform work. Second, it provides a framework for starting,
executing, and monitoring work (typically a parallel job) on a set of allocated
nodes. Finally, it arbitrates contention for resources by managing a queue of
pending work.
===> The following configuration options are available for slurm-wlm-26.05.4_1:
CURL=off: Require cURL for elasticsearch plugins
DOCS=on: Build and/or install documentation
GUI=off: Build sview GUI config tool
HDF5=on: Job profiling using HDF5
HWLOC=on: Portable hardware locality
IPMI=off: IPMI energy consumption accounting
S2N=off: Build tls_s2n TLS plugin
===> Use 'make config' to modify these settings
sysutils/slurm-wlm: Enable slurmrestd
The port currently explicitly disables slurmrestd with
--disable-slurmrestd, with a comment stating that it does not build on
FreeBSD.
This restriction appears to be obsolete. With the current Slurm version,
slurmrestd builds successfully on FreeBSD without requiring any
additional portability patches.
This change removes --disable-slurmrestd and adds the resulting
slurmrestd executable and REST/OpenAPI plugins to the package plist.
PR: 298466
Sponsored by: UNIS Labs (vvd, commit patch)
sysutils/slurm-wlm: Update 26.05.2 => 26.05.4
Changelog:
https://github.com/SchedMD/slurm/blob/slurm-26.05/CHANGELOG/slurm-26.05.md
- Remove obsolete downstream HDF5 patches; the corresponding changes are
no longer required with the new upstream release.
- Drop now-obsolete portions of patch-configure, substantially reducing
the downstream configure patch.
- Rebase the existing FreeBSD conmgr patch against the new upstream
sources.
- Add a missing <signal.h> include to the pack_priority_factors unit
test required for the test suite to build on FreeBSD.
PR: 298317
Security: CVE-2026-65107
Security: CVE-2026-65108
Security: CVE-2026-65109
Security: CVE-2026-65138
Security: CVE-2026-65139
Security: CVE-2026-65140
Security: CVE-2026-65165
Sponsored by: UNIS Labs (vvd, commit patch)
MFH: 2026Q3
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
sysutils/slurm-wlm: Improve rc.d scripts
- Add rc.conf knobs for slurm_conf, logdir, rundir, pidfile and logfile paths
- Run slurmctld and slurmd under daemon(8) in foreground mode (-D)
- Implement status/reload using pidfiles and procname via rc.subr helpers
- Create log/run directories with appropriate ownership and permissions
- Ensure clean shutdown and avoid stray helper processes across restarts
- Preserve compatibility with existing *_flags and SLURM_CONF settings
PR: 290211
sysutils/slurm-wlm: Fix: task/pgid plugin not installed
Running slurmd shows the following errors at startup:
slurmd: error: Couldn't find the specified plugin name for task/pgid looking at
all files
slurmd: error: cannot find task plugin for task/pgid
slurmd: error: cannot create task context for task/pgid
slurmd: error: slurmd initialization failed
PR: 289384288668
Fixes: 7bc4e1e182ec (Fix: TaskPlugin=task/pgid in slurm.conf fails on FreeBSD
– plugin unavailable)
MFH: 2025Q3
sysutils/slurm-wlm: Fix: TaskPlugin=task/pgid in slurm.conf fails on FreeBSD –
plugin unavailable
When setting TaskPlugin=task/pgid in slurm.conf, slurmd fails to start
and reports that the task/pgid plugin is not available in the plugins
directory.
As far as I know, pgid is an important task plugin in Slurm, used to
manage process groups. Its absence limits Slurm’s ability to manage
tasks correctly on FreeBSD.
Upstream bug report: https://support.schedmd.com/show_bug.cgi?id=23659
PR: 288668
Differential Revision: https://reviews.freebsd.org/D52143
MFH: 2025Q3
sysutils/slurm-wlm: Fix slurmd and slurmstepd crash due to missing sockaddr
length handling in bind()/connect()
After some time the daemons lose connection. Submitting tasks via srun
fails, and slurmd eventually crashes with a segmentation fault.
The root cause appears to be that several bind() and connect() calls do
not set the sockaddr length (sun_len, sin_len, sin6_len) correctly on
FreeBSD. Without this, sockets are initialized improperly and result in
runtime errors.
Upstream bugreport: https://support.schedmd.com/show_bug.cgi?id=23658
PR: 288983
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
MFH: 2025Q3
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
sysutils/slurm-wlm: upgrade to 23.11.1
Releases notes at <https://www.schedmd.com/news.php>.
Remark: MySQL is no more an option.
Security: CVE-2023-49933 through CVE-2023-49938
Differential Revision: <https://reviews.freebsd.org/D42764>
sysutils/slurm-wlm: Unbreak build: add perl5 to the build environment
It's not clear to me how this ever built given all the places in
configure that use the "perl" command. But it was building (for me
at least) as recently as yesterday. I can only assume something
changed in the ports build infrastructure.
Anyway, this lets me build kicad again.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
science/hdf5: bump PORTREVISION of consumers
The SO-version increased in the update to 1.12.2 in
a43418b81530f7e897abfbe18dd59f44265a1a0f .
Reported by: VVD <vvd@unislabs.com>
*/*: Replace science/szip with science/libaec
- Bump PORTREVISION of dependent ports for dependency change
szip does not allow redistribution in binary form without proper commercial
license. Its LICENSE_PERMS should be set to no-auto-accept which blocks building
this port, therefore building dependent ports are also blocked. Switch all
dependent ports to science/libaec to avoid conflicts and license issue.
PR: 228743, 246097, 250165
sysutils/slurm-wlm: fix build on -CURRENT
The CPU_OR macro has been made compatible with GLIBC on -CURRENT,
the FreeBSD specific alternative is therefore no longer required.
While here pass --disable-slurmrestd to prevent the auto-configure
script from attempting to build slurmrestd if glib is found by
auto-configure (it does not build on FreeBSD due to Linux specific
headers and shell features provided by Bash but by the /bin/sh in
FreeBSD).
This port has numerous build issues when not building in a clean
jail (i.e. on a system with a previous version installed or with
other software that is detected by auto-configure).
The port revision is not bumped since these changes do not modify
the package that is generated.
sysutils/slurm-wlm: Release to ports@
Newer versions of SLURM contain unconditional dependencies on cgroups.
This is a major addition to other long-standing linuxisms such as
parsing /proc files to enforce resource limits (this should be done
using sysctls on FreeBSD).
Currently, it would *not* be extraordinarily difficult to make SLURM
mostly functional on FreeBSD, but it has also become increasingly
complex and unsuitable for small-scale HPC. Given the current
direction and the apparent priorities of SchedMD, I believe it will
only become more difficult to maintain non-Linux ports over time.
Rather than fight the current, I have begun development of a new batch
system with a commitment to simplicity and portability:
https://github.com/outpaddling/lpjs
sysutils/slurm-wlm: More precise hdf5 dependency
Change LIB_DEPEND to libhdf5_cpp.so, since slurm depends on h5cc, which
is conditionally installed when C++ support is enabled. This is a slight
improvement for users building slurm from source when hdf5 C++ support is
missing.
PR: 253599
Reported by: Patrick McMunn
sysutils/slurm-wlm: Patch in lua 5.4 support
PR opened upstream
Make sure patch files have meaningful names
PR: 251471
Reported by: greg@unrelenting.technology
sysutils/slurm-wlm: Fix build with -fno-common
Add two patches based on upstream changes to fix the build of
sysutils/slurm-wlm with -fno-common, which is the default with llvm 11.
MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
sysutils/slurm-wlm: Remove obsolete and broken REINPLACE
SLURM since 18.08 defaults to /usr/bin/mail if /bin/mail doesn't exist so
this patch is no longer needed and was not functioning correctly anyway
Reported by: swills
sysutils/slurm-wlm: Drop nop MYSQL_CONFIGURE_with
It was probably meant to be MYSQL_CONFIGURE_WITH, but the configure
script does not support --with-mysql or --without-mysql.
sysutils/slurm-wlm: Temporary patch to silence job accounting errors
Disables linux-specific code when using jobacct_gather/linux for now.
Long-term solution is to revamp job accounting code for FreeBSD.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
sysutils/slurm-wlm: Revert previous change enabling Linux option by default
Option is not actually necessary anymore to enable linproc parsing code.
It merely adds a linux_base dependency now.
sysutils/slurm-wlm: Enable jobacct_gather/linux by default
Currently required to terminate jobs exceeding their memory allocation
(until jobacct_gather/freebsd is implemented)
sysutils/slurm-wlm: Fix WITHOUT_KERBEROS build and configure issue
- Fix build when WITHOUT_KERBEROS is used by patching files to remove
'#include <roken.h>'. [1]
- Fix configure when PREFIX is set to something other than /usr/local. The
check for man2html is hard-coded to search /usr/bin and
/usr/local/bin. [2]
PR: 225989
Submitted by: tijl [1] jwb [2]
Multiple ports:
Change maintainer email bacon4000@gmail.com to jwb@FreeBSD.org
Remove Created by comments for same user
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D14128
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
sysutils/slurm-wlm: Add support for the jobacct_gather/linux plugin
- The plugin requires linprocfs, so add an off-by-defult option knob to
depend on linux.
- Patch source files to point to /compat/linux/proc.
Submitted by: Jason Bacon <bacon4000@gmail.com>
Approved by: swills (mentor, implicit)
sysutils/slurm-wlm: Fix task affinity, mysql and gtk2 options, update
default slurm.conf, silence QA warning about liblz4, patch to make
/usr/bin/mail the default.
- Fix task affinity. The reinplace for cpuset_setaffinity should not have
been removed as it was not one of the patches incorporated upstream.
- The MYSQL and GTK2 options were not functioning properly when off. If
mysql and gtk2 were installed during configure phase, slurm would build
sview and mysql support whether or not the options were selected.
Poudriere will not catch this sort of problem. I tested by installing
with all options enabled so that all possible dependencies would be
installed, and then rebuilding with all options off. No QA warnings in
either case now.
(Only the first 15 lines of the commit message are shown above )
sysutils/slurm-wlm: Update to version 16.05.8.
Upstream changes in version 16.05.8:
- Remove StoragePass from being printed out in the slurmdbd log at debug2
level.
- Defer PATH search for task program until launch in slurmstepd.
- Modify regression test1.89 to avoid leaving vestigial job. Also reduce
logging to reduce likelihood of Expect buffer overflow.
- Do not PATH search for mult-prog launches if LaunchParamters=test_exec
is enabled.
- Fix for possible infinite loop in select/cons_res plugin when trying to
satisfy a job's ntasks_per_core or socket specification.
- If job is held for bad constraints make it so once updated the job
doesn't go into JobAdminHeld.
(Only the first 15 lines of the commit message are shown above )
sysutils/slurm-wlm: Update to version 16.05.7
- Remove patch that has been incorporated upstream.
No release notes are to be found.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8834
sysutils/slurm-wlm: update to version 16.05.06
Changes in Slurm 16.05.6:
https://github.com/SchedMD/slurm/blob/master/NEWS
Port changes: Added a patch to fix a build issue. The patch was also
accepted upstream and should appear in the next Slurm release.
Reviewed by: mat
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8411
Update sysutils/slurm-wlm to bug-fix-release 16.05.5
- Add readline to USES (bin/sacctmgr now links to libreadline and
libhistory)
- Remove Cray node features patch now that it has been incorporated
upstream
- Update pkg-plist
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8095
sysutils/slurm-wlm: improve build on hosts with other ports installed
Slurm will try to install different components based on various
installed libraries. This patch fixes issues where some files are
unexpectedly installed.
PR: 209511
Submitted by: Joseph Mingrone <jrm@ftfl.ca> (maintainer)
Number of commits found: 111 (showing only 100 on this page)