1
1
openmpi/ompi/mpi/tool
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
..
profile build: add Automake-like silent/verbose macros for "ln -s ..." operations 2014-03-28 18:24:32 +00:00
category_changed.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
category_get_categories.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
category_get_cvars.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
category_get_index.c Add new MPI-3.1 tools interface functions. 2014-03-12 16:03:39 +00:00
category_get_info.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
category_get_num.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
category_get_pvars.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
cvar_get_index.c Add new MPI-3.1 tools interface functions. 2014-03-12 16:03:39 +00:00
cvar_get_info.c mpit: update the return code check for mca_base_var_get 2014-07-08 21:17:47 +00:00
cvar_get_num.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
cvar_handle_alloc.c mpit: update the return code check for mca_base_var_get 2014-07-08 21:17:47 +00:00
cvar_handle_free.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
cvar_read.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
cvar_write.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
enum_get_info.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
enum_get_item.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
finalize.c mca/base: fix bugs in framework deregistration/re-registration 2015-03-09 16:52:53 -06:00
init_thread.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
Makefile.am Add new MPI-3.1 tools interface functions. 2014-03-12 16:03:39 +00:00
mpit_common.c Fix MPI_T issues identified by friendly users. 2014-04-30 22:10:30 +00:00
mpit-internal.h Fix various bugs in mca_base_pvar. 2013-10-23 15:47:15 +00:00
pvar_get_index.c Add new MPI-3.1 tools interface functions. 2014-03-12 16:03:39 +00:00
pvar_get_info.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_get_num.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_handle_alloc.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_handle_free.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_read.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_readreset.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_reset.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_session_create.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_session_free.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_start.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_stop.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00
pvar_write.c Remove warnings identified by clang 3.4 2014-03-12 13:17:54 +00:00