From: Ovidiu Mircescu Date: Tue, 18 Oct 2016 13:52:17 +0000 (+0200) Subject: Change the translation of the parameter "QUEUE" for slurm. X-Git-Tag: V2_3_1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fomu%2Ffixes;p=tools%2Flibbatch.git Change the translation of the parameter "QUEUE" for slurm. The translation of the generic parameter "QUEUE" for slurm is changed from "partition" to "qos" because it is considered more accurate. --- diff --git a/src/Slurm/BatchManager_Slurm.cxx b/src/Slurm/BatchManager_Slurm.cxx index 7c42367..8199cb5 100644 --- a/src/Slurm/BatchManager_Slurm.cxx +++ b/src/Slurm/BatchManager_Slurm.cxx @@ -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())