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.
41 строка
1.1 KiB
Makefile
41 строка
1.1 KiB
Makefile
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
dist_pkgdata_DATA += base/help-ess-base.txt
|
|
|
|
headers += \
|
|
base/base.h
|
|
|
|
libmca_ess_la_SOURCES += \
|
|
base/ess_base_close.c \
|
|
base/ess_base_open.c \
|
|
base/ess_base_select.c
|
|
|
|
if !ORTE_DISABLE_FULL_SUPPORT
|
|
|
|
libmca_ess_la_SOURCES += \
|
|
base/ess_base_get.c \
|
|
base/ess_base_put.c \
|
|
base/ess_base_std_tool.c \
|
|
base/ess_base_std_app.c \
|
|
base/ess_base_std_orted.c \
|
|
base/ess_base_std_prolog.c \
|
|
base/ess_base_fns.c
|
|
endif
|
|
|