Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
slight modifications to make things work
authorsuter <frederic.suter@cc.in2p3.fr>
Wed, 26 Sep 2012 12:33:22 +0000 (14:33 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Wed, 26 Sep 2012 13:00:19 +0000 (15:00 +0200)
examples/smpi/replay/one_trace
examples/smpi/replay/split_traces
src/smpi/smpirun.in

index fe2157c..c46e677 100644 (file)
@@ -1 +1 @@
-actions_bcast.txt
+replay/actions_bcast.txt
index 67cc1e1..d7ae089 100644 (file)
@@ -1,2 +1,2 @@
-actions0.txt
-actions1.txt
+replay/actions0.txt
+replay/actions1.txt
index 569dc88..2ef2757 100755 (executable)
@@ -224,7 +224,7 @@ if [ -n "${HOSTFILE}" ] && [ -f ${HOSTFILE} ]; then
       NUMHOSTS=`cat ${HOSTFILE} | wc -l`
 fi
 
-if [ ${EXEC} = "./replay" ]; then 
+if [ ${EXEC} = "./smpi_replay" ]; then 
   APP_TRACES=$1;
   if [ -n "${APP_TRACES}" ] && [ -f ${APP_TRACES} ]; then
      hosttraces=(`cat ${APP_TRACES} | tr \\\n " "`)
@@ -270,7 +270,7 @@ do
   fi
   echo "  <process host=\"${host}\" function=\"$i\"> <!-- function name used only for logging -->" >> ${APPLICATIONTMP}
   echo "    <argument value=\"$i\"/> <!-- rank -->" >> ${APPLICATIONTMP}
-  if [ ${EXEC} = "./replay" ]; then
+  if [ ${EXEC} = "./smpi_replay" ]; then
     if  [ ${NUMTRACES} -gt 1 ]; then
       echo "    <argument value=\"${hosttraces[$j]}\"/>" >> ${APPLICATIONTMP}
     else