X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4827d2c33f5cadf967462e483ae5bd735f2150e0..84f68fb3fdb61455f076f6d978c0f89f80a8b7fc:/examples/smpi/replay/smpi_replay.tesh diff --git a/examples/smpi/replay/smpi_replay.tesh b/examples/smpi/replay/smpi_replay.tesh index 11bdb096af..e3a0aa254f 100644 --- a/examples/smpi/replay/smpi_replay.tesh +++ b/examples/smpi/replay/smpi_replay.tesh @@ -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