1
1
openmpi/ompi/mca/btl
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
..
base * Fix a truckload of Cisco copyrights to be the same as the rest of 2009-01-11 02:30:00 +00:00
elan Up to SVN r20383 2009-01-29 17:59:04 +00:00
gm Use a more clear name for the proc in the constructor and destructor functions. 2009-01-05 14:14:38 +00:00
mx 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
ofud Use a more clear name for the proc in the constructor and destructor functions. 2009-01-05 14:14:38 +00:00
openib 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
portals Following ticket #1725, when a free list item can not be allocated, return 2008-12-16 22:38:02 +00:00
sctp convert bzero calls to memset to remove warnings. 2009-02-06 19:08:22 +00:00
self Update the self BTL to fulfill the requirements for #1713. 2008-12-17 22:15:27 +00:00
sm 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
tcp * Fix a truckload of Cisco copyrights to be the same as the rest of 2009-01-11 02:30:00 +00:00
template Use a more clear name for the proc in the constructor and destructor functions. 2009-01-05 14:14:38 +00:00
udapl Revert r20480 as this breaks the trunk. The dpm.h include file has defines for OMPI_RML tags that are required for wireup. 2009-02-09 14:14:45 +00:00
btl.h Remove useless defines. The MCA was bumped to 2.0, there is no reason to keep 2008-07-30 10:40:18 +00:00
Makefile.am Clean up a couple of configure things: 2007-05-15 04:23:48 +00:00