From: barate Date: Wed, 23 Feb 2011 14:59:52 +0000 (+0000) Subject: Fixed nodes file when nb procs > 128 X-Git-Tag: V1_3_0rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed36c741d48386b917acc49c69ed32aec4b996c0;p=tools%2Flibbatch.git Fixed nodes file when nb procs > 128 --- diff --git a/src/LoadLeveler/Batch_BatchManager_eLL.cxx b/src/LoadLeveler/Batch_BatchManager_eLL.cxx index a04322a..d8f4556 100644 --- a/src/LoadLeveler/Batch_BatchManager_eLL.cxx +++ b/src/LoadLeveler/Batch_BatchManager_eLL.cxx @@ -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;