2012-07-02 19:20:12 +04:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
|
|
|
|
# Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
2014-03-28 22:24:32 +04:00
|
|
|
# Copyright (c) 2012-2014 Cisco Systems, Inc. All rights reserved.
|
2012-07-02 19:20:12 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2012-09-01 05:42:37 +04:00
|
|
|
AM_CPPFLAGS = $(common_verbs_CPPFLAGS)
|
2012-07-02 19:20:12 +04:00
|
|
|
|
|
|
|
headers = \
|
2012-09-01 05:42:37 +04:00
|
|
|
common_verbs.h
|
2012-07-02 19:20:12 +04:00
|
|
|
|
|
|
|
sources = \
|
2012-09-13 00:47:47 +04:00
|
|
|
common_verbs_basics.c \
|
2012-09-01 05:42:37 +04:00
|
|
|
common_verbs_devlist.c \
|
2012-10-03 04:57:39 +04:00
|
|
|
common_verbs_find_max_inline.c \
|
2012-09-01 05:42:37 +04:00
|
|
|
common_verbs_find_ports.c \
|
2012-09-13 00:47:47 +04:00
|
|
|
common_verbs_mca.c \
|
|
|
|
common_verbs_port.c \
|
|
|
|
common_verbs_qp_type.c
|
2012-09-01 05:42:37 +04:00
|
|
|
|
2014-01-08 02:11:15 +04:00
|
|
|
dist_ompidata_DATA = \
|
2014-07-27 00:16:28 +04:00
|
|
|
help-opal-common-verbs.txt
|
2012-07-02 19:20:12 +04:00
|
|
|
|
|
|
|
# To simplify components that link to this library, we will *always*
|
|
|
|
# have an output libtool library named libmca_<type>_<name>.la -- even
|
|
|
|
# for case 2) described above (i.e., so there's no conditional logic
|
|
|
|
# necessary in component Makefile.am's that link to this library).
|
|
|
|
# Hence, if we're creating a noinst version of this library (i.e.,
|
|
|
|
# case 2), we sym link it to the libmca_<type>_<name>.la name
|
|
|
|
# (libtool will do the Right Things under the covers). See the
|
|
|
|
# all-local and clean-local rules, below, for how this is effected.
|
|
|
|
|
|
|
|
lib_LTLIBRARIES =
|
|
|
|
noinst_LTLIBRARIES =
|
2012-09-01 05:42:37 +04:00
|
|
|
comp_inst = libmca_common_verbs.la
|
|
|
|
comp_noinst = libmca_common_verbs_noinst.la
|
2012-07-02 19:20:12 +04:00
|
|
|
|
George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-)
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.
2014-07-26 04:47:28 +04:00
|
|
|
if MCA_BUILD_opal_common_verbs_DSO
|
2012-07-02 19:20:12 +04:00
|
|
|
lib_LTLIBRARIES += $(comp_inst)
|
|
|
|
else
|
|
|
|
noinst_LTLIBRARIES += $(comp_noinst)
|
|
|
|
endif
|
|
|
|
|
2012-09-01 05:42:37 +04:00
|
|
|
libmca_common_verbs_la_SOURCES = $(headers) $(sources)
|
2012-07-02 19:20:12 +04:00
|
|
|
# TBD: create own config file
|
2012-09-01 05:42:37 +04:00
|
|
|
libmca_common_verbs_la_CPPFLAGS = $(common_verbs_CPPFLAGS)
|
2013-10-10 17:25:57 +04:00
|
|
|
libmca_common_verbs_la_LDFLAGS = \
|
|
|
|
-version-info $(libmca_common_verbs_so_version) \
|
|
|
|
$(common_verbs_LDFLAGS)
|
2012-09-01 05:42:37 +04:00
|
|
|
libmca_common_verbs_la_LIBADD = $(common_verbs_LIBS)
|
|
|
|
libmca_common_verbs_noinst_la_SOURCES = $(libmca_common_verbs_la_SOURCES)
|
2012-07-02 19:20:12 +04:00
|
|
|
|
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
2014-01-08 02:11:15 +04:00
|
|
|
ompidir = $(ompiincludedir)/ompi/mca/common/verbs
|
2012-07-02 19:20:12 +04:00
|
|
|
ompi_HEADERS = $(headers)
|
|
|
|
else
|
|
|
|
ompidir = $(includedir)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# These two rules will sym link the "noinst" libtool library filename
|
|
|
|
# to the installable libtool library filename in the case where we are
|
|
|
|
# compiling this component statically (case 2), described above).
|
2014-03-28 22:24:32 +04:00
|
|
|
V=0
|
|
|
|
OMPI_V_LN_SCOMP = $(ompi__v_LN_SCOMP_$V)
|
|
|
|
ompi__v_LN_SCOMP_ = $(ompi__v_LN_SCOMP_$AM_DEFAULT_VERBOSITY)
|
|
|
|
ompi__v_LN_SCOMP_0 = @echo " LN_S " `basename $(comp_inst)`;
|
2012-07-02 19:20:12 +04:00
|
|
|
|
|
|
|
all-local:
|
2014-03-28 22:24:32 +04:00
|
|
|
$(OMPI_V_LN_SCOMP) if test -z "$(lib_LTLIBRARIES)"; then \
|
2012-07-02 19:20:12 +04:00
|
|
|
rm -f "$(comp_inst)"; \
|
|
|
|
$(LN_S) "$(comp_noinst)" "$(comp_inst)"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
if test -z "$(lib_LTLIBRARIES)"; then \
|
|
|
|
rm -f "$(comp_inst)"; \
|
|
|
|
fi
|