b44f8d4b28
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. |
||
---|---|---|
.. | ||
data_type_support | ||
help-orte-runtime.txt | ||
Makefile.am | ||
orte_cr.c | ||
orte_cr.h | ||
orte_data_server.c | ||
orte_data_server.h | ||
orte_finalize.c | ||
orte_globals.c | ||
orte_globals.h | ||
orte_init.c | ||
orte_locks.c | ||
orte_locks.h | ||
orte_mca_params.c | ||
orte_quit.c | ||
orte_quit.h | ||
orte_wait.c | ||
orte_wait.h | ||
runtime_internals.h | ||
runtime.h |