1
1
openmpi/ompi/mpi
Nathan Hjelm 005c6022e2 mca/base: fix bugs in framework deregistration/re-registration
There were a number of bugs in the framework/variable code that
affected deregistration:

 - Frameworks could be erroneously closed if seperately registered and
   opened then subsequently closed. This was a bug in the original
   design which only reference counted opens but not
   registrations. This would cause undefined behavior if
   MPI_T_finalize actually calls ompi_info_close_components as
   intended. Now both registrations and opens are reference counted
   and frameworks/components are not torn down until the matching
   number of close calls have been made.

 - group_find_by_name did not pass the invalidok flags down
   to mca_base_var_group_get_internal correctly.

 - Group deregistration caused the group to be completely reset. This
   does not match the behavior required by MPI_T as it could reduce
   the number of variables/subgroups in a group.

This commit also updates MPI_T_finalize to call
ompi_info_close_components as originally intended.

Closes #374

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-03-09 16:52:53 -06:00
..
c cart_rank: protect against (cart==NULL) possibilities 2015-02-24 15:24:09 -05:00
cxx Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00
fortran fortran: fix misc memory leak in lookup_name 2015-02-18 16:41:56 +09:00
java java MPI bindings: use strdup() 2015-02-25 14:21:42 -08:00
man/man3 MPI_Comm_split_type.3in: remove erroneous "color" discussion 2015-02-28 09:33:17 -08:00
tool mca/base: fix bugs in framework deregistration/re-registration 2015-03-09 16:52:53 -06:00
help-mpi-api.txt LANL noticed that calling MPI_ABORT invokes opal_output(0, ...) 2008-10-14 19:23:03 +00:00
Makefile.am Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00