Salome HOME
Update for slurm 19.05
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 19 Feb 2020 14:24:21 +0000 (15:24 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 19 Feb 2020 14:24:21 +0000 (15:24 +0100)
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

index 7e2f7c6c90f8ce0b524d4202b9a463ecd0239674..5b6eef01f6789e1694b2be3c6b97358fdf53a1ba 100644 (file)
@@ -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 += " ";