Ensure we get both -lpmi and -lpmi2 when the libs are separate


git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28795 63e3feb5-37d5-0310-a306-e8a459e722fe
MCA: Per-RFC, add support for performance variables

This commit adds an API for registering and querying performance
variables (mca_base_pvar) in the MCA base. The existing MCA variable
system API has been updated to reflect the new API: MCA variable
groups have performance variables, and new types have been added (double,
unsigned long long) to reflect what is required by the MPI_T
interface. Additionally, the MCA variable group code has been split
into its own set of files: mca_base_var_group.[ch].

Details of the new API can be found in doxygen comments in the header:
mca_base_pvar.h.

Other changes to the variable system:

 - Use an opal_hash_table to speed up variable/group lookup.

 - Clean up code associated with MCA variable types.

 - Registered performance variables are printed by ompi_info -a. In the
   future an option should be added to control this behavior.

Changes to OMPI:

 - Added full support for the MPI_T performance variable interface.

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28800 63e3feb5-37d5-0310-a306-e8a459e722fe
Add example performance variables to ob1: unexpected message queue length, posted receive length

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28801 63e3feb5-37d5-0310-a306-e8a459e722fe
ignore unavailable components when registering

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28802 63e3feb5-37d5-0310-a306-e8a459e722fe
Add profiling function definitions for MPI_T and add a missing type into mpi.h

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28803 63e3feb5-37d5-0310-a306-e8a459e722fe
mpit: fix behavior when returning strings

git-svn-id: https://svn.open-mpi.org/svn/ompi/trunk@28804 63e3feb5-37d5-0310-a306-e8a459e722fe
MPI-3: add support for large counts using derived datatypes

Add support for MPI_Count type and MPI_COUNT datatype and add the required
MPI-3 functions MPI_Get_elements_x, MPI_Status_set_elements_x,
MPI_Type_get_extent_x, MPI_Type_get_true_extent_x, and MPI_Type_size_x.
This commit adds only the C bindings. Fortran bindins will be added in
another commit. For now the MPI_Count type is define to have the same size
as MPI_Offset. The type is required to be at least as large as MPI_Offset
and MPI_Aint. The type was initially intended to be a ssize_t (if it was
the same size as a long long) but there were issues compiling romio with
that definition (despite the inclusion of stddef.h).

I updated the datatype engine to use size_t instead of uint32_t to support
large datatypes. This will require some review to make sure that 1) the
changes are beneficial, 2) nothing was broken by the change (I doubt
anything was), and 3) there are no performance regressions due to this
change.
MPI-3: fortran support for large counts using derived datatypes
Make sure not to go over 72 characters.  Love Fortran!
Ensure to include 'mpif-config.h' in Type_size_x.
Increase the maximum number of predifined datatypes to support MPI_Count