552c9ca5a0
WHAT: Open our low-level communication infrastructure by moving all necessary components (btl/rcache/allocator/mpool) down in OPAL All the components required for inter-process communications are currently deeply integrated in the OMPI layer. Several groups/institutions have express interest in having a more generic communication infrastructure, without all the OMPI layer dependencies. This communication layer should be made available at a different software level, available to all layers in the Open MPI software stack. As an example, our ORTE layer could replace the current OOB and instead use the BTL directly, gaining access to more reactive network interfaces than TCP. Similarly, external software libraries could take advantage of our highly optimized AM (active message) communication layer for their own purpose. UTK with support from Sandia, developped a version of Open MPI where the entire communication infrastucture has been moved down to OPAL (btl/rcache/allocator/mpool). Most of the moved components have been updated to match the new schema, with few exceptions (mainly BTLs where I have no way of compiling/testing them). Thus, the completion of this RFC is tied to being able to completing this move for all BTLs. For this we need help from the rest of the Open MPI community, especially those supporting some of the BTLs. A non-exhaustive list of BTLs that qualify here is: mx, portals4, scif, udapl, ugni, usnic. This commit was SVN r32317.
119 строки
3.3 KiB
Makefile
119 строки
3.3 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 (c) 2006 Sandia National Laboratories. All rights
|
|
# reserved.
|
|
# Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AM_CPPFLAGS = $(btl_usnic_CPPFLAGS)
|
|
AM_CFLAGS = $(btl_usnic_CFLAGS)
|
|
|
|
EXTRA_DIST = README.txt README.test
|
|
|
|
dist_ompidata_DATA = \
|
|
help-mpi-btl-usnic.txt
|
|
|
|
test_sources = \
|
|
test/btl_usnic_component_test.h \
|
|
test/btl_usnic_graph_test.h
|
|
|
|
libnl_utils_sources = \
|
|
btl_usnic_libnl_utils.h
|
|
|
|
if OPAL_BTL_USNIC_BUILD_LIBNL1_UTILS
|
|
libnl_utils_sources += btl_usnic_libnl1_utils.c
|
|
endif OPAL_BTL_USNIC_BUILD_LIBNL1_UTILS
|
|
|
|
if OPAL_BTL_USNIC_BUILD_LIBNL3_UTILS
|
|
libnl_utils_sources += btl_usnic_libnl3_utils.c
|
|
endif OPAL_BTL_USNIC_BUILD_LIBNL3_UTILS
|
|
|
|
sources = \
|
|
btl_usnic_compat.h \
|
|
btl_usnic_module.c \
|
|
btl_usnic_module.h \
|
|
btl_usnic.h \
|
|
btl_usnic_ack.c \
|
|
btl_usnic_ack.h \
|
|
btl_usnic_component.c \
|
|
btl_usnic_connectivity.h \
|
|
btl_usnic_cclient.c \
|
|
btl_usnic_cagent.c \
|
|
btl_usnic_endpoint.c \
|
|
btl_usnic_endpoint.h \
|
|
btl_usnic_ext.h \
|
|
btl_usnic_ext.c \
|
|
btl_usnic_frag.c \
|
|
btl_usnic_frag.h \
|
|
btl_usnic_graph.h \
|
|
btl_usnic_graph.c \
|
|
btl_usnic_hwloc.h \
|
|
btl_usnic_map.c \
|
|
btl_usnic_mca.c \
|
|
btl_usnic_proc.c \
|
|
btl_usnic_proc.h \
|
|
btl_usnic_recv.c \
|
|
btl_usnic_recv.h \
|
|
btl_usnic_send.c \
|
|
btl_usnic_send.h \
|
|
btl_usnic_stats.h \
|
|
btl_usnic_stats.c \
|
|
btl_usnic_util.c \
|
|
btl_usnic_util.h \
|
|
btl_usnic_test.c \
|
|
btl_usnic_test.h \
|
|
$(test_sources) \
|
|
$(libnl_utils_sources)
|
|
|
|
if OPAL_HAVE_HWLOC
|
|
sources += btl_usnic_hwloc.c
|
|
endif
|
|
|
|
# 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 MCA_BUILD_opal_btl_usnic_DSO
|
|
lib =
|
|
lib_sources =
|
|
component = mca_btl_usnic.la
|
|
component_sources = $(sources)
|
|
else
|
|
lib = libmca_btl_usnic.la
|
|
lib_sources = $(sources)
|
|
component =
|
|
component_sources =
|
|
endif
|
|
|
|
mcacomponentdir = $(ompilibdir)
|
|
mcacomponent_LTLIBRARIES = $(component)
|
|
mca_btl_usnic_la_SOURCES = $(component_sources)
|
|
mca_btl_usnic_la_LDFLAGS = -module -avoid-version $(btl_usnic_LDFLAGS)
|
|
mca_btl_usnic_la_LIBADD = $(btl_usnic_LIBS) \
|
|
$(OMPI_TOP_BUILDDIR)/opal/mca/common/verbs/libmca_common_verbs.la
|
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
libmca_btl_usnic_la_SOURCES = $(lib_sources)
|
|
libmca_btl_usnic_la_LDFLAGS= -module -avoid-version $(btl_usnic_LDFLAGS)
|
|
libmca_btl_usnic_la_LIBADD = $(btl_usnic_LIBS)
|
|
|
|
if OPAL_BTL_USNIC_BUILD_UNIT_TESTS
|
|
opal_btl_usnic_run_tests_SOURCES = test/opal_btl_usnic_run_tests.c
|
|
opal_btl_usnic_run_tests_LDADD = -ldl
|
|
bin_PROGRAMS = opal_btl_usnic_run_tests
|
|
endif OPAL_BTL_USNIC_BUILD_UNIT_TESTS
|