From: Cédric Aguerre Date: Wed, 19 Feb 2020 15:01:14 +0000 (+0100) Subject: Update for slurm 19.05 - part II X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c09838dcaecbd88cd1bf9830e805c739124df89;p=modules%2Fyacs.git Update for slurm 19.05 - part II --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 5b6eef01f..e93f66728 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -1261,7 +1261,7 @@ std::string SALOME_ContainerManager::getCommandToRunRemoteProcess(AccessProtocol case srun: // no need to redefine the user with srun, the job user is taken by default // (note: for srun, user id can be specified with " --uid=") - command << "srun -n 1 -N 1 --share --mem-per-cpu=0 --nodelist=" << hostname << " "; + command << "srun -n 1 -N 1 -s --mem-per-cpu=0 --nodelist=" << hostname << " "; break; case pbsdsh: command << "pbsdsh -o -h " << hostname << " ";