From 491af463998597b43a8b9c68c126f97f0089ab5e Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 16 Feb 2015 15:31:17 +0100 Subject: [PATCH] make smpirun guess the hostfile for cluster tags too --- src/smpi/smpirun.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.20.1