Include <hwloc.h> so that the symbols in this file are subject to the
<hwloc/rename.h> renaming.


git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28215 63e3feb5-37d5-0310-a306-e8a459e722fe
Update the post-hwloc-1.5.2 patch list.


git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28218 63e3feb5-37d5-0310-a306-e8a459e722fe
Restore the cpus-per-proc option for byslot and bynode mapping. Remove the bind_idx (which recorded the index of the hwloc object where the proc was bound) as this would no longer be unique, and just use the bitmap as the standard reference for location. Update the relative locality computation to take bitmaps as its argument.



git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28219 63e3feb5-37d5-0310-a306-e8a459e722fe
ompi/include: Remove Makefile.include which is a duplicate of Makefile.am. This will make ompi consistent with opal and orte.

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28220 63e3feb5-37d5-0310-a306-e8a459e722fe
Ensure the process knows it local cpuset early enough to perform the locality computation


git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28221 63e3feb5-37d5-0310-a306-e8a459e722fe
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.
Introduce the MCA framework system. This formalizes the interface frameworks must provide.

Other changes:
 - Added a flag to the MCA variable system to indicate a variable should go away
   when its group does. Both mca_base_framework_var_register() and
   mca_base_component_var_register() set this flag.

Notes:
 - mca_base_components_open is deprecated. It will be removed in a future commit.
 - All frameworks should use MCA_BASE_FRAMEWORK_DECLARE to declare their
   framework structure.
 - All calls to framework open/close functions should be changed to use the
   mca_base_framework_* functions.
 - Instead of special-casing installdirs a flag was added to prevent calling
   into the variable system when opening a framework.
 - Ralph: Clarify the functional definition of the "register" function in the
   MCA framework object - it had the same name as another function that does a
   totally different thing.
 - As per discussion with Ralph the behavior of mca_base_framework_register()
   is to always call mca_base_framework_components_register() if the framework's
   register function was successful. This removed the need for frameworks to
   have to call this function directly.
Try to reduce the bloody clutter by adding a .gitignore
Automatically generate a list of installed frameworks in project/include/project/frameworks.h
Update OPAL frameworks to use the MCA framework system.
Update ORTE frameworks to use the MCA framework system.
Update OMPI frameworks to use the MCA framework system.

Notes:
  - This commit also eliminates the need for an available components list. The code
    was not using the priority of the priority component list item so that was
    removed. Also updated the selection code to sort using opal_list_sort instead
    of the O(n^2) implementation that was there before.
  - Cleans up the ompi/orte-info functions. Expose the functions that construct the
    list of params so they can be used elsewhere.
Now that the entire codebase has been updated to use the MCA framework
system remove the last calls to the MCA parameter system.