1
1
openmpi/ompi/mca/coll/hierarch
Ralph Castain 4cdf91a8d4 Per the RFC, extend the current use of the ompi_proc_t flags field (without changing the field itself).
The prior ompi_proc_t structure had a uint8_t flag field in it, where only one
bit was used to flag that a proc was "local". In that context, "local" was
constrained to mean "local to this node".

This commit provides a greater degree of granularity on the term "local", to include tests
to see if the proc is on the same socket, PC board, node, switch, CU (computing
unit), and cluster.

Add #define's to designate which bits stand for which local condition. This
was added to the OPAL layer to avoid conflicting with the proposed movement of
the BTLs. To make it easier to use, a set of macros have been defined - e.g.,
OPAL_PROC_ON_LOCAL_SOCKET - that test the specific bit. These can be used in
the code base to clearly indicate which sense of locality is being considered.

All locations in the code base that looked at the current proc_t field have
been changed to use the new macros.

Also modify the orte_ess modules so that each returns a uint8_t (to match the
ompi_proc_t field) that contains a complete description of the locality of this
proc. Obviously, not all environments will be capable of providing such detailed
info. Thus, getting a "false" from a test for "on_local_socket" may simply
indicate a lack of knowledge.

This commit was SVN r20496.
2009-02-10 02:20:16 +00:00
..
.windows - 1/4 commit for Windows Visual Studio and CCP support: 2008-12-10 20:59:20 +00:00
coll_hierarch_allreduce.c Fixes trac:1392, #1400 2008-07-28 22:40:57 +00:00
coll_hierarch_barrier.c Fixes trac:1392, #1400 2008-07-28 22:40:57 +00:00
coll_hierarch_bcast.c 1. debug the four new algorithms 2008-08-18 21:54:35 +00:00
coll_hierarch_component.c not every element in the pointer array list contains a valid entry. Thus, do not try to free elements if the list returns NULL. 2009-01-14 19:11:30 +00:00
coll_hierarch_reduce.c Fixes trac:1392, #1400 2008-07-28 22:40:57 +00:00
coll_hierarch_tmpcoll.c - adding the two-level hierarchy detection algorithm 2008-02-01 17:11:36 +00:00
coll_hierarch.c Per the RFC, extend the current use of the ompi_proc_t flags field (without changing the field itself). 2009-02-10 02:20:16 +00:00
coll_hierarch.h 1. debug the four new algorithms 2008-08-18 21:54:35 +00:00
configure.params Remove unneeded PARAM_INIT_FILE variable in configure.params files used by 2007-01-08 03:44:22 +00:00
Makefile.am Per long threads on the mailing list and much confusion discussion 2007-12-15 13:32:02 +00:00