1
1
openmpi/opal/runtime
Nathan Hjelm cf377db823 MCA/base: Add new MCA variable system
Features:
 - Support for an override parameter file (openmpi-mca-param-override.conf).
   Variable values in this file can not be overridden by any file or environment
   value.
 - Support for boolean, unsigned, and unsigned long long variables.
 - Support for true/false values.
 - Support for enumerations on integer variables.
 - Support for MPIT scope, verbosity, and binding.
 - Support for command line source.
 - Support for setting variable source via the environment using
   OMPI_MCA_SOURCE_<var name>=source (either command or file:filename)
 - Cleaner API.
 - Support for variable groups (equivalent to MPIT categories).

Notes:
 - Variables must be created with a backing store (char **, int *, or bool *)
   that must live at least as long as the variable.
 - Creating a variable with the MCA_BASE_VAR_FLAG_SETTABLE enables the use of
   mca_base_var_set_value() to change the value.
 - String values are duplicated when the variable is registered. It is up to
   the caller to free the original value if necessary. The new value will be
   freed by the mca_base_var system and must not be freed by the user.
 - Variables with constant scope may not be settable.
 - Variable groups (and all associated variables) are deregistered when the
   component is closed or the component repository item is freed. This
   prevents a segmentation fault from accessing a variable after its component
   is unloaded.
 - After some discussion we decided we should remove the automatic registration
   of component priority variables. Few component actually made use of this
   feature.
 - The enumerator interface was updated to be general enough to handle
   future uses of the interface.
 - The code to generate ompi_info output has been moved into the MCA variable
   system. See mca_base_var_dump().

opal: update core and components to mca_base_var system
orte: update core and components to mca_base_var system
ompi: update core and components to mca_base_var system

This commit also modifies the rmaps framework. The following variables were
moved from ppr and lama: rmaps_base_pernode, rmaps_base_n_pernode,
rmaps_base_n_persocket. Both lama and ppr create synonyms for these variables.

This commit was SVN r28236.
2013-03-27 21:09:41 +00:00
..
help-opal_info.txt Refactor ompi_info, splitting it into parts according to the layer involved. Thus, we call down to the opal layer to get those frameworks and components, and down to the orte layer to get those. Still some abstraction breaks, but they mostly involve renaming of OMPI_foo labels that have been around since before we split the build system by layer. 2012-06-28 18:23:34 +00:00
help-opal-runtime.txt * Clarified show help when CRS component cannot be loaded. 2011-12-07 14:58:08 +00:00
Makefile.am MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_cr.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_cr.h Update libevent to the 2.0 series, currently at 2.0.7rc. We will update to their final release when it becomes available. Currently known errors exist in unused portions of the libevent code. This revision passes the IBM test suite on a Linux machine and on a standalone Mac. 2010-10-24 18:35:54 +00:00
opal_finalize.c Per RFC, bring in the following changes: 2012-05-07 14:52:54 +00:00
opal_info_support.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_info_support.h MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_init.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_params.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_params.h MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_progress.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
opal_progress.h Continue clean up of thread options started in r22841, 22842, and 22849. 2011-03-18 21:36:35 +00:00
opal.h Fix/clarify a comment from r26322. 2012-04-24 17:35:19 +00:00