]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Update for slurm 21. kleontev/37341_KERNEL_SALOME_COMMAND_TestLauncherSimple_does_not_return 7/head
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 29 Sep 2023 08:53:02 +0000 (10:53 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 2 Oct 2023 11:03:59 +0000 (13:03 +0200)
srun option --oversubscribe should not be used at step level.
Use --overlap instead.

src/Container/SALOME_ContainerManager.cxx

index 84480b4e6999a820fb07309db22799562fcbe39b..4fcfca574ba7693964d701725d510b78cb194468 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 += " ";