diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2013-11-04 11:27:49 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2013-11-04 11:27:49 +0000 |
commit | 1ba3e0caeae5b8e5554734040990c0a0ca563a75 (patch) | |
tree | 8e6ca0a730516b3816bfefe67ce4464da7b9cfda /sys-cluster | |
parent | Version bump per bug #488310 (diff) | |
download | historical-1ba3e0caeae5b8e5554734040990c0a0ca563a75.tar.gz historical-1ba3e0caeae5b8e5554734040990c0a0ca563a75.tar.bz2 historical-1ba3e0caeae5b8e5554734040990c0a0ca563a75.zip |
Version bump for previos branch
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xF82F92E6
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/slurm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/slurm/Manifest | 30 | ||||
-rw-r--r-- | sys-cluster/slurm/slurm-2.5.7.ebuild | 261 |
3 files changed, 283 insertions, 15 deletions
diff --git a/sys-cluster/slurm/ChangeLog b/sys-cluster/slurm/ChangeLog index 5326dbd4e11d..9cfdcd114f64 100644 --- a/sys-cluster/slurm/ChangeLog +++ b/sys-cluster/slurm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/slurm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.25 2013/11/04 11:24:05 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.26 2013/11/04 11:27:43 alexxy Exp $ + +*slurm-2.5.7 (04 Nov 2013) + + 04 Nov 2013; Alexey Shvetsov <alexxy@gentoo.org> +slurm-2.5.7.ebuild: + Version bump for previos branch *slurm-2.6.3 (04 Nov 2013) diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest index 4f0c05ac61d8..db6654cc7e96 100644 --- a/sys-cluster/slurm/Manifest +++ b/sys-cluster/slurm/Manifest @@ -10,27 +10,29 @@ AUX slurmdbd.initd 1830 SHA256 f23e1d6fdfa935bc0830cc963cf25621c9255ef5087171274 DIST slurm-2.4.5.tar.bz2 5377708 SHA256 db1d2f559353e0b494cf7a29ec3f7f314cb2e6131e1b8dfe307cf189b51626a4 SHA512 5e0ed11608bfb00a0f7fa8199fc5aef4d7568fa171570b1f40a6356070f4cde7c4227be3997650d3f2c26b46fd408a2b97d48fd0d0b6aef6a3aff9ea75a22b7a WHIRLPOOL 599aa7c846ca655912711286eaadaef732c434f5bcc0ed905b6aa3bfa07be81322c8b6253bc11e7644f6a72918a2c9383682c97847e8bbd78d77c49b56f5ad9f DIST slurm-2.5.4.tar.bz2 5497719 SHA256 c713ea74742ce14a27b88b02f1a475bc71cde22ad3a323a4d669530d8b68f09e SHA512 46231fbf0237d6afdede1ca8ff32d5e87c1cff1bc13ceb6dd61adc58f142fb5070759e7747a4ae81a54293a2ca73caf9a4fcf535786728178ee0afba141aa7bd WHIRLPOOL bad00e2c9d42a1de3ff87426124fdc5fee1fff368907e0812007ab9bc0aec0127287afe7f77c7d5b3314caec15a9f7b3a83eaf1f6520c2f0ccdfaebd74ba201d DIST slurm-2.5.6.tar.bz2 5586165 SHA256 0bfcf9b5942792c149382c6f890a29ca9fdbc1a083d4ab1de8b08c6d3c6ce48f SHA512 4d8736b101380d04d67c3316f1948fb78f668c650740fbf69ad1b3a647f828b0fc97910659f006c70ab2ed6148883ce1803ff498b0edada3a2205aed10d0db94 WHIRLPOOL 1f1bad205d75ac563c19061ea3806341c78514e3eaa50aa832ffb3a91177a454377689e9bf0a77361bcaa720ac32d9dddd2c34cd3a7aa80a9602fceeac49dac5 +DIST slurm-2.5.7.tar.bz2 5567101 SHA256 a995524430a2833c01c86b3f79be669b7acac54765dc94609c85cbb690a4f9b5 SHA512 6147b30ad2b787675d25032ab94a92b1b579f231bfb1500ce4293cb8350f289d338e903ca1060a6a4adf725f4cc3bd2e93070f4aa8a46655410ec9a694ec5965 WHIRLPOOL 84a504390eabf906a9af170058bb3fb7d57074596d85934c76ebf9c422ba6a3ec2bc3ce804a0558a17a09b145af1a8b6d0c446df44d1ee55c6979cac5c389988 DIST slurm-2.6.3.tar.bz2 5945106 SHA256 3523f6866531d48061e6b4d769a17e005b7d440bb5cee6c6ab6a12518c884d23 SHA512 98e212db02d14d9808c3e89bf0a44f7925dbb8bae360e5084e28c71c0dea0e670a28a0baa1a1511666c42e19693ecd807f24241baa082475f385bf7285dba0cd WHIRLPOOL 5e8955df7419d15f4be78eb1584a5797f6c3b29c01b4352b3f0bf8a7c5e9b96b97aa4ef74ba6bda0f278e80723b72a860eb2c65686bd2adb383ea444d4a62e29 EBUILD slurm-2.4.5.ebuild 7986 SHA256 a90eb47942dedc1e90b659dac63854c83f9fe1fb2cd578b27c345443db985411 SHA512 f760c6f6df9231c8c74075f6c988725b3bea9364212523e74467155bc0257f88d9574240b6fa17f60ff0ebb3d1f372bc41ddb42492673144a26c4f096d9352d1 WHIRLPOOL 439a174b613f2369160978cb8c4780c23753031d52e08f59045ac99d2811fec89098d6d0efbb35e67a77aa90d03355d7d12f8495d305a441dcdc41bf48e57c4d EBUILD slurm-2.5.4.ebuild 8284 SHA256 25e5a79a04afd988131c12f6e950938a7bcf4fdd60d051bc27e70f3b0af8bf4b SHA512 ef8e48d34bbf9991206090b598bf141ecb6738ad10d442ab73ae69af76480b7dfca2accc9e05da675ae7c405b33ba80f68d30d75d9461b390d094b8c92b516eb WHIRLPOOL 991521fa51ba72649737dc32b6d7478899db21e163753b9f3eadf9572e5761013b45e4dcd77859b5a2dffd2589d089e1b9a4020b3c412183a042de9e7ec57d68 EBUILD slurm-2.5.6.ebuild 8284 SHA256 a5ce375f8102b5078f78bd22f4460c25eb4ac49f1c105e62172dc8b4fac39410 SHA512 0ce39a3b14169206a25c992b52fde06c90026d349beb18e14826e5635a2859ad4bf0ebfeb353641ca5282457d56bac77b628b470ab64039e73041fb493855d4b WHIRLPOOL 51727b8b62fce2fdd6e3d3eaa28b66a698c450b59c1ca3e6a9c8587befb6b40193c53d79df94639feaad68b3638d4ba0fcf97912fb3ce61d5d5425643a3db965 +EBUILD slurm-2.5.7.ebuild 8284 SHA256 c5b9fac7158729b968ac2e360c55566d67dbf544a0a86de14f0360ab37b1e370 SHA512 afea14ec08a0d0349a1db99d00b5862f61fbd22aa3ec0b11fba520aa2897c755ab8359493738d4a9cc8b20f9fc7d5e516b573f64fcd7597578564f8561e240e3 WHIRLPOOL 1e7e0b0264ab2b0c4a992ed00cdb1d4ddd20b678e4a58a272ea85cd496605aa816b08269dc2f3485bf0761e3cc6877aee40edf8fa677c32350b34ec47c627ebf EBUILD slurm-2.6.3.ebuild 8284 SHA256 77c43a345979aa20728a269ef4313bf68aba3d8ef46b6ececb91879c48f64085 SHA512 d36e73b3d25e3c51a2e8c9fe6315c04eebe0c0e3aee12b2becd2847b0a3011b35129198bb5bca5fb69f52b511099236dc7c36fc356c59fdf0dda36a04b319a30 WHIRLPOOL 7381d4ae95aaa5b3695e0860d4fe0160120107bfda8f09ab2af8e3012e720f2ff9e7f5310f1a84fecaaea20dad51b65888859c3ad8c4cac89d43945ef727b92b -MISC ChangeLog 4258 SHA256 342bd848a98c40a3896c75393b694fe155041c8539e83ef019b9e2273dcf03ff SHA512 e1104882a8685d58abde25dc43e0784759eb9c890cc4c0e9ec63ac6e976d3e2b1e81cb012e59d2ba5eaba76b5bac163e467e96badf08ca4ce7e4f6aeb8d80659 WHIRLPOOL 206712170b1b6683937ae6bc8e3a958f8e4ee879d7ce7cc4afe45bd15e10b90608102607b5df8e454d078222828d80d088915682dd3ac8d4137f42586d67deca +MISC ChangeLog 4393 SHA256 39434d7ca762f17cda7d26182b63e9180d3bbf4d135f6c65e57f797dd944e229 SHA512 213ec6b611f618281267d0739ff9372e1185806f499612e9018b565821b5962eb707edb0f78af9ea455fb163c18a90397b6675a0202f9a90fca21709306da20a WHIRLPOOL b0c31f72bc32c9ef044bb08d6edbdeb81babd6a232bafc919fceedb75347ae310269dd401d872bca85f27bf9a6d2b0805388298660b7304e94c026fc248cc2b5 MISC metadata.xml 564 SHA256 9f06f3b57990b43d1373d5895f59a73f3d371ed78fe5eff0eacbb143d15a15ca SHA512 bfb5b67ddb87cfcb3fc5dceeb32fed1b801f256cb898cdfd27722123abddcd34bd300c7c3599014ac0d89048645a7fec2f1cfe68a0a06817018a83953555ad54 WHIRLPOOL 9cbe2ec2eaa364467ab660f04bbdaa3199f778b9788cb66aef90c47f09853eb53fce5728571f5c15feae6bd9dfd16b0aa850e44f4c1118da9db9af331b6d369d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSd4PbAAoJEOf+E+/4L5LmWT8P/AwQYx1ioYCFXMp7Tk8vDfed -tZZRF3WIh12tAtYx8Yul65yfE4IqxBqNYajXr61QcB+JuhpWhb24L/88ew8giv55 -wncRyr0wpEJeeGBleUgwMHWP1K4+WwXNecmxqk+s/Df04BSTHJOJxagBhmuVc0V6 -NURapfmdk+tlJQ/55yTkhZlU0ItMsGYgF2QWdsj1LmzrmVrNxd6jKw9sziemvmdI -T+1ndmOjOEt3/vPa5LFbtuQbhKBirB/AfbnNtbhRNMvabiuFhY5S/UAiKSTCMA66 -j5PtbmVjN/9WiQ4Pgg82PwAWQxMgPh1P3w9mvEgzyHhOPxmDNpMxNknT41XwCOQZ -151M+Jt58eegZbWOIVyIE+rjyZBzNjTPXcfD43R5IHe+xKLsGidWilLnDwddeseg -CBfDsm6RNf82HBBKAxG+7XYO5zmU9G0jrGWdoLJY/6a3fGIypALcWIFfNdXhSif0 -BQkGmO7owNpwiQx5xBhF4d1kVDuJtpsun5ibOVbfDUSTtIE9Lnp5pHfXM+dLKFIU -7SgYSufA3coWOIZ51gJ0ZX/ZIOK0neYTIzsfZdbD585VU1x3DqcrA1gOEhZOq5Mc -FkW7o78GpSQ5AxttgwexsLmn3Olsdy8F1zq6rWKIAz7DUnLG/t0W0taZXoKjQx0S -Q+doXlVTDSZc2LKpU+Mc -=gcXS +iQIcBAEBCAAGBQJSd4SwAAoJEOf+E+/4L5LmMk8P/2xYw3RjFgeSA9v308J9+ojS +WY2L3P0uzo4VVpjog42BIJ3akkTxSpVifrO8kVl3ywpkkjS96wBU5j1/LTb2aOyd +dvdR2NPOaVAUzW5XK55jChQJL4+I1TFpdGae2S4YUIsFFyTpKDMpTl3wTlXqL9GF +q99QpAVa+l2ll0aR2Tha8FVnuhh1kLOwhNqc7WanFzerh9g/eG3FoUoMAy8BmybK +ViuwnUriGrEFmT8rKyN+B12cCCr+gxega0p4Rkp0VcAEF0vxNTrEvoMQivC8FGrO +b6l+FeNHNGBA0KV8QZP+yFdqk/eiRl6EldDfOlE4CJX52hfAakrh1ClmfQhgdTgb +34T02+MvO/XepzRKkySQJXZY4MceoAfWZjXVtNYzjRiB3T5tlDskJdsko43b08Vu +33Nff9KQo6CmhF3ROjlrM1Ne5H6RTQmA31Zli6bVZsI7qQf+BY6mIQdhyQAJp/GI +yDu3eVnz3ObOeY7CeC78eO24BvUMWnJ+s0XJ0P55vCiYv6tbbCI73jFLGjxcx9Xb +4695LP+RT7oH5bXNxohZ59EeOWYpPasHddNsVKORFwFJW2JjwLCW5miuo0vvvaRG +12R6HR1cr6dN10GFQi4H9drWcMGVrgx7chwP4vsTd4mHA6L3A3TStaaFHYUnKcaw +wG02mOXghCudXuT0RLF0 +=jCf8 -----END PGP SIGNATURE----- diff --git a/sys-cluster/slurm/slurm-2.5.7.ebuild b/sys-cluster/slurm/slurm-2.5.7.ebuild new file mode 100644 index 000000000000..9b16f43903cd --- /dev/null +++ b/sys-cluster/slurm/slurm-2.5.7.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/slurm-2.5.7.ebuild,v 1.1 2013/11/04 11:27:43 alexxy Exp $ + +EAPI=4 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="git://github.com/SchedMD/slurm.git" + INHERIT_GIT="git-2" + SRC_URI="" + KEYWORDS="" +else + inherit versionator + if [[ ${PV} == *pre* || ${PV} == *rc* ]]; then + MY_PV=$(replace_version_separator 3 '-0.') # pre-releases or release-candidate + else + MY_PV=$(replace_version_separator 3 '-') # stable releases + fi + MY_P="${PN}-${MY_PV}" + INHERIT_GIT="" + SRC_URI="http://www.schedmd.com/download/total/${MY_P}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +inherit autotools base eutils pam perl-module user ${INHERIT_GIT} + +DESCRIPTION="SLURM: A Highly Scalable Resource Manager" +HOMEPAGE="http://www.schedmd.com" + +LICENSE="GPL-2" +SLOT="0" +IUSE="lua maui multiple-slurmd +munge mysql pam perl postgres ssl static-libs torque ypbind" + +DEPEND=" + !sys-cluster/torque + !net-analyzer/slurm + !net-analyzer/sinfo + mysql? ( dev-db/mysql ) + munge? ( sys-auth/munge ) + ypbind? ( net-nds/ypbind ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql-base ) + ssl? ( dev-libs/openssl ) + lua? ( dev-lang/lua ) + !lua? ( !dev-lang/lua ) + >=sys-apps/hwloc-1.1.1-r1" +RDEPEND="${DEPEND} + dev-libs/libcgroup + maui? ( sys-cluster/maui[slurm] )" + +REQUIRED_USE="torque? ( perl )" + +LIBSLURM_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurm/perl" +LIBSLURMDB_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurmdb/perl" + +RESTRICT="primaryuri" + +PATCHES=( + "${FILESDIR}/${PN}-2.5.4-nogtk.patch" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-2_src_unpack + else + default + fi +} + +pkg_setup() { + enewgroup slurm 500 + enewuser slurm 500 -1 /var/spool/slurm slurm +} + +src_prepare() { + # Gentoo uses /sys/fs/cgroup instead of /cgroup + # FIXME: Can the "^/cgroup" and "\([ =\"]\)/cgroup" patterns be merged? + sed \ + -e 's|\([ =\"]\)/cgroup|\1/sys/fs/cgroup|g' \ + -e "s|^/cgroup|/sys/fs/cgroup|g" \ + -i "${S}/doc/man/man5/cgroup.conf.5" \ + -i "${S}/etc/cgroup.release_common.example" \ + -i "${S}/src/common/xcgroup_read_config.c" \ + || die "Can't sed /cgroup for /sys/fs/cgroup" + # and pids should go to /var/run/slurm + sed -e 's:/var/run/slurmctld.pid:/var/run/slurm/slurmctld.pid:g' \ + -e 's:/var/run/slurmd.pid:/var/run/slurm/slurmd.pid:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed for /var/run/slurmctld.pid" + # also state dirs are in /var/spool/slurm + sed -e 's:StateSaveLocation=*.:StateSaveLocation=/var/spool/slurm:g' \ + -e 's:SlurmdSpoolDir=*.:SlurmdSpoolDir=/var/spool/slurm/slurmd:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed ${S}/etc/slurm.conf.example for StateSaveLocation=*. or SlurmdSpoolDir=*" + # and tmp should go to /var/tmp/slurm + sed -e 's:/tmp:/var/tmp:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed for StateSaveLocation=*./tmp" + # disable sview since it need gtk+ + sed -e '/sview/d' \ + -i configure.ac + sed -e 's:sview::g' \ + -i src/Makefile.am + # apply patches + epatch "${PATCHES[@]}" + elibtoolize + eautoreconf +} + +src_configure() { + local myconf=( + --sysconfdir="${EPREFIX}/etc/${PN}" + --with-hwloc="${EPREFIX}/usr" + --docdir="${EPREFIX}/usr/share/doc/${P}" + --htmldir="${EPREFIX}/usr/share/doc/${P}" + ) + use pam && myconf+=( --with-pam_dir=$(getpam_mod_dir) ) + use mysql || myconf+=( --without-mysql_config ) + use postgres || myconf+=( --without-pg_config ) + econf "${myconf[@]}" \ + $(use_enable pam) \ + $(use_with ssl) \ + $(use_with munge) \ + $(use_enable static-libs static) \ + $(use_enable multiple-slurmd) + + # --htmldir does not seems to propagate... Documentations are installed + # in /usr/share/doc/slurm-2.3.0/html + # instead of /usr/share/doc/slurm-2.3.0.2/html + sed -e "s|htmldir = .*/html|htmldir = \${prefix}/share/doc/slurm-${PVR}/html|g" -i doc/html/Makefile || die + if use perl ; then + # small hack to make it compile + mkdir -p "${S}/src/api/.libs" + mkdir -p "${S}/src/db_api/.libs" + touch "${S}/src/api/.libs/libslurm.so" + touch "${S}/src/db_api/.libs/libslurmdb.so" + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" SRC_PREP="no" perl-module_src_configure + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" SRC_PREP="no" perl-module_src_configure + cd "${S}" + rm -rf "${S}/src/api/.libs" "${S}/src/db_api/.libs" + fi +} + +src_compile() { + default + use pam && emake -C contribs/pam || die + if use perl ; then + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" perl-module_src_compile + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" perl-module_src_compile + cd "${S}" + fi + if use torque ; then + emake -C contribs/torque || die + fi +} + +src_install() { + default + use pam && emake DESTDIR="${D}" -C contribs/pam install || die + if use perl; then + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" perl-module_src_install + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" perl-module_src_install + cd "${S}" + fi + if use torque; then + emake DESTDIR="${D}" -C contribs/torque || die + rm -f "${ED}/usr/bin/mpiexec" || die + fi + use static-libs || find "${ED}" -name '*.la' -exec rm {} + + # install sample configs + keepdir /etc/slurm + insinto /etc/slurm + doins etc/bluegene.conf.example + doins etc/cgroup.conf.example + doins etc/cgroup_allowed_devices_file.conf.example + doins etc/slurm.conf.example + doins etc/slurmdbd.conf.example + exeinto /etc/slurm + doexe etc/cgroup.release_common.example + doexe etc/slurm.epilog.clean + # install init.d files + newinitd "${FILESDIR}/slurmd.initd" slurmd + newinitd "${FILESDIR}/slurmctld.initd" slurmctld + newinitd "${FILESDIR}/slurmdbd.initd" slurmdbd + # install conf.d files + newconfd "${FILESDIR}/slurm.confd" slurm + # Install logrotate file + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" slurm || die + # cgroups support + exeinto /etc/slurm/cgroup + doexe etc/cgroup.release_common.example + mv "${D}"/etc/slurm/cgroup/cgroup.release_common.example "${D}"/etc/slurm/cgroup/release_common || die "Can't move cgroup.release_common.example" + ln -s release_common "${D}"/etc/slurm/cgroup/release_cpuset || die "Can't create symbolic link release_cpuset" + ln -s release_common "${D}"/etc/slurm/cgroup/release_devices || die "Can't create symbolic link release_devices" + ln -s release_common "${D}"/etc/slurm/cgroup/release_freezer || die "Can't create symbolic link release_freezer" +} + +pkg_preinst() { + if use munge; then + sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${D}"etc/conf.d/slurm || die + fi + if use ypbind; then + sed -i 's,\(SLURM_USE_YPBIND=\).*,\11,' "${D}"etc/conf.d/slurm || die + fi +} + +create_folders_and_fix_permissions() { + einfo "Fixing permissions in ${@}" + mkdir -p ${@} + chown -R ${PN}:${PN} ${@} +} + +pkg_postinst() { + paths=( + /var/${PN}/checkpoint + /var/${PN} + /var/spool/${PN}/slurmd + /var/spool/${PN} + /var/run/${PN} + /var/log/${PN} + /var/tmp/${PN}/${PN}d + /var/tmp/${PN} + ) + for folder_path in ${paths[@]}; do + create_folders_and_fix_permissions $folder_path + done + einfo + + elog "Please visit the file '/usr/share/doc/${P}/html/configurator.html" + elog "through a (javascript enabled) browser to create a configureation file." + elog "Copy that file to /etc/slurm/slurm.conf on all nodes (including the headnode) of your cluster." + einfo + elog "For cgroup support, please see http://www.schedmd.com/slurmdocs/cgroup.conf.html" + elog "Your kernel must be compiled with the wanted cgroup feature:" + elog " General setup --->" + elog " [*] Control Group support --->" + elog " [*] Freezer cgroup subsystem" + elog " [*] Device controller for cgroups" + elog " [*] Cpuset support" + elog " [*] Simple CPU accounting cgroup subsystem" + elog " [*] Resource counters" + elog " [*] Memory Resource Controller for Control Groups" + elog " [*] Group CPU scheduler --->" + elog " [*] Group scheduling for SCHED_OTHER" + elog "Then, set these options in /etc/slurm/slurm.conf:" + elog " ProctrackType=proctrack/cgroup" + elog " TaskPlugin=task/cgroup" + einfo + ewarn "Paths were created for slurm. Please use these paths in /etc/slurm/slurm.conf:" + for folder_path in ${paths[@]}; do + ewarn " ${folder_path}" + done +} |