From ed36c741d48386b917acc49c69ed32aec4b996c0 Mon Sep 17 00:00:00 2001 From: barate Date: Wed, 23 Feb 2011 14:59:52 +0000 Subject: [PATCH] Fixed nodes file when nb procs > 128 --- src/LoadLeveler/Batch_BatchManager_eLL.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; -- 2.39.2