From ec37f70ef7be9efd5f85634255e6248a81f50c69 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Mon, 15 Apr 2024 17:21:57 +0200 Subject: [PATCH] Update for slurm 21. Fix command configuration files (SALOME_CM_REMOTE). --- src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py | 4 ++-- src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.2