]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
- Adding LIBBATCH_NODEFILE abstraction
authorribes <ribes>
Tue, 17 Nov 2009 09:24:23 +0000 (09:24 +0000)
committerribes <ribes>
Tue, 17 Nov 2009 09:24:23 +0000 (09:24 +0000)
src/PBS/Batch_BatchManager_ePBS.cxx

index 31ed6abfba988f0549d69c4377d49b11b2f7b487..aa8a8d9781749f690462414d26cdfff961fa2847 100644 (file)
@@ -256,6 +256,11 @@ namespace Batch {
       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();