currently, the dynamic/intercomm_create test from the ibm test suite output
the following messages :
dpm_base_disconnect_init: error -12 in isend to process 1
the root cause it task 0 tries to send messages to already exited tasks.
one way of seeing things is that this is an application issue :
task 0 should have MPI_Comm_free'd all its communicator before calling
This can be achieved via the attached patch
an other way of seeing things is that this is a bug in OpenMPI.
In this case, what would be the the right approach ?
- automatically free communicators (if needed) when MPI_Comm_disconnect is
- simply remove communicators (if needed) from ompi_mpi_communicators when
MPI_Comm_disconnect is invoked ?
/* this causes a memory leak, but the application can be seen as
responsible of it */
- other ?
Thanks in advance for your feedback,