Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
generate the one_trace file for each test (will allow me to test several
authorsuter <frederic.suter@cc.in2p3.fr>
Thu, 29 Nov 2012 15:27:09 +0000 (16:27 +0100)
committersuter <frederic.suter@cc.in2p3.fr>
Thu, 29 Nov 2012 16:14:22 +0000 (17:14 +0100)
basic traces with a single temporary file)

examples/smpi/replay/smpi_replay.tesh

index 11bdb09..e3a0aa2 100644 (file)
@@ -1,7 +1,12 @@
 # use the tested library, not the installed one
 # (since we want to pass it to the child, it has to be redefined before each command)
 # Go for the first test
+
 p Test of trace replay with SMPI (one trace for all processes)
+
+< replay/actions_bcast.txt
+$ mkfile replay/one_trace
+
 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
@@ -26,8 +31,13 @@ $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_rep
 > [Tremblay:0:(0) 231.413449] [smpi_replay/VERBOSE] 0 reduce 5e8 5e8 73.739750
 > [Tremblay:0:(0) 231.413449] [smpi_replay/INFO] Simulation time 231.413
 
+$ rm -f replay/one_trace
 
 p The same with tracing activated
+
+< replay/actions_bcast.txt
+$ mkfile replay/one_trace
+
 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=no_loc  --cfg=tracing:1 --cfg=tracing/smpi:1 --cfg=tracing/smpi/computing:1 --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
@@ -39,6 +49,8 @@ $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=no_loc
 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
 > [Tremblay:0:(0) 231.413449] [smpi_replay/INFO] Simulation time 231.413
 
+$ rm -f replay/one_trace
+
 
 $ tail -n +3 ./simgrid.trace
 > %EventDef PajeDefineContainerType 0