From: ribes Date: Tue, 17 Nov 2009 09:24:23 +0000 (+0000) Subject: - Adding LIBBATCH_NODEFILE abstraction X-Git-Tag: new_launcher_alpha_091119~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e37c7c0977b05e62ed39aa85fd63adcfd119d661;p=tools%2Flibbatch.git - Adding LIBBATCH_NODEFILE abstraction --- diff --git a/src/PBS/Batch_BatchManager_ePBS.cxx b/src/PBS/Batch_BatchManager_ePBS.cxx index 31ed6ab..aa8a8d9 100644 --- a/src/PBS/Batch_BatchManager_ePBS.cxx +++ b/src/PBS/Batch_BatchManager_ePBS.cxx @@ -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();