1
1
openmpi/opal/runtime
Jeff Squyres a89dc623b0 Brice Goglin noticed that mpi_paffinity_alone didn't seem to be doing
anything for non-MPI apps.  Oops!  (But before you freak out, gentle
reader, note that mpi_paffinity_alone for MPI apps still worked fine)
When we made the switchover somewhere in the 1.3 series to have the
orted's do processor binding, then stuff like:

  mpirun --mca mpi_paffinity_alone 1 hostname

should have bound hostname to processor 0.  But it didn't because of a
subtle startup ordering issue: the MCA param registration for
opal_paffinity_alone was in the paffinity base (vs. being in
opal/runtime/opal_params.c), but it didn't actually get registered
until after the global variable opal_paffinity_alone was checked to
see if we wanted old-style affinity bindings.  Oops.

However, for MPI apps, even though the orted didn't do the binding,
ompi_mpi_init() would notice that opal_paffinity_alone was set, yet
the process didn't seem to be bound.  So the MPI process would bind
itself (this was done to support the running-without-orteds
scenarios).  Hence, MPI apps still obeyed mpi_paffinity_alone
semantics.

But note that the error described above caused the new mpirun switch
--report-bindings to not work with mpi_paffinity_alone=1, meaning that
the orted would not report the bindings when mpi_paffinity_alone was
set to 1 (it ''did'' correctly report bindings if you used
--bind-to-core or one of the other binding options).

This commit separates out the paffinity base MCA param registration
into a small function that can be called at the Right place during the
startup sequence.

This commit was SVN r22602.
2010-02-10 22:32:00 +00:00
..
help-opal-runtime.txt Remove some old references to ft_enable parameter that no longer exists. 2007-03-17 20:02:42 +00:00
Makefile.am Merging in the jjhursey-ft-cr-stable branch (r13912 : HEAD). 2007-03-16 23:11:45 +00:00
opal_cr.c Add support for sending SIGSTOP the MPI job after the checkpoint is taken (uses a BLCR feature for the option). 2009-09-22 18:26:12 +00:00
opal_cr.h Add support for sending SIGSTOP the MPI job after the checkpoint is taken (uses a BLCR feature for the option). 2009-09-22 18:26:12 +00:00
opal_finalize.c Remove the filter framework - the xml support will have to be provided in a different manner that will be implemented shortly 2008-06-04 09:04:51 +00:00
opal_init.c A patch from UTK to allow orte_init(), opal_init(), and associated 2009-12-04 00:51:15 +00:00
opal_params.c Brice Goglin noticed that mpi_paffinity_alone didn't seem to be doing 2010-02-10 22:32:00 +00:00
opal_progress.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
opal_progress.h - Replace combinations of 2009-08-20 11:42:18 +00:00
opal.h A patch from UTK to allow orte_init(), opal_init(), and associated 2009-12-04 00:51:15 +00:00