[MPICH] test/mpi/comm/cmfree.c
Toon Knapen
toon.knapen at fft.be
Thu Jul 12 06:51:23 CDT 2007
Hi all,
IMO test/mpi/comm/cmfree.c in mpich2-1.0.5p4 there is one MPI_Comm_free
missing.
On line 29, there is a `MPI_Comm_dup(MPI_COMM_WORLD,&comm)`. However the
comm that gets created here is only freed if 'rank == dest' on line 54.
In all ranks that are not equal to 'dest', the communicator is never freed.
Of course, this is not an error (just a leak) but wanted to let you know
nevertheless,
toon
More information about the mpich-discuss
mailing list