]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Fixed nodes file when nb procs > 128
authorbarate <barate>
Wed, 23 Feb 2011 14:59:52 +0000 (14:59 +0000)
committerbarate <barate>
Wed, 23 Feb 2011 14:59:52 +0000 (14:59 +0000)
src/LoadLeveler/Batch_BatchManager_eLL.cxx

index a04322add4eb6e1e2c32ec4a9af0f44d647a93b4..d8f4556d22ee04d6664eb2a657b9e0bdf0902493 100644 (file)
@@ -186,11 +186,7 @@ namespace Batch {
     tempOutputFile << "# @ queue" << endl;
 
     // generate nodes file
-    tempOutputFile << "NODEFILE=`mktemp nodefile-XXXXXXXXXX` || exit 1" << endl;
-    tempOutputFile << "for node in $LOADL_PROCESSOR_LIST; do" << endl;
-    tempOutputFile << "  echo $node >> $NODEFILE" << endl;
-    tempOutputFile << "done" << endl;
-    tempOutputFile << "export LIBBATCH_NODEFILE=$NODEFILE" << endl;
+    tempOutputFile << "export LIBBATCH_NODEFILE=$LOADL_HOSTFILE" << endl;
 
     // Launch the executable
     tempOutputFile << "cd " << workDir << endl;