From c05045620290ed59f9de337be0b82ebe79b18484 Mon Sep 17 00:00:00 2001 From: suter Date: Tue, 24 Sep 2013 16:07:04 +0200 Subject: [PATCH] also test allgatherv replay (in its new format) --- examples/smpi/replay/actions_allgatherv.txt | 8 ++++---- examples/smpi/replay/smpi_replay.tesh | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/examples/smpi/replay/actions_allgatherv.txt b/examples/smpi/replay/actions_allgatherv.txt index f0c0e58f30..d5d4024aae 100644 --- a/examples/smpi/replay/actions_allgatherv.txt +++ b/examples/smpi/replay/actions_allgatherv.txt @@ -3,10 +3,10 @@ 2 init 3 init -0 allGatherV 275427 275427 275427 275427 204020 0 275427 550854 826281 0 0 -1 allGatherV 275427 275427 275427 275427 204020 0 275427 550854 826281 0 0 -2 allGatherV 275427 275427 275427 275427 204020 0 275427 550854 826281 0 0 -3 allGatherV 204020 275427 275427 275427 204020 0 275427 550854 826281 0 0 +0 allGatherV 275427 275427 275427 275427 204020 0 0 +1 allGatherV 275427 275427 275427 275427 204020 0 0 +2 allGatherV 275427 275427 275427 275427 204020 0 0 +3 allGatherV 204020 275427 275427 275427 204020 0 0 0 finalize 1 finalize diff --git a/examples/smpi/replay/smpi_replay.tesh b/examples/smpi/replay/smpi_replay.tesh index 99551c16e8..664f7a8e48 100644 --- a/examples/smpi/replay/smpi_replay.tesh +++ b/examples/smpi/replay/smpi_replay.tesh @@ -344,6 +344,24 @@ $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_rep $ rm -f replay/one_trace +p Test of AllGatherv replay with SMPI (one trace for all processes) + +< replay/actions_allgatherv.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 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' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1' +> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s) +> [Tremblay:0:(0) 0.841244] [smpi_replay/VERBOSE] 0 allGatherV 275427 275427 275427 275427 204020 0 0 0.841244 +> [Fafard:2:(0) 1.239482] [smpi_replay/VERBOSE] 2 allGatherV 275427 275427 275427 275427 204020 0 0 1.239482 +> [Jupiter:1:(0) 1.239482] [smpi_replay/VERBOSE] 1 allGatherV 275427 275427 275427 275427 204020 0 0 1.239482 +> [Jupiter:1:(0) 1.239482] [smpi_replay/INFO] Simulation time 1.23948 + +$ rm -f replay/one_trace + p Test of waitall replay with SMPI (one trace for all processes) < replay/actions_waitall.txt -- 2.20.1