From: Ovidiu Mircescu Date: Wed, 19 Feb 2020 14:24:21 +0000 (+0100) Subject: Update for slurm 19.05 X-Git-Tag: V9_5_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c1a5c09fded476afdd1eec00752642312568b93;p=modules%2Fkernel.git 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. --- 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 += " ";