Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove redundant command from distcheck.
[simgrid.git] / examples / smpi / ampi / ampi.tesh
1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 # Go for the first test
4
5 p Test if the load balancing code gets traced correctly
6 ! timeout 60
7
8 $ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files
9
10 $ ../../smpi_script/bin/smpirun -trace-ti --cfg=tracing/filename:${bindir:=.}/smpi_trace.trace --cfg=tracing/smpi/format/ti-one-file:yes -no-privatize -replay ${srcdir:=.}/replay/actions_bcast.txt --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 ./ampi/smpi_ampi --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/wtime:0
11
12 $ bash -c "cat ${bindir:=.}/smpi_trace.trace_files/*"
13 > 0 init
14 > 0 iteration_in
15 > 0 iteration_out
16 > 0 iteration_in
17 > 0 iteration_out
18 > 0 migrate 0
19 > 0 finalize
20 > 1 init
21 > 1 iteration_in
22 > 2 init
23 > 2 iteration_in
24 > 1 iteration_out
25 > 1 iteration_in
26 > 2 iteration_out
27 > 2 iteration_in
28 > 1 iteration_out
29 > 1 migrate 400
30 > 1 finalize
31 > 2 iteration_out
32 > 2 migrate 400
33 > 2 finalize
34
35 $ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files