1
1
openmpi/opal
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
..
asm Update the MIPS atomics. We can now compile with gcc and Pathscale. 2008-12-18 22:38:31 +00:00
class - Fix comment to reflect current code. 2009-02-09 00:52:57 +00:00
dss Refs trac:868, #869 2009-01-04 05:09:18 +00:00
etc Ensure that platform-specific mca param files get installed with the correct default mca param filename. Platform-specific mca param files overwrite any pre-existing default mca param file as they are considered to be the "gold" standard if a platform file was provided. 2008-08-27 02:40:02 +00:00
event Update two configuration files for windows build. 2009-02-05 16:39:40 +00:00
include Round up a few places where PATH_MAX was used instead of 2009-01-27 22:57:50 +00:00
mca 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
memoryhooks - The ptmalloc2 memory manager component is now by default built as 2008-06-13 22:32:49 +00:00
runtime * Fix a truckload of Cisco copyrights to be the same as the rest of 2009-01-11 02:30:00 +00:00
threads * Fix a truckload of Cisco copyrights to be the same as the rest of 2009-01-11 02:30:00 +00:00
tools * Fix a truckload of Cisco copyrights to be the same as the rest of 2009-01-11 02:30:00 +00:00
util Re CID 1180: Actually, it would be better to also print something in 2009-02-05 15:26:44 +00:00
win32 SIGSTOP and SIGTSTP are not supported on Windows. But they have to be defined anyway, although they are not used for Windows. 2009-02-05 17:02:34 +00:00
CMakeLists.txt - 1/4 commit for Windows Visual Studio and CCP support: 2008-12-10 20:59:20 +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