From: Ovidiu Mircescu Date: Fri, 29 Sep 2023 08:53:02 +0000 (+0200) Subject: Update for slurm 21. X-Git-Tag: V9_12_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef7cf2d7c9c5ab462d1dddc67daa4369604a00ca;p=modules%2Fkernel.git Update for slurm 21. srun option --oversubscribe should not be used at step level. Use --overlap instead. --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 150897038..8acadd976 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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 += " ";