From: ribes Date: Fri, 18 Jul 2008 12:58:29 +0000 (+0000) Subject: - LSF patch for machinefile... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=058cc00508ed93929697ae2cd7e6cc6f98911e58;p=modules%2Fkernel.git - LSF patch for machinefile... --- 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(); }