- Fix a typo
OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=209
This commit is contained in:
parent
7d13a7ba97
commit
167150eca6
@ -887,7 +887,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user