From: Martin Quinson Date: Mon, 16 Feb 2015 14:31:17 +0000 (+0100) Subject: make smpirun guess the hostfile for cluster tags too X-Git-Tag: v3_12~760^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/491af463998597b43a8b9c68c126f97f0089ab5e?hp=5d90d18739a029d69c624b0eb6b95ade682770ac make smpirun guess the hostfile for cluster tags too --- diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 67e4624d23..570d1ed49c 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -225,6 +225,20 @@ if [ -z "${HOSTFILE}" ] ; then HOSTFILETMP=1 HOSTFILE="$(mktemp tmphostXXXXXX)" perl -ne 'print "$1\n" if /.*.*/' ${PLATFORM} > ${HOSTFILE} + perl -ne 'if (/.*> ${HOSTFILE} fi UNROLLEDHOSTFILETMP=0