]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
to allow to generate several batches in the remote directory
authorsecher <secher>
Tue, 12 Jul 2011 13:01:07 +0000 (13:01 +0000)
committersecher <secher>
Tue, 12 Jul 2011 13:01:07 +0000 (13:01 +0000)
src/CCC/Batch_BatchManager_eCCC.cxx

index f249287498843056ca8ce68805c916bcad47ce26..b7337fdb7236b63f751408439f692bfe6c99a118 100644 (file)
@@ -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;