From e37c7c0977b05e62ed39aa85fd63adcfd119d661 Mon Sep 17 00:00:00 2001 From: ribes Date: Tue, 17 Nov 2009 09:24:23 +0000 Subject: [PATCH] - Adding LIBBATCH_NODEFILE abstraction --- src/PBS/Batch_BatchManager_ePBS.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.39.2