Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these ones were critical actually.
authorAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 15 Jul 2020 00:09:33 +0000 (02:09 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 15 Jul 2020 00:09:33 +0000 (02:09 +0200)
src/smpi/smpirun.in

index 245881d..c558d38 100755 (executable)
@@ -455,7 +455,7 @@ else
     done
 fi
 
-set -- "$hostnames"
+set -- $hostnames
 
 ##---- generate <actor> 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