194b285447
This BTL accesses the Cisco usNIC Linux device via the Linux verbs API via Unreliable Datagram queue pairs. A few noteworthy points: * This BTL does most of its own fragmentation; it tells the PML that it has a very high max_send_size (much higher than the network MTU). * Since UD fragments are, by definition, unreliable, the usnic BTL handles all of its own reliability via a sliding window approach using the opal_hotel construct and many tricks stolen from the corpus of knowledge surrounding efficient TCP. * There is a fun PML latency-metric based optimization for NUMA awareness of short messages. * Note that this is ''not'' a generic UD verbs BTL; it is specific to the Cisco usNIC device. This commit was SVN r28879.
80 строки
2.3 KiB
Makefile
80 строки
2.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-2013 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AM_CPPFLAGS = $(btl_usnic_CPPFLAGS)
|
|
|
|
dist_pkgdata_DATA = \
|
|
help-mpi-btl-usnic.txt
|
|
|
|
sources = \
|
|
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_endpoint.c \
|
|
btl_usnic_endpoint.h \
|
|
btl_usnic_frag.c \
|
|
btl_usnic_frag.h \
|
|
btl_usnic_hwloc.h \
|
|
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_util.c \
|
|
btl_usnic_util.h
|
|
|
|
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_ompi_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 = $(pkglibdir)
|
|
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) \
|
|
$(top_ompi_builddir)/ompi/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)
|