1
1
openmpi/orte/mca/ess/portals4_shmem
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
..
configure.m4 * Add shell of functionality required for supporting Portals4 2010-10-14 22:49:09 +00:00
ess_portals4_shmem_component.c More fixes to make OMPI compile with minimal ORTE support again 2010-10-27 20:40:39 +00:00
ess_portals4_shmem_module.c 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
ess_portals4_shmem.h More fixes to make OMPI compile with minimal ORTE support again 2010-10-27 20:40:39 +00:00
Makefile.am More fixes to make OMPI compile with minimal ORTE support again 2010-10-27 20:40:39 +00:00