From 1c1a5c09fded476afdd1eec00752642312568b93 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Wed, 19 Feb 2020 15:24:21 +0100 Subject: [PATCH] Update for slurm 19.05 Option --share for srun no longer exists in the latest version of slurm. It is replaced by -s or --oversubscribe. --- 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 7e2f7c6c9..5b6eef01f 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -1141,7 +1141,7 @@ std::string SALOME_ContainerManager::BuildTempFileToLaunchRemoteContainer (const else if (resInfo.Protocol == srun) { - command = "srun -n 1 -N 1 --share --mem-per-cpu=0 --nodelist="; + command = "srun -n 1 -N 1 -s --mem-per-cpu=0 --nodelist="; std::string commandRcp = "rcp "; commandRcp += tmpFileName; commandRcp += " "; -- 2.39.2