From 4339cfd5b7bd278326b9e7c6467dd72cb87ea456 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Wed, 15 Jul 2020 02:09:33 +0200 Subject: [PATCH] these ones were critical actually. --- src/smpi/smpirun.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 245881de5d..c558d38d68 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -455,7 +455,7 @@ else done fi -set -- "$hostnames" +set -- $hostnames ##---- generate tags------------------------------ #prepare arguments at once @@ -550,7 +550,7 @@ fi # * The FD 3 is used to temporarily store FD 1. This is because the shell connects FD 1 to /dev/null when the command # is launched in the background: this can be overridden in bash but not in standard bourne shell. exec 3<&0 -${WRAPPER} "@SMPIMAIN@" "${EXEC}" ${PRIVATIZE} "${TRACEOPTIONS}" "${SIMOPTS}" "${PLATFORMTMP}" "${APPLICATIONTMP}" <&3 3>&- & +${WRAPPER} "@SMPIMAIN@" "${EXEC}" ${PRIVATIZE} ${TRACEOPTIONS} ${SIMOPTS} "${PLATFORMTMP}" "${APPLICATIONTMP}" <&3 3>&- & pid=$! exec 3>&- wait $pid -- 2.20.1