From 53cbb1e24e53f2b6bd23bd91292e06862d9273b3 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Fri, 29 Sep 2023 10:53:02 +0200 Subject: [PATCH] Update for slurm 21. srun option --oversubscribe should not be used at step level. Use --overlap instead. --- src/Container/SALOME_ContainerManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 84480b4e6..4fcfca574 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 += " "; -- 2.39.2