tempOutputFile << "#PBS -l mem=" << mem << "mb" << endl;
tempOutputFile << "#PBS -o " << workDir << "/logs/output.log." << rootNameToExecute << endl;
tempOutputFile << "#PBS -e " << workDir << "/logs/error.log." << rootNameToExecute << endl;
+
+ // Abstraction of PBS_NODEFILE - TODO
+ tempOutputFile << "export LIBBATCH_NODEFILE=$PBS_NODEFILE" << endl;
+
+ // Launch the executable
tempOutputFile << "cd " << workDir << endl;
tempOutputFile << "./" + fileNameToExecute << endl;
tempOutputFile.flush();