diff --git a/slurm.changes b/slurm.changes index 7193a6d..2220465 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jul 14 15:20:46 UTC 2022 - Egbert Eich + +- Improve check for mpicc in testsuite package: if binary isn't + found, don't crash. +- Fix a typo which prevented the nproc limit for slurmd to be + up-ed for the test suite. + ------------------------------------------------------------------- Mon Jun 20 09:23:17 UTC 2022 - Christian Goll diff --git a/slurm.spec b/slurm.spec index fcfacfa..dc231c2 100644 --- a/slurm.spec +++ b/slurm.spec @@ -864,7 +864,9 @@ cat > %{buildroot}/srv/slurm-testsuite/testsuite/expect/globals.local </dev/null ]}]} { + set mpicc "" +} set testsuite_user "auser" #set testsuite_cleanup_on_failure false EOF @@ -887,7 +889,7 @@ cp %{buildroot}/%_unitdir/slurmd.service $SLURMD_SERVICE if grep -qE "^LimitNPROC" $SLURMD_SERVICE; then sed -i -e '/LimitNPROC/s@=.*@=infinity@' $SLURMD_SERVICE else - sed -i -e '/LimitSTACK/aLimitNPROC=infinity' $SLURMD_SERVICE + sed -i -e '/LimitNPROC/aLimitNPROC=infinity' $SLURMD_SERVICE fi sed -i -e '/ExecStart/aExecStartPre=/bin/bash -c "for i in 0 1 2 3; do test -e /dev/nvidia$i || mknod /dev/nvidia$i c 10 $((i+2)); done"' $SLURMD_SERVICE