From: secher Date: Tue, 12 Jul 2011 13:01:07 +0000 (+0000) Subject: to allow to generate several batches in the remote directory X-Git-Tag: V1_4_0rc1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39fe0fc63ebbbdb0f6b7ffa06a4ea5a5fec3977d;p=tools%2Flibbatch.git to allow to generate several batches in the remote directory --- 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;