Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a new ti-tracing/replay test (in teshsuite) to improve coverage.
[simgrid.git] / teshsuite / smpi / replay / replay.tesh
1 # Replay test with all collectives, and two runs to 
2 ! output sort
3
4 p First test
5 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ${bindir:=.}/../hostfile_coll -platform ${platfdir}/small_platform.xml -np 4 --log=xbt_cfg.thres:critical --log=smpi_config.thres:warning --log=smpi_coll.thres:error --log=smpi_mpi.thres:error --log=smpi_pmpi.thres:error --cfg=smpi/simulate-computation:false -trace-ti --cfg=tracing/filename:trace1 ${bindir:=.}/replay
6
7 p Replay
8 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ${bindir:=.}/../hostfile_coll -platform ${platfdir}/small_platform.xml -np 4 --log=xbt_cfg.thres:critical --log=smpi_config.thres:warning --log=smpi_coll.thres:error --log=smpi_mpi.thres:error --log=smpi_pmpi.thres:error --cfg=smpi/simulate-computation:false -trace-ti --cfg=tracing/filename:trace2 -replay ${bindir:=.}/trace1
9 > [Tremblay:1:(2) 0.173855] [smpi_replay/INFO] Simulation time 0.173855
10
11 p Compare traces
12 $ sh -c "diff trace1_files/*1.txt trace2_files/*1.txt"
13
14 $ sh -c "rm -rf trace1* trace2*"
15