From: Ovidiu Mircescu Date: Mon, 15 Apr 2024 15:21:57 +0000 (+0200) Subject: Update for slurm 21. X-Git-Tag: emc2p_2.0.0-rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=360b6673e1d810b5dbcefd39d1393e36b255f0d5;p=modules%2Fkernel.git Update for slurm 21. Fix command configuration files (SALOME_CM_REMOTE). --- diff --git a/src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py b/src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py index f439a541d..54625fac7 100644 --- a/src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py +++ b/src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py @@ -68,7 +68,7 @@ def command(args): elif options.protocol == "srun": # srun command cmd.append("srun") - cmd.append("-n 1 -N 1 -s --mem-per-cpu=0 --cpu-bind=none") + cmd.append("-n 1 -N 1 --overlap --mem-per-cpu=0 --cpu-bind=none") cmd.append("--nodelist=" + options.host) elif options.protocol == "pbsdsh": @@ -105,4 +105,4 @@ def command(args): # elif ignore other appli_mode value - return " ".join(cmd) \ No newline at end of file + return " ".join(cmd) diff --git a/src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py b/src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py index a9808c17a..3de840deb 100644 --- a/src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py +++ b/src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py @@ -68,7 +68,7 @@ def command(args): elif options.protocol == "srun": # srun command cmd.append("srun") - cmd.append("-n 1 -N 1 -s --mem-per-cpu=0 --cpu-bind=none") + cmd.append("-n 1 -N 1 --overlap --mem-per-cpu=0 --cpu-bind=none") cmd.append("--nodelist=" + options.host) elif options.protocol == "pbsdsh": @@ -112,4 +112,4 @@ def command(args): # elif ignore other appli_mode value - return " ".join(cmd) \ No newline at end of file + return " ".join(cmd)