]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Update for slurm 21.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 29 Sep 2023 08:53:02 +0000 (10:53 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 29 Sep 2023 08:53:02 +0000 (10:53 +0200)
srun option --oversubscribe should not be used at step level.
Use --overlap instead.

src/Container/SALOME_ContainerManager.cxx

index 15089703810931d77120c95d0e1bf4251ea4e920..8acadd9762d5cdb7225fdfa0c72c67eaef8edbf8 100644 (file)
@@ -1345,7 +1345,7 @@ std::string SALOME_ContainerManager::BuildTempFileToLaunchRemoteContainer (const
 
   else if (resInfo.Protocol == srun)
     {
-      command = "srun -n 1 -N 1 -s --mem-per-cpu=0 --cpu-bind=none --nodelist=";
+      command = "srun -n 1 -N 1 --overlap --mem-per-cpu=0 --cpu-bind=none --nodelist=";
       std::string commandRcp = "rcp ";
       commandRcp += tmpFileName;
       commandRcp += " ";