]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Update for slurm 21.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 15 Apr 2024 15:21:57 +0000 (17:21 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 16 Apr 2024 09:40:23 +0000 (11:40 +0200)
Fix command configuration files (SALOME_CM_REMOTE).

src/Container/ScriptsTemplate/SALOME_CM_REMOTE.py
src/Container/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py

index f439a541d06656eb160e5d1bfa5b1733e3550849..54625fac7db141c34e274128dd54115575d95503 100644 (file)
@@ -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)
index a9808c17a0cd1ae62b0970d7404f598f430b614a..3de840debac3e66034ce84c86e83de7900690873 100644 (file)
@@ -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)