Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tell when we have more leaked handles to display
[simgrid.git] / teshsuite / smpi / coll-allreduce-with-leaks / coll-allreduce-with-leaks.tesh
1 # Smpi Allreduce collectives tests
2 ! output sort
3
4 p Test allreduce
5 $ $VALGRIND_NO_LEAK_CHECK ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ../hostfile_coll -platform  ${platfdir:=.}/small_platform.xml -np 16 --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
6 > [rank 0] -> Tremblay
7 > [rank 1] -> Tremblay
8 > [rank 2] -> Tremblay
9 > [rank 3] -> Tremblay
10 > [rank 4] -> Jupiter
11 > [rank 5] -> Jupiter
12 > [rank 6] -> Jupiter
13 > [rank 7] -> Jupiter
14 > [rank 8] -> Fafard
15 > [rank 9] -> Fafard
16 > [rank 10] -> Fafard
17 > [rank 11] -> Fafard
18 > [rank 12] -> Ginette
19 > [rank 13] -> Ginette
20 > [rank 14] -> Ginette
21 > [rank 15] -> Ginette
22 > If this is too much, consider sharing allocations for computation buffers.
23 > Largest allocation at once from a single process was 64 bytes, at sysdep.h:59. It was called 32 times during the whole simulation.
24 > Running smpirun with -wrapper "valgrind --leak-check=full" can provide more information
25 > 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)
26 > [0.023768] [smpi_utils/INFO] Probable memory leaks in your code: SMPI detected 32 unfreed MPI handles : display types and addresses (n max) with --cfg=smpi/list-leaks:n.
27 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Group
28 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Comm
29 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Group
30 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Comm
31 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Group
32 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Comm
33 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Group
34 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Comm
35 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Group
36 > [0.023768] [smpi_utils/WARNING] Leaked handle of type simgrid::smpi::Comm
37 > [0.023768] [smpi_utils/WARNING] (more handle leaks hidden as you wanted to see only 10 of them)
38 > [0.023768] [smpi_utils/INFO] Memory Usage: Simulated application allocated 2048 bytes during its lifetime through malloc/calloc calls.
39
40