From 058cc00508ed93929697ae2cd7e6cc6f98911e58 Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 18 Jul 2008 12:58:29 +0000 Subject: [PATCH] - LSF patch for machinefile... --- src/Batch/MpiImpl.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Batch/MpiImpl.cxx b/src/Batch/MpiImpl.cxx index 52fab7a8d..798b4a61b 100644 --- a/src/Batch/MpiImpl.cxx +++ b/src/Batch/MpiImpl.cxx @@ -147,7 +147,10 @@ string MpiImpl_MPICH2::rank() string MpiImpl_MPICH2::boot(const string machinefile, const unsigned int nbnodes) { ostringstream oss; - oss << "mpdboot -n " << nbnodes << " -f " << machinefile << endl; + oss << "mpdboot" << " -n " << nbnodes; + if (machinefile!="") + oss << " -f " << machinefile; + oss << endl; return oss.str(); } -- 2.39.2