From 39fe0fc63ebbbdb0f6b7ffa06a4ea5a5fec3977d Mon Sep 17 00:00:00 2001 From: secher Date: Tue, 12 Jul 2011 13:01:07 +0000 Subject: [PATCH] to allow to generate several batches in the remote directory --- src/CCC/Batch_BatchManager_eCCC.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CCC/Batch_BatchManager_eCCC.cxx b/src/CCC/Batch_BatchManager_eCCC.cxx index f249287..b7337fd 100644 --- a/src/CCC/Batch_BatchManager_eCCC.cxx +++ b/src/CCC/Batch_BatchManager_eCCC.cxx @@ -290,14 +290,14 @@ namespace Batch { tempOutputFile << " bool=1" << endl; tempOutputFile << " else" << endl; tempOutputFile << " for ((j=0;j<$i;j++)); do" << endl; - tempOutputFile << " echo $n >> nodesFile" << endl; + tempOutputFile << " echo $n >> nodesFile." << rootNameToExecute << endl; tempOutputFile << " done" << endl; tempOutputFile << " bool=0" << endl; tempOutputFile << " fi" << endl; tempOutputFile << "done" << endl; // Abstraction of PBS_NODEFILE - TODO - tempOutputFile << "export LIBBATCH_NODEFILE=nodesFile" << endl; + tempOutputFile << "export LIBBATCH_NODEFILE=nodesFile." << rootNameToExecute << endl; // Allow resource sharing in CCRT nodes tempOutputFile << "export OMPI_MCA_orte_process_binding=none" << endl; -- 2.39.2