Add slurm-plugin-oom-score-adj to network:cluster OBS-URL: https://build.opensuse.org/request/show/862238 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm-plugin-oom-score-adj?expand=0&rev=1
24 lines
627 B
Diff
24 lines
627 B
Diff
diff --git a/Makefile b/Makefile
|
|
index c060f7a..049ac3c 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -2,7 +2,7 @@
|
|
|
|
CC = gcc
|
|
CFLAGS ?= -g
|
|
-LIBDIR ?= /usr/lib
|
|
+LIBDIR ?= /usr/lib64
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) -shared -fPIC -o oom-score-adj.so slurm-spank-oom-score-adj.c
|
|
diff --git a/oom_score_adj.conf b/oom_score_adj.conf
|
|
index 7b6ad30..7814cc1 100644
|
|
--- a/oom_score_adj.conf
|
|
+++ b/oom_score_adj.conf
|
|
@@ -6,4 +6,4 @@
|
|
#
|
|
# required? plugin args
|
|
#
|
|
-optional /usr/lib/slurm/oom-score-adj.so oom_score_adj=1000
|
|
+optional /usr/lib64/slurm/oom-score-adj.so oom_score_adj=1000
|