Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no need to add "rank" to the rank (will decrease trace size for replay)
authorsuter <frederic.suter@cc.in2p3.fr>
Mon, 9 Jul 2012 12:17:27 +0000 (14:17 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Mon, 9 Jul 2012 12:33:44 +0000 (14:33 +0200)
src/smpi/smpirun.in

index 1770c4b..aa962e2 100755 (executable)
@@ -248,7 +248,7 @@ do
   else
        host="${hostnames[$j]}"
   fi
   else
        host="${hostnames[$j]}"
   fi
-  echo "  <process host=\"${host}\" function=\"rank$i\"> <!-- function name used only for logging -->" >> ${APPLICATIONTMP}
+  echo "  <process host=\"${host}\" function=\"$i\"> <!-- function name used only for logging -->" >> ${APPLICATIONTMP}
   echo "    <argument value=\"$i\"/> <!-- rank -->" >> ${APPLICATIONTMP}
   for ARG in $*; do
     echo "    <argument value=\"${ARG}\"/>" >> ${APPLICATIONTMP}
   echo "    <argument value=\"$i\"/> <!-- rank -->" >> ${APPLICATIONTMP}
   for ARG in $*; do
     echo "    <argument value=\"${ARG}\"/>" >> ${APPLICATIONTMP}