tempOutputFile << "export LIBBATCH_NODEFILE" << endl;
// Launch the executable
- tempOutputFile << "./" + fileNameToExecute << endl;
+ tempOutputFile << "./" + fileNameToExecute;
+ if (params.find(ARGUMENTS) != params.end()) {
+ Versatile V = params[ARGUMENTS];
+ for(Versatile::const_iterator it=V.begin(); it!=V.end(); it++) {
+ StringType argt = * static_cast<StringType *>(*it);
+ string arg = argt;
+ tempOutputFile << " " << arg;
+ }
+ }
+ tempOutputFile << endl;
// Remove the node file
tempOutputFile << "rm $LIBBATCH_NODEFILE" << endl;