disable the building of the udapl BTL on Linux by default. On every other OS, the udapl configury will attempt to find udapl's header/library files, etc. by default. You can specify --with-udapl on the configure command line (on any OS) to force OMPI to try to configure/build udapl (i.e., look for udapl's header/library files, etc.). This commit was SVN r15894.
Этот коммит содержится в:
родитель
9cce0eb4bc
Коммит
1030ddcd58
@ -10,6 +10,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -31,6 +32,31 @@ AC_DEFUN([OMPI_CHECK_UDAPL],[
|
||||
[AC_HELP_STRING([--with-udapl-libdir=DIR],
|
||||
[Search for uDAPL libraries in DIR])])
|
||||
|
||||
# Special case for OFED/Linux: the default /etc/dat.conf that
|
||||
# ships with OFED is broken in that it includes DAT providers that
|
||||
# are not guarnateed to work (e.g., it includes providers for ib0,
|
||||
# ib1, ib2, ib3, and bond0). Usually, a sysadmin will need to
|
||||
# edit this file to configure it for the specific environment in
|
||||
# which it will be used. Hence, if you run the udapl BTL on
|
||||
# Linux/OFED, you'll get a bunch of warning messages about the
|
||||
# providers that don't work. However, on Linux/OFED, you don't
|
||||
# really want to use udapl anyway; you likely really want to use
|
||||
# the openib BTL (i.e., native verbs, not udapl).
|
||||
|
||||
# So after exploring many different scenarios, the least evil
|
||||
# solution seemed to be to disable building the udapl BTL on
|
||||
# Linux/OFED *unless the user specifically asks for it.* To be
|
||||
# specific: on Linux/OFED, if you do not specify
|
||||
# --with-udapl(=DIR), the udapl BTL will not be built.
|
||||
AS_IF([test -z "$with_udapl"],
|
||||
[case $host in
|
||||
*linux*)
|
||||
AC_MSG_WARN([On Linux and --with-udapl was not specified])
|
||||
AC_MSG_WARN([Not building the udapl BTL])
|
||||
with_udapl=no
|
||||
;;
|
||||
esac])
|
||||
|
||||
AS_IF([test ! -z "$with_udapl" -a "$with_udapl" != "yes"],
|
||||
[ompi_check_udapl_dir="$with_udapl"])
|
||||
AS_IF([test ! -z "$with_udapl_libdir" -a "$with_udapl_libdir" != "yes"],
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user