1
1
openmpi/ompi
Ralph Castain b44f8d4b28 Complete implementation of the ess.proc_get_locality API. Up to this point, the API was only capable of telling if the specified proc was sharing a node with you. However, the returned value was capable of telling you much more detailed info - e.g., if the proc shares a socket, a cache, or numa node. We just didn't have the data to provide that detail.
Use hwloc to obtain the cpuset for each process during mpi_init, and share that info in the modex. As it arrives, use a new opal_hwloc_base utility function to parse the value against the local proc's cpuset and determine where they overlap. Cache the value in the pmap object as it may be referenced multiple times.

Thus, the return value from orte_ess.proc_get_locality is a 16-bit bitmask that describes the resources being shared with you. This bitmask can be tested using the macros in opal/mca/paffinity/paffinity.h

Locality is available for all procs, whether launched via mpirun or directly with an external launcher such as slurm or aprun.

This commit was SVN r25331.
2011-10-19 20:18:14 +00:00
..
attribute Fixes trac:2767: Recursive locking when ROMIO used with THREAD_MULITPLE 2011-05-04 06:31:42 +00:00
class Add support for CUDA registering sm and openib buffers. Feature is disabled by default. 2011-08-04 10:15:45 +00:00
communicator Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
config Fixing the librdmacm dependency for build process 2011-10-11 09:10:06 +00:00
contrib Changes to VT: 2011-08-30 11:14:56 +00:00
datatype Unsigned datatypes should be redirected to their unsigned correspondants 2011-05-03 12:53:52 +00:00
debuggers The error here is meaningless. 2011-10-19 13:04:46 +00:00
errhandler Cleanup the error codes. Get rid of all the useless ones, and 2011-10-19 03:51:53 +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
file Clean up request handling in the I/O framework to be more consistent with 2009-11-26 05:13:43 +00:00
group Fix formatting in group and communicator code (- No functionality changes -) 2010-10-04 14:54:58 +00:00
include Cleanup the error codes. Get rid of all the useless ones, and 2011-10-19 03:51:53 +00:00
info Some relatively minor C/R related cleanup 2010-07-30 18:59:34 +00:00
mca These are supposed to be OPAL level errors. 2011-10-19 14:22:09 +00:00
mpi Minor text fix suggested by Jeremiah Willcock. 2011-09-21 20:05:19 +00:00
mpiext Cleanup the error codes. Get rid of all the useless ones, and 2011-10-19 03:51:53 +00:00
op Reshape the datatype engine. The basic types are built down in OPAL. MPI types are 2011-01-13 06:08:54 +00:00
peruse - Sanity check initialization and finalization of PERUSE. 2010-01-12 16:36:24 +00:00
proc Complete implementation of the ess.proc_get_locality API. Up to this point, the API was only capable of telling if the specified proc was sharing a node with you. However, the returned value was capable of telling you much more detailed info - e.g., if the proc shares a socket, a cache, or numa node. We just didn't have the data to provide that detail. 2011-10-19 20:18:14 +00:00
request * Implement long-ago discussed RFC to add a callback data pointer in the 2011-06-30 20:05:16 +00:00
runtime Complete implementation of the ess.proc_get_locality API. Up to this point, the API was only capable of telling if the specified proc was sharing a node with you. However, the returned value was capable of telling you much more detailed info - e.g., if the proc shares a socket, a cache, or numa node. We just didn't have the data to provide that detail. 2011-10-19 20:18:14 +00:00
tools Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
win Fixes trac:2767: Recursive locking when ROMIO used with THREAD_MULITPLE 2011-05-04 06:31:42 +00:00
CMakeLists.txt Set the compiler flags in a better way. 2011-09-12 08:24:27 +00:00
Makefile.am Just use the LIB definition. 2011-02-25 00:39:05 +00:00