X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25b3e78d97e7c8971637bf9c6832d05beb978b2d..48e697b8984383fadb27c39eeaf92e154ee3b50e:/examples/smpi/ampi_test/ampi_test.tesh diff --git a/examples/smpi/ampi_test/ampi_test.tesh b/examples/smpi/ampi_test/ampi_test.tesh new file mode 100644 index 0000000000..8e4a51a69e --- /dev/null +++ b/examples/smpi/ampi_test/ampi_test.tesh @@ -0,0 +1,35 @@ +# 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 if the load balancing code gets traced correctly +! timeout 60 + +$ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files + +$ ../../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_test/smpi_ampi_test --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/wtime:0 + +$ bash -c "cat ${bindir:=.}/smpi_trace.trace_files/*" +> 0 init +> 0 iteration_in +> 0 iteration_out +> 0 iteration_in +> 0 iteration_out +> 0 migrate 0 +> 0 finalize +> 1 init +> 1 iteration_in +> 2 init +> 2 iteration_in +> 1 iteration_out +> 1 iteration_in +> 2 iteration_out +> 2 iteration_in +> 1 iteration_out +> 1 migrate 400 +> 1 finalize +> 2 iteration_out +> 2 migrate 400 +> 2 finalize + +$ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files