Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use xbt logs, not printf.
[simgrid.git] / teshsuite / smpi / coll-allreduce-with-leaks / mc-coll-allreduce-with-leaks.tesh
1 # Smpi Allreduce collectives tests
2
3 p Test allreduce
4 $ $VALGRIND_NO_LEAK_CHECK ${bindir:=.}/../../../smpi_script/bin/smpirun -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -map -hostfile ../hostfile_coll -platform  ${platfdir:=.}/small_platform.xml -np 4 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-allreduce-with-leaks --log=smpi_config.thres:warning --cfg=smpi/display-allocs:yes --cfg=smpi/simulate-computation:no --log=smpi_coll.thres:error --log=smpi_mpi.thres:error --log=smpi_pmpi.thres:error --cfg=smpi/list-leaks:10 --log=no_loc
5 > [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor.
6 > [0.000000] [smpi/INFO] [rank 0] -> Tremblay
7 > [0.000000] [smpi/INFO] [rank 1] -> Tremblay
8 > [0.000000] [smpi/INFO] [rank 2] -> Tremblay
9 > [0.000000] [smpi/INFO] [rank 3] -> Tremblay
10 > [0.000000] [smpi_utils/INFO] Probable memory leaks in your code: SMPI detected 8 unfreed MPI handles :
11 > [0.000000] [smpi_utils/WARNING] To get more information (location of allocations), compile your code with -trace-call-location flag of smpicc/f90
12 > [0.000000] [smpi_utils/INFO] 4 leaked handles of type MPI_Comm
13 > [0.000000] [smpi_utils/INFO] 4 leaked handles of type MPI_Group
14 > [0.000000] [smpi_utils/INFO] Probable memory leaks in your code: SMPI detected 8 unfreed buffers :
15 > [0.000000] [smpi_utils/INFO] leaked allocations of total size 152, called 8 times, with minimum size 16 and maximum size 28
16 > [0.000000] [smpi_utils/INFO] Memory Usage: Simulated application allocated 152 bytes during its lifetime through malloc/calloc calls.
17 > Largest allocation at once from a single process was 28 bytes, at coll-allreduce-with-leaks.c:28. It was called 1 times during the whole simulation.
18 > If this is too much, consider sharing allocations for computation buffers.
19 > This can be done automatically by setting --cfg=smpi/auto-shared-malloc-thresh to the minimum size wanted size (this can alter execution if data content is necessary)
20
21 > [0.000000] [smpi_utils/INFO] Probable memory leaks in your code: SMPI detected 8 unfreed MPI handles :
22 > [0.000000] [smpi_utils/WARNING] To get more information (location of allocations), compile your code with -trace-call-location flag of smpicc/f90
23 > [0.000000] [smpi_utils/INFO] 4 leaked handles of type MPI_Comm
24 > [0.000000] [smpi_utils/INFO] 4 leaked handles of type MPI_Group
25 > [0.000000] [smpi_utils/INFO] Probable memory leaks in your code: SMPI detected 8 unfreed buffers :
26 > [0.000000] [smpi_utils/INFO] leaked allocations of total size 152, called 8 times, with minimum size 16 and maximum size 28
27 > [0.000000] [smpi_utils/INFO] Memory Usage: Simulated application allocated 152 bytes during its lifetime through malloc/calloc calls.
28 > Largest allocation at once from a single process was 28 bytes, at coll-allreduce-with-leaks.c:28. It was called 1 times during the whole simulation.
29 > If this is too much, consider sharing allocations for computation buffers.
30 > This can be done automatically by setting --cfg=smpi/auto-shared-malloc-thresh to the minimum size wanted size (this can alter execution if data content is necessary)
31
32 > [0.000000] [mc_safety/INFO] No property violation found.
33 > [0.000000] [mc_safety/INFO] Expanded states = 63
34 > [0.000000] [mc_safety/INFO] Visited states = 500
35 > [0.000000] [mc_safety/INFO] Executed transitions = 484