]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Change the translation of the parameter "QUEUE" for slurm. omu/fixes
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 18 Oct 2016 13:52:17 +0000 (15:52 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 18 Oct 2016 13:52:17 +0000 (15:52 +0200)
The translation of the generic parameter "QUEUE" for slurm is
changed from "partition" to "qos" because it is considered more
accurate.

src/Slurm/BatchManager_Slurm.cxx

index 7c42367782047e303ce77c7299260ffcfee6c212..8199cb572387b74abec794b4c4ce9c9584266d48 100644 (file)
@@ -151,7 +151,7 @@ namespace Batch {
     else if (params.find(MEMPERCPU) != params.end())
       tempOutputFile << "#SBATCH --mem-per-cpu=" << params[MEMPERCPU] << endl;
     if (params.find(QUEUE) != params.end())
-      tempOutputFile << "#SBATCH --partition=" << params[QUEUE] << endl;
+      tempOutputFile << "#SBATCH --qos=" << params[QUEUE] << endl;
     if (params.find(WCKEY) != params.end())
       tempOutputFile << "#SBATCH --wckey=" << params[WCKEY] << endl;
     if (params.find(EXTRAPARAMS) != params.end())