
API is still a bit unstable and may change. - Add a primitive "first use" component that simply has each process "touch" the pages that they want to use, thereby [hopefully] locking them locally to a specific processor - Add hooks in ompi_mpi_init to enable memory affinity when processor affinity is used. - Added hooks in ompi_mpi_finalize to shut down memory affinity when it was initialized during ompi_mpi_init. - Added right hooks in ompi_info to display maffinity components. This commit was SVN r7044.
46 строки
1.4 KiB
Makefile
46 строки
1.4 KiB
Makefile
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
# All rights reserved.
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
# 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$
|
|
#
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
include $(top_ompi_srcdir)/config/Makefile.options
|
|
|
|
sources = \
|
|
maffinity_first_use.h \
|
|
maffinity_first_use_component.c \
|
|
maffinity_first_use_module.c
|
|
|
|
# Make the output library in this directory, and name it either
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
# (for static builds).
|
|
|
|
if OMPI_BUILD_maffinity_first_use_DSO
|
|
component_noinst =
|
|
component_install = mca_maffinity_first_use.la
|
|
else
|
|
component_noinst = libmca_maffinity_first_use.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_maffinity_first_use_la_SOURCES = $(sources)
|
|
mca_maffinity_first_use_la_LDFLAGS = -module -avoid-version
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_maffinity_first_use_la_SOURCES =$(sources)
|
|
libmca_maffinity_first_use_la_LDFLAGS = -module -avoid-version
|