Salome HOME
Add possibility to specify extra parameters (Slurm and CCC)
[tools/libbatch.git] / src / Slurm / BatchManager_Slurm.cxx
index 0fe20d03ba36424b8bb6c48efc5d9d9e37c4abd8..17a7773a4d120b88933f3b1d05c0822e2cfaf983 100644 (file)
@@ -154,6 +154,8 @@ namespace Batch {
       tempOutputFile << "#SBATCH --partition=" << params[QUEUE] << endl;
     if (params.find(WCKEY) != params.end())
       tempOutputFile << "#SBATCH --wckey=" << params[WCKEY] << endl;
+    if (params.find(EXTRAPARAMS) != params.end())
+      tempOutputFile << params[EXTRAPARAMS] << endl;
 
     // Define environment for the job
     Environnement env = job.getEnvironnement();