1
1
openmpi/ompi/runtime
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
..
help-mpi-runtime.txt Fix a few issues with error messages: 2011-03-07 16:45:45 +00:00
Makefile.am Nysal noticed some repeated header files; removed. 2009-05-28 12:05:42 +00:00
mpiruntime.h Fix a few issues with error messages: 2011-03-07 16:45:45 +00:00
ompi_cr.c Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
ompi_cr.h * Add shell of functionality required for supporting Portals4 2010-10-14 22:49:09 +00:00
ompi_module_exchange.c Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
ompi_module_exchange.h Add missing header file 2009-07-15 15:09:59 +00:00
ompi_mpi_abort.c Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
ompi_mpi_finalize.c Each level (OPAL/ORTE/OMPI) should only return it's own constants, 2011-10-04 14:50:31 +00:00
ompi_mpi_init.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
ompi_mpi_params.c The system headers are supposed to be protected by #ifdef and not by #if. 2009-07-16 18:27:33 +00:00
ompi_mpi_preconnect.c Fix bugs where (OMPI_ERROR == *) checks cannot be converted to (OMPI_SUCCESS != *) since the return codes are overloaded to return an "index" on success. 2010-05-18 20:54:11 +00:00
params.h Per the discussion on the devel list, move the binding of processes to processors from MPI_Init to process start. This involves: 2009-05-12 02:18:35 +00:00