Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/, sys-cluster/slurm/files/
Date: Sun, 09 Jul 2017 18:48:38
Message-Id: 1499626110.f642dbad4a32533562e287dbbe0a96d5e48b61a0.jlec@gentoo
1 commit: f642dbad4a32533562e287dbbe0a96d5e48b61a0
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 9 16:35:55 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 9 18:48:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f642dbad
7
8 sys-cluster/slurm: Version Bump
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=621144
11 Package-Manager: Portage-2.3.6, Repoman-2.3.2
12 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
13
14 sys-cluster/slurm/Manifest | 1 +
15 .../slurm/files/slurm-16.05.2-disable-sview.patch | 21 --
16 ...iew.patch => slurm-17.02.6-disable-sview.patch} | 79 ++++---
17 .../slurm/files/slurm-17.02.6-glibc-2.25.patch | 53 +++++
18 sys-cluster/slurm/slurm-17.02.6.ebuild | 236 +++++++++++++++++++++
19 5 files changed, 334 insertions(+), 56 deletions(-)
20
21 diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest
22 index d98544e4bd3..36d8c909850 100644
23 --- a/sys-cluster/slurm/Manifest
24 +++ b/sys-cluster/slurm/Manifest
25 @@ -1 +1,2 @@
26 DIST slurm-16.05.2.tar.bz2 5982329 SHA256 de57ab107c98499f7184c54de8d5ac115a55657aa03d29d69cd0b7e737a42852 SHA512 8b4296481c5ad83da2bde1530937b3da9b6e32b6606ba0b0a3899e0f2f0b4fc42ca8a802d4bf346d0de28852d75839e9359e28c4ce77588cd22a08ddbd34dd21 WHIRLPOOL 925902c9432b24a2c85488d1ba6a867abed0adaaecaa94b648402e48d250d924000741b2be486b34d3b7f6890aeabb9aea6c47e2e8fd9896dda3a3ae416a4a89
27 +DIST slurm-17.02.6.tar.bz2 6017979 SHA256 f057127870544be5b3476594fc58b3c35727e6db3a18d84c4ea63059c2ebe4ea SHA512 e7e33ae037f8b30ccf467fa19c90786c28a527df80cf1362075634ada7072bffcd172d79d2af9ac9ad2b2206b50c0560584c7b8193bfaa9dfa1b1d2c7216e5f6 WHIRLPOOL 9dec9fae0d6def7fc0c243ceec8a2d3bf3c10ecf230f8ef5df03804ce048481279691572fb9bd83a509f344639d4b73313e7f7615bfa1d17c279010e44a2e63e
28
29 diff --git a/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch b/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
30 index 5b861c33301..1e4a5b4fae3 100644
31 --- a/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
32 +++ b/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
33 @@ -67,24 +67,3 @@ diff -urN slurm-16.05.2.orig/src/Makefile.am slurm-16.05.2/src/Makefile.am
34
35 if !REAL_BG_L_P_LOADED
36 SUBDIRS += srun
37 -diff -urN slurm-16.05.2.orig/src/Makefile.in slurm-16.05.2/src/Makefile.in
38 ---- slurm-16.05.2.orig/src/Makefile.in 2016-07-07 02:51:37.000000000 +0300
39 -+++ slurm-16.05.2/src/Makefile.in 2016-07-15 20:02:41.373270765 +0300
40 -@@ -199,7 +199,7 @@
41 - DIST_SUBDIRS = api bcast common database db_api layouts plugins sacct \
42 - sacctmgr salloc sattach sbatch sbcast scancel scontrol sdiag \
43 - sinfo slurmctld slurmd slurmdbd smap smd sprio squeue sreport \
44 -- srun_cr sshare sstat strigger sview srun
45 -+ srun_cr sshare sstat strigger srun
46 - am__DIST_COMMON = $(srcdir)/Makefile.in
47 - DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48 - am__relativize = \
49 -@@ -487,7 +487,7 @@
50 - SUBDIRS = api bcast common database db_api layouts plugins sacct \
51 - sacctmgr salloc sattach sbatch sbcast scancel scontrol sdiag \
52 - sinfo slurmctld slurmd slurmdbd smap smd sprio squeue sreport \
53 -- srun_cr sshare sstat strigger sview $(am__append_1)
54 -+ srun_cr sshare sstat strigger $(am__append_1)
55 - all: all-recursive
56 -
57 - .SUFFIXES:
58
59 diff --git a/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch b/sys-cluster/slurm/files/slurm-17.02.6-disable-sview.patch
60 similarity index 53%
61 copy from sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
62 copy to sys-cluster/slurm/files/slurm-17.02.6-disable-sview.patch
63 index 5b861c33301..f7e2c5b2673 100644
64 --- a/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
65 +++ b/sys-cluster/slurm/files/slurm-17.02.6-disable-sview.patch
66 @@ -1,7 +1,13 @@
67 -diff -urN slurm-16.05.2.orig/configure.ac slurm-16.05.2/configure.ac
68 ---- slurm-16.05.2.orig/configure.ac 2016-07-07 02:51:37.000000000 +0300
69 -+++ slurm-16.05.2/configure.ac 2016-07-15 20:02:41.373270765 +0300
70 -@@ -261,44 +261,6 @@
71 + configure.ac | 39 ---------------------------------------
72 + doc/man/man1/Makefile.am | 8 --------
73 + src/Makefile.am | 3 +--
74 + 3 files changed, 1 insertion(+), 49 deletions(-)
75 +
76 +diff --git a/configure.ac b/configure.ac
77 +index 2f177ec..ff4d69b 100644
78 +--- a/configure.ac
79 ++++ b/configure.ac
80 +@@ -238,44 +238,6 @@ AC_SUBST(HAVE_SOME_CURSES)
81 PKG_CHECK_MODULES([CHECK], [check >= 0.9.8], [ac_have_check="yes"], [ac_have_check="no"])
82 AM_CONDITIONAL(HAVE_CHECK, test "x$ac_have_check" = "xyes")
83
84 @@ -43,10 +49,10 @@ diff -urN slurm-16.05.2.orig/configure.ac slurm-16.05.2/configure.ac
85 -
86 -AM_CONDITIONAL(BUILD_SVIEW, [test "x$ac_glib_test" = "xyes"] && [test "x$ac_gtk_test" = "xyes"])
87 -
88 - X_AC_DATABASES
89 -
90 dnl Cray ALPS/Basil support depends on mySQL
91 -@@ -503,7 +465,6 @@
92 + X_AC_CRAY
93 +
94 +@@ -477,7 +439,6 @@ AC_CONFIG_FILES([Makefile
95 src/sshare/Makefile
96 src/sstat/Makefile
97 src/strigger/Makefile
98 @@ -54,37 +60,40 @@ diff -urN slurm-16.05.2.orig/configure.ac slurm-16.05.2/configure.ac
99 src/plugins/Makefile
100 src/plugins/accounting_storage/Makefile
101 src/plugins/accounting_storage/common/Makefile
102 -diff -urN slurm-16.05.2.orig/src/Makefile.am slurm-16.05.2/src/Makefile.am
103 ---- slurm-16.05.2.orig/src/Makefile.am 2016-07-07 02:51:37.000000000 +0300
104 -+++ slurm-16.05.2/src/Makefile.am 2016-07-15 20:02:41.373270765 +0300
105 -@@ -27,8 +27,7 @@
106 +diff --git a/doc/man/man1/Makefile.am b/doc/man/man1/Makefile.am
107 +index 246f16d..ba39af2 100644
108 +--- a/doc/man/man1/Makefile.am
109 ++++ b/doc/man/man1/Makefile.am
110 +@@ -29,10 +29,6 @@ if WITH_BLCR
111 + man1_MANS += srun_cr.1
112 + endif
113 +
114 +-if BUILD_SVIEW
115 +-man1_MANS += sview.1
116 +-endif
117 +-
118 + EXTRA_DIST = $(man1_MANS)
119 +
120 + if HAVE_MAN2HTML
121 +@@ -65,10 +61,6 @@ if WITH_BLCR
122 + html_DATA += srun_cr.html
123 + endif
124 +
125 +-if BUILD_SVIEW
126 +-html_DATA += sview.html
127 +-endif
128 +-
129 + MOSTLYCLEANFILES = ${html_DATA}
130 +
131 + EXTRA_DIST += $(html_DATA)
132 +diff --git a/src/Makefile.am b/src/Makefile.am
133 +index bcd5aa7..a8cbf17 100644
134 +--- a/src/Makefile.am
135 ++++ b/src/Makefile.am
136 +@@ -28,5 +28,4 @@ SUBDIRS = \
137 srun_cr \
138 sshare \
139 sstat \
140 - strigger \
141 - sview
142 + strigger
143 -
144 - if !REAL_BG_L_P_LOADED
145 - SUBDIRS += srun
146 -diff -urN slurm-16.05.2.orig/src/Makefile.in slurm-16.05.2/src/Makefile.in
147 ---- slurm-16.05.2.orig/src/Makefile.in 2016-07-07 02:51:37.000000000 +0300
148 -+++ slurm-16.05.2/src/Makefile.in 2016-07-15 20:02:41.373270765 +0300
149 -@@ -199,7 +199,7 @@
150 - DIST_SUBDIRS = api bcast common database db_api layouts plugins sacct \
151 - sacctmgr salloc sattach sbatch sbcast scancel scontrol sdiag \
152 - sinfo slurmctld slurmd slurmdbd smap smd sprio squeue sreport \
153 -- srun_cr sshare sstat strigger sview srun
154 -+ srun_cr sshare sstat strigger srun
155 - am__DIST_COMMON = $(srcdir)/Makefile.in
156 - DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
157 - am__relativize = \
158 -@@ -487,7 +487,7 @@
159 - SUBDIRS = api bcast common database db_api layouts plugins sacct \
160 - sacctmgr salloc sattach sbatch sbcast scancel scontrol sdiag \
161 - sinfo slurmctld slurmd slurmdbd smap smd sprio squeue sreport \
162 -- srun_cr sshare sstat strigger sview $(am__append_1)
163 -+ srun_cr sshare sstat strigger $(am__append_1)
164 - all: all-recursive
165 -
166 - .SUFFIXES:
167
168 diff --git a/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch b/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch
169 new file mode 100644
170 index 00000000000..dc48f8475c0
171 --- /dev/null
172 +++ b/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch
173 @@ -0,0 +1,53 @@
174 +commit 056d9ff26b1d2ccac45da3c26a6918f182f8c559
175 +Author: Justin Lecher <jlec@g.o>
176 +Date: Sun Jul 9 15:54:20 2017 +0100
177 +
178 + Include sysmacros.h in addition for major() & minor()
179 +
180 + Starting from glibc-2.25 [1] the macros major and minor are only available
181 + from sys/sysmacros.h. This patch uses an autoconf macro to detect the
182 + location and includes the header accordingly.
183 +
184 + 1)
185 + https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
186 +
187 + Signed-off-by: Justin Lecher <jlec@g.o>
188 +
189 +diff --git a/configure.ac b/configure.ac
190 +index 44699ae095..66d4350d44 100644
191 +--- a/configure.ac
192 ++++ b/configure.ac
193 +@@ -124,7 +124,7 @@ AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \
194 + AC_HEADER_SYS_WAIT
195 + AC_HEADER_TIME
196 + AC_HEADER_STDC
197 +-
198 ++AC_HEADER_MAJOR
199 +
200 + dnl Checks for structures.
201 + dnl
202 +diff --git a/src/plugins/task/cgroup/task_cgroup_devices.c b/src/plugins/task/cgroup/task_cgroup_devices.c
203 +index 6a09b3d52a..63c0a11c9e 100644
204 +--- a/src/plugins/task/cgroup/task_cgroup_devices.c
205 ++++ b/src/plugins/task/cgroup/task_cgroup_devices.c
206 +@@ -34,12 +34,20 @@
207 + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
208 + \*****************************************************************************/
209 +
210 ++#include "config.h"
211 ++
212 + #define _GNU_SOURCE
213 + #include <glob.h>
214 + #include <limits.h>
215 + #include <sched.h>
216 + #include <sys/stat.h>
217 + #include <sys/types.h>
218 ++#ifdef MAJOR_IN_MKDEV
219 ++# include <sys/mkdev.h>
220 ++#endif
221 ++#ifdef MAJOR_IN_SYSMACROS
222 ++# include <sys/sysmacros.h>
223 ++#endif
224 +
225 + #include "slurm/slurm.h"
226 + #include "slurm/slurm_errno.h"
227
228 diff --git a/sys-cluster/slurm/slurm-17.02.6.ebuild b/sys-cluster/slurm/slurm-17.02.6.ebuild
229 new file mode 100644
230 index 00000000000..1d246ec803a
231 --- /dev/null
232 +++ b/sys-cluster/slurm/slurm-17.02.6.ebuild
233 @@ -0,0 +1,236 @@
234 +# Copyright 1999-2017 Gentoo Foundation
235 +# Distributed under the terms of the GNU General Public License v2
236 +
237 +EAPI=6
238 +
239 +if [[ ${PV} == *9999* ]]; then
240 + EGIT_REPO_URI="git://github.com/SchedMD/slurm.git"
241 + INHERIT_GIT="git-r3"
242 + SRC_URI=""
243 + KEYWORDS=""
244 +else
245 + inherit versionator
246 + if [[ ${PV} == *pre* || ${PV} == *rc* ]]; then
247 + MY_PV=$(replace_version_separator 3 '-0.') # pre-releases or release-candidate
248 + else
249 + MY_PV=$(replace_version_separator 3 '-') # stable releases
250 + fi
251 + MY_P="${PN}-${MY_PV}"
252 + INHERIT_GIT=""
253 + SRC_URI="http://www.schedmd.com/download/latest/${MY_P}.tar.bz2"
254 + KEYWORDS="~amd64 ~x86"
255 + S="${WORKDIR}/${MY_P}"
256 +fi
257 +
258 +inherit autotools eutils pam perl-module user prefix ${INHERIT_GIT}
259 +
260 +DESCRIPTION="A Highly Scalable Resource Manager"
261 +HOMEPAGE="http://www.schedmd.com"
262 +
263 +LICENSE="GPL-2"
264 +SLOT="0"
265 +IUSE="debug lua multiple-slurmd +munge mysql pam perl ssl static-libs torque"
266 +
267 +DEPEND="
268 + !sys-cluster/torque
269 + !net-analyzer/slurm
270 + !net-analyzer/sinfo
271 + mysql? ( virtual/mysql )
272 + munge? ( sys-auth/munge )
273 + pam? ( virtual/pam )
274 + ssl? ( dev-libs/openssl:0= )
275 + lua? ( dev-lang/lua:0= )
276 + !lua? ( !dev-lang/lua )
277 + >=sys-apps/hwloc-1.1.1-r1"
278 +RDEPEND="${DEPEND}
279 + dev-libs/libcgroup"
280 +
281 +REQUIRED_USE="torque? ( perl )"
282 +
283 +LIBSLURM_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurm/perl"
284 +LIBSLURMDB_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurmdb/perl"
285 +
286 +RESTRICT="primaryuri"
287 +
288 +PATCHES=(
289 + "${FILESDIR}"/${P}-disable-sview.patch
290 + "${FILESDIR}"/${P}-glibc-2.25.patch
291 +)
292 +
293 +src_unpack() {
294 + if [[ ${PV} == *9999* ]]; then
295 + git-2_src_unpack
296 + else
297 + default
298 + fi
299 +}
300 +
301 +pkg_setup() {
302 + enewgroup slurm 500
303 + enewuser slurm 500 -1 /var/spool/slurm slurm
304 +}
305 +
306 +src_prepare() {
307 + default
308 +
309 + # pids should go to /var/run/slurm
310 + sed -e "s:/var/run/slurmctld.pid:${EPREFIX}/var/run/slurm/slurmctld.pid:g" \
311 + -e "s:/var/run/slurmd.pid:${EPREFIX}/var/run/slurm/slurmd.pid:g" \
312 + -i "${S}/etc/slurm.conf.example" \
313 + || die "Can't sed for /var/run/slurmctld.pid"
314 + # also state dirs are in /var/spool/slurm
315 + sed -e "s:StateSaveLocation=*.:StateSaveLocation=${EPREFIX}/var/spool/slurm:g" \
316 + -e "s:SlurmdSpoolDir=*.:SlurmdSpoolDir=${EPREFIX}/var/spool/slurm/slurmd:g" \
317 + -i "${S}/etc/slurm.conf.example" \
318 + || die "Can't sed ${S}/etc/slurm.conf.example for StateSaveLocation=*. or SlurmdSpoolDir=*"
319 + # and tmp should go to /var/tmp/slurm
320 + sed -e 's:/tmp:/var/tmp:g' \
321 + -i "${S}/etc/slurm.conf.example" \
322 + || die "Can't sed for StateSaveLocation=*./tmp"
323 +
324 + hprefixify auxdir/{ax_check_zlib,x_ac_{lz4,ofed,munge}}.m4
325 + eautoreconf
326 +}
327 +
328 +src_configure() {
329 + local myconf=(
330 + --sysconfdir="${EPREFIX}/etc/${PN}"
331 + --with-hwloc="${EPREFIX}/usr"
332 + --docdir="${EPREFIX}/usr/share/doc/${P}"
333 + --htmldir="${EPREFIX}/usr/share/doc/${P}"
334 + )
335 + use debug || myconf+=( --disable-debug )
336 + use pam && myconf+=( --with-pam_dir=$(getpam_mod_dir) )
337 + use mysql || myconf+=( --without-mysql_config )
338 + econf "${myconf[@]}" \
339 + $(use_enable pam) \
340 + $(use_with ssl) \
341 + $(use_with munge) \
342 + $(use_enable static-libs static) \
343 + $(use_enable multiple-slurmd)
344 +
345 + # --htmldir does not seems to propagate... Documentations are installed
346 + # in /usr/share/doc/slurm-2.3.0/html
347 + # instead of /usr/share/doc/slurm-2.3.0.2/html
348 + sed \
349 + -e "s|htmldir = .*/html|htmldir = \${prefix}/share/doc/slurm-${PVR}/html|g" \
350 + -i doc/html/Makefile || die
351 + if use perl ; then
352 + # small hack to make it compile
353 + mkdir -p "${S}/src/api/.libs" || die
354 + mkdir -p "${S}/src/db_api/.libs" || die
355 + touch "${S}/src/api/.libs/libslurm.so" || die
356 + touch "${S}/src/db_api/.libs/libslurmdb.so" || die
357 + cd "${LIBSLURM_PERL_S}" || die
358 + S="${LIBSLURM_PERL_S}" SRC_PREP="no" perl-module_src_configure
359 + cd "${LIBSLURMDB_PERL_S}" || die
360 + S="${LIBSLURMDB_PERL_S}" SRC_PREP="no" perl-module_src_configure
361 + cd "${S}" || die
362 + rm -rf "${S}/src/api/.libs" "${S}/src/db_api/.libs" || die
363 + fi
364 +}
365 +
366 +src_compile() {
367 + default
368 + use pam && emake -C contribs/pam
369 + if use perl ; then
370 + cd "${LIBSLURM_PERL_S}" || die
371 + S="${LIBSLURM_PERL_S}" perl-module_src_compile
372 + cd "${LIBSLURMDB_PERL_S}" || die
373 + S="${LIBSLURMDB_PERL_S}" perl-module_src_compile
374 + cd "${S}" || die
375 + fi
376 + use torque && emake -C contribs/torque
377 +}
378 +
379 +src_install() {
380 + default
381 + use pam && emake DESTDIR="${D}" -C contribs/pam install
382 + if use perl; then
383 + cd "${LIBSLURM_PERL_S}" || die
384 + S="${LIBSLURM_PERL_S}" perl-module_src_install
385 + cd "${LIBSLURMDB_PERL_S}" || die
386 + S="${LIBSLURMDB_PERL_S}" perl-module_src_install
387 + cd "${S}" || die
388 + fi
389 + if use torque; then
390 + emake DESTDIR="${D}" -C contribs/torque
391 + rm -f "${ED}/usr/bin/mpiexec" || die
392 + fi
393 + use static-libs || find "${ED}" -name '*.la' -exec rm {} +
394 + # install sample configs
395 + keepdir /etc/slurm
396 + insinto /etc/slurm
397 + doins \
398 + etc/bluegene.conf.example \
399 + etc/cgroup.conf.example \
400 + etc/cgroup_allowed_devices_file.conf.example \
401 + etc/slurm.conf.example \
402 + etc/slurmdbd.conf.example
403 + exeinto /etc/slurm
404 + doexe \
405 + etc/slurm.epilog.clean
406 + # install init.d files
407 + newinitd "$(prefixify_ro ${FILESDIR}/slurmd.initd)" slurmd
408 + newinitd "$(prefixify_ro ${FILESDIR}/slurmctld.initd)" slurmctld
409 + newinitd "$(prefixify_ro ${FILESDIR}/slurmdbd.initd)" slurmdbd
410 + # install conf.d files
411 + newconfd "${FILESDIR}/slurm.confd" slurm
412 + # Install logrotate file
413 + insinto /etc/logrotate.d
414 + newins "${FILESDIR}/logrotate" slurm
415 +}
416 +
417 +pkg_preinst() {
418 + if use munge; then
419 + sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${ED}"etc/conf.d/slurm || die
420 + fi
421 +}
422 +
423 +create_folders_and_fix_permissions() {
424 + einfo "Fixing permissions in ${@}"
425 + mkdir -p ${@}
426 + chown -R ${PN}:${PN} ${@}
427 +}
428 +
429 +pkg_postinst() {
430 + paths=(
431 + "${EROOT}"var/${PN}/checkpoint
432 + "${EROOT}"var/${PN}
433 + "${EROOT}"var/spool/${PN}/slurmd
434 + "${EROOT}"var/spool/${PN}
435 + "${EROOT}"var/run/${PN}
436 + "${EROOT}"var/log/${PN}
437 + /var/tmp/${PN}/${PN}d
438 + /var/tmp/${PN}
439 + )
440 + for folder_path in ${paths[@]}; do
441 + create_folders_and_fix_permissions $folder_path
442 + done
443 + echo
444 +
445 + elog "Please visit the file '/usr/share/doc/${P}/html/configurator.html"
446 + elog "through a (javascript enabled) browser to create a configureation file."
447 + elog "Copy that file to /etc/slurm/slurm.conf on all nodes (including the headnode) of your cluster."
448 + echo
449 + elog "For cgroup support, please see http://www.schedmd.com/slurmdocs/cgroup.conf.html"
450 + elog "Your kernel must be compiled with the wanted cgroup feature:"
451 + elog " General setup --->"
452 + elog " [*] Control Group support --->"
453 + elog " [*] Freezer cgroup subsystem"
454 + elog " [*] Device controller for cgroups"
455 + elog " [*] Cpuset support"
456 + elog " [*] Simple CPU accounting cgroup subsystem"
457 + elog " [*] Resource counters"
458 + elog " [*] Memory Resource Controller for Control Groups"
459 + elog " [*] Group CPU scheduler --->"
460 + elog " [*] Group scheduling for SCHED_OTHER"
461 + elog "Then, set these options in /etc/slurm/slurm.conf:"
462 + elog " ProctrackType=proctrack/cgroup"
463 + elog " TaskPlugin=task/cgroup"
464 + einfo
465 + ewarn "Paths were created for slurm. Please use these paths in /etc/slurm/slurm.conf:"
466 + for folder_path in ${paths[@]}; do
467 + ewarn " ${folder_path}"
468 + done
469 +}