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.
64 строки
2.5 KiB
Bash
64 строки
2.5 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2004-2006 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) 2010 Cisco Systems, Inc. All rights reserved.
|
|
# Copyright (c) 2010 Sandia National Laboratories. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# MCA_btl_portals4_CONFIG(action-if-can-compile,
|
|
# [action-if-cant-compile])
|
|
# ------------------------------------------------
|
|
AC_DEFUN([MCA_opal_btl_portals4_CONFIG],[
|
|
AC_CONFIG_FILES([opal/mca/btl/portals4/Makefile])
|
|
|
|
OPAL_CHECK_PORTALS4([btl_portals4],
|
|
[btl_portals4_happy="yes"],
|
|
[btl_portals4_happy="no"])
|
|
|
|
AS_IF([test "$btl_portals4_happy" = "yes"],
|
|
[btl_portals4_WRAPPER_EXTRA_LDFLAGS="$btl_portals4_LDFLAGS"
|
|
btl_portals4_WRAPPER_EXTRA_LIBS="$btl_portals4_LIBS"
|
|
$1],
|
|
[$2])
|
|
|
|
# need to propogate CPPFLAGS to all of OPAL
|
|
AS_IF([test "$DIRECT_btl" = "portals4"],
|
|
[CPPFLAGS="$CPPFLAGS $btl_portals4_CPPFLAGS"])
|
|
|
|
AC_ARG_ENABLE([btl-portals4-flow-control],
|
|
[AC_HELP_STRING([--enable-btl-portals4-flow-control],
|
|
[enable flow control for Portals 4 BTL (default: disabled)])])
|
|
AC_MSG_CHECKING([whether to enable flow control])
|
|
if test "$enable_btl_portals4_flow_control" != "yes"; then
|
|
AC_MSG_RESULT([no])
|
|
btl_portals4_flow_control_enabled=0
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
btl_portals4_flow_control_enabled=0
|
|
fi
|
|
AC_DEFINE_UNQUOTED([OPAL_BTL_PORTALS4_FLOW_CONTROL],
|
|
[$btl_portals4_flow_control_enabled],
|
|
[Enable flow control for Portals4 BTL])
|
|
AM_CONDITIONAL([OPAL_BTL_PORTALS4_FLOW_CONTROL],
|
|
[test "$btl_portals4_flow_control_enabled" = "1"])
|
|
|
|
# substitute in the things needed to build portals4
|
|
AC_SUBST([btl_portals4_CPPFLAGS])
|
|
AC_SUBST([btl_portals4_LDFLAGS])
|
|
AC_SUBST([btl_portals4_LIBS])
|
|
])dnl
|