Salome HOME
Add possibility to specify extra parameters (Slurm and CCC)
[tools/libbatch.git] / src / CCC / BatchManager_CCC.cxx
index eaea3320542284899bb98b5bd44d7edd37ab112c..c4f5bc5801db6bf1c2694aa78853a14c236444d2 100644 (file)
@@ -229,6 +229,9 @@ namespace Batch {
     tempOutputFile << "#MSUB -o " << baseDir << "/logs/output.log." << rootNameToExecute << endl ;
     tempOutputFile << "#MSUB -e " << baseDir << "/logs/error.log." << rootNameToExecute << endl ;
 
+    if (params.find(EXTRAPARAMS) != params.end())
+      tempOutputFile << params[EXTRAPARAMS] << endl;
+
     tempOutputFile << "cd " << workDir << endl ;
 
     // generate nodes file