From: Christian Heinrich Date: Tue, 13 Mar 2018 13:12:29 +0000 (+0100) Subject: [TESTS] Fix smpi replay test for allgatherv X-Git-Tag: v3.20~600^2~62 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/aa2c1ee416d0f929162081f5b5ae29497515e53d [TESTS] Fix smpi replay test for allgatherv The trace contains data for 4 hosts, although -np 3 was specified. This lead to smpi incorrectly reading the specified datatype, as the data for the 4th host was taken as said datatype. --- diff --git a/examples/smpi/replay/replay.tesh b/examples/smpi/replay/replay.tesh index e2ca2453cc..8569f164d5 100644 --- a/examples/smpi/replay/replay.tesh +++ b/examples/smpi/replay/replay.tesh @@ -319,11 +319,12 @@ p Test of AllGatherv replay with SMPI (one trace for all processes) < replay/actions_allgatherv.txt $ mkfile replay/one_trace -$ ../../smpi_script/bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/simulate-computation:no -np 3 -platform ${srcdir:=.}/../platforms/small_platform.xml -hostfile ${srcdir:=.}/hostfile ./replay/smpi_replay replay/one_trace --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning -> [Tremblay:0:(1) 0.909909] [smpi_replay/VERBOSE] 0 allGatherV 275427 275427 275427 275427 204020 0 0 0.909909 -> [Fafard:2:(3) 1.340304] [smpi_replay/VERBOSE] 2 allGatherV 275427 275427 275427 275427 204020 0 0 1.340304 -> [Jupiter:1:(2) 1.340304] [smpi_replay/VERBOSE] 1 allGatherV 275427 275427 275427 275427 204020 0 0 1.340304 -> [Jupiter:1:(2) 1.340304] [smpi_replay/INFO] Simulation time 1.340304 +$ ../../smpi_script/bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/simulate-computation:no -np 4 -platform ${srcdir:=.}/../platforms/small_platform.xml -hostfile ${srcdir:=.}/hostfile ./replay/smpi_replay replay/one_trace --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning +> [Tremblay:0:(1) 1.397261] [smpi_replay/VERBOSE] 0 allGatherV 275427 275427 275427 275427 204020 0 0 1.397261 +> [Ginette:3:(4) 1.760421] [smpi_replay/VERBOSE] 3 allGatherV 204020 275427 275427 275427 204020 0 0 1.760421 +> [Fafard:2:(3) 1.941986] [smpi_replay/VERBOSE] 2 allGatherV 275427 275427 275427 275427 204020 0 0 1.941986 +> [Jupiter:1:(2) 1.941986] [smpi_replay/VERBOSE] 1 allGatherV 275427 275427 275427 275427 204020 0 0 1.941986 +> [Jupiter:1:(2) 1.941986] [smpi_replay/INFO] Simulation time 1.941986 $ rm -f replay/one_trace