1
1
openmpi/opal
Jeff Squyres 49be4b1e45 Fixes trac:1383
Lenny and I went back and forth on whether we should simply register
another "mpi_paffinity_alone" MCA param and then try to figure out
which one was set in ompi_mpi_init, but there was difficulty in
figuring out what to do.  So it seemed like the Right Thing to do was
to implement what was committed in r18770; then we could tell where
MCA parameters were set from and you could do Better Things (this is
also useful in the openib BTL, where parameters can be set either via
MCA parameter or via an INI file).

But after that was done, it seemed only a few steps further to
actually implement two new features in the MCA params area:

 * Synonyms (where one MCA param name is a synonym for another)
 * Allow MCA params and/or their synonyms to be marked as "deprecated"
   (printing out warnings if they are used)

These features have actually long been discussed/desired, and I had
some time in airports and airplanes recently where I could work in
this stuff on a standalone laptop.  So I did it.  :-)

This commit introduces these two new features, and then uses them to
register mpi_paffinity_alone as a non-deprecated synonym for
opal_paffinity_alone.  A few other random points in this commit:

 * Add a few error checks for conditions that were not checked before
 * Correct some comments in mca_base_params.h
 * Add a few comments in strategic places
 * ompi_info now prints additional information:
   * for any MCA parameter that has synonyms, it lists all the
     synonyms
   * synonyms are also output as 1st-class MCA params, but with an
     additional attribute indicating that they have a "parent"
   * all MCA param name (both "real" or "synonym") will output an
     attribute indicating whether it is deprecated or not.  A synonym
     is deprecated if it iself is marked as deprecated (via the
     mca_base_param_regist_syn() or mca_base_param_register_syn_name()
     functions) or if its "parent" MCA parameter is deprecated

This commit was SVN r18859.

The following SVN revision numbers were found above:
  r18770 --> open-mpi/ompi@8efe67e08c

The following Trac tickets were found above:
  Ticket 1383 --> https://svn.open-mpi.org/trac/ompi/ticket/1383
2008-07-10 01:44:51 +00:00
..
asm Related to my previous commit. The Sicortex is a MIPS machine, so 2008-06-25 03:09:02 +00:00
class Fix bad free's found in CID 707 and CID 708. 2008-06-05 20:49:33 +00:00
dss Reconnect the opal dss debug envar with the debug output 2008-06-27 19:29:18 +00:00
etc Many thanks to Ralf W. for finding a subtle bug in these Makefile.am's 2008-06-04 01:28:03 +00:00
event Some small fixes. 2008-05-29 15:05:28 +00:00
include Some (rare) platforms only have a #define for htonl and friends, 2008-06-24 23:20:25 +00:00
mca Fixes trac:1383 2008-07-10 01:44:51 +00:00
memoryhooks - The ptmalloc2 memory manager component is now by default built as 2008-06-13 22:32:49 +00:00
runtime Silence a couple of minor compiler warnings 2008-06-09 12:57:41 +00:00
threads Fix visibility symbols on OS X 2008-03-17 13:18:12 +00:00
tools Slight clarification of help message. 2008-06-17 11:25:32 +00:00
util Fix in minore memory leak 2008-07-10 00:37:08 +00:00
win32 Add defines for the INT16 min and max value. 2008-01-04 23:09:31 +00:00
Makefile.am Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00
win_makefile Move all win32 related files in opal, and modify all the Makefiles.am to 2005-12-08 06:17:15 +00:00