Package Details: slurm-llnl

Git Clone URL: (read-only, click to copy)
Package Base: slurm-llnl
Description: Simple Linux Utility for Resource Management
Upstream URL:
Keywords: manager resource system
Licenses: GPL
Submitter: tegenf
Maintainer: edh
Last Packager: edh
Votes: 11
Popularity: 0.000553
First Submitted: 2011-01-28 14:47
Last Updated: 2020-05-22 11:01

Dependencies (19)

Sources (6)

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 10 11 12 Next › Last »

giddie commented on 2013-02-05 16:10

I've created an issue in the SchedMD Github repo, but I've no idea if that's the "real" upsteam?

giddie commented on 2013-02-05 15:52

My patch is a rather ugly workaround to force SLURM to build without sview. It's not really the proper solution to this bug, and it's only useful to people who want to build on a headless server, without GTK. The current PKGBUILD will build fine if GTK is installed, I expect.

I can't see a link to a bug tracker for SLURM, only a mailing list, and I don't want to have to deal with a mailing list to report this. Maybe if it doesn't go away with the next release...

wookietreiber commented on 2013-02-05 15:25

Ok. Then, I guess, we can work with the patch instead of the sed command in PKGBUILD.

@tegenf: Care to apply the patch to PKGBUILD and push a 2.5.2-2?
@giddie: Care to send a pull request with your patch?

giddie commented on 2013-02-05 14:46

I believe what is required is a little more complex. Sorry if it wasn't clear: it's not a case of swapping one line for another. Patch is here:

wookietreiber commented on 2013-02-05 13:51

I have not tested it. But it basically simulates your manual workflow:

makepkg -o
$EDITOR configure
makepkg -e

... by hacking the PKGBUILD rather than the source directly and thus should be more convenient.

In case the editing part you did was more complex, the sed would need to be more sophisticated, of course.

giddie commented on 2013-02-05 13:32

Have you tested that? I'm not sure it'll work. Those variables are used to conditionally comment-out portions of a Makefile. Ugh; I really don't like Autotools.

wookietreiber commented on 2013-02-05 13:27

add this to the build() function in PKGBUILD:

sed -i "s/BUILD_SVIEW_TRUE='#'/BUILD_SVIEW_FALSE/" configure

giddie commented on 2013-02-05 12:22

It seems that the latest SLURM has a bug that means that it still tries to build sview even when GTK isn't present. Note that the following page mentions that the intention is for this not to happen:

I can't find a bug tracker upstream, so I couldn't report the bug.

The simplest workaround I could find was to do "makepkg -o", open "configure" at line 20417, and remove everything except the second branch:


After that, "makepkg -e", and all seems good.

wookietreiber commented on 2013-02-01 10:49

... correction: munged isn't exactly required. Actually it should be set to optional with 'Wants=' because one does not necessarily need it. But a) iirc it is recommended by the slurm guys and b) this build does not make it an optional dependency, so possibly for the current hard dependency it might be 'Required='.

wookietreiber commented on 2013-02-01 10:15

I guess the service files should also include "Requires=munged.serviceX", not just "After=..." as explained here:

I modified these locally (added comments for reasons why):

tail /etc/systemd/system/slurm*

# requires munged to be loaded before
==> /etc/systemd/system/slurmctld-llnl.service <==
.include /usr/lib/systemd/system/slurmctld-llnl.service


# requires slurmctld-llnl to be loaded before (should it be the other way around? that slurmctld has an optional (Wants=) dependency to slurmdbd)
==> /etc/systemd/system/slurmdbd-llnl.service <==
.include /usr/lib/systemd/system/slurmdbd-llnl.service


# requires munged to be loaded before
# optional dependency slurmctld (Wants=)
==> /etc/systemd/system/slurmd-llnl.service <==
.include /usr/lib/systemd/system/slurmd-llnl.service


As explained above I guess but don't know exactly that slurmdbd is an optional dependency of slurmctld.