Updated openib btl and mpool to use configure.m4
removed ompi_ignore files from openib btl and mpool. This commit was SVN r6612.
Этот коммит содержится в:
родитель
15c4ae3391
Коммит
f3843bee55
@ -56,6 +56,7 @@ sinclude(config/ompi_check_icc.m4)
|
||||
sinclude(config/ompi_check_gm.m4)
|
||||
sinclude(config/ompi_check_bproc.m4)
|
||||
sinclude(config/ompi_check_mvapi.m4)
|
||||
sinclude(config/ompi_check_openib.m4)
|
||||
sinclude(config/ompi_check_package.m4)
|
||||
sinclude(config/ompi_check_tm.m4)
|
||||
sinclude(config/ompi_check_xgrid.m4)
|
||||
|
@ -27,7 +27,7 @@ AC_DEFUN([OMPI_CHECK_MVAPI],[
|
||||
[Additional directory to search for MVAPI installation])])
|
||||
AC_ARG_WITH([mvapi-libdir],
|
||||
[AC_HELP_STRING([--with-btl-mvapi-libdir=IBLIBDIR],
|
||||
[directory where the IB library can be found, if it is not in MVAPI_DIR/lib or MVAPI_DIR/lib64])])
|
||||
[directory where the IB library can be found, if it is not in MVAPI_DIR/lib or MVAPI_DIR/lib64])])
|
||||
|
||||
AS_IF([test ! -z "$with_btl_mvapi" -a "$with_btl_mvapi" != "yes"],
|
||||
[ompi_check_mvapi_dir="$with_btl_mvapi"])
|
||||
|
89
config/ompi_check_openib.m4
Обычный файл
89
config/ompi_check_openib.m4
Обычный файл
@ -0,0 +1,89 @@
|
||||
OAA# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
# 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$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
||||
# OMPI_CHECK_OPENIB(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if OPENIB support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_OPENIB],[
|
||||
AC_ARG_WITH([openib],
|
||||
[AC_HELP_STRING([--with-btl-openib=OPENIB_DIR],
|
||||
[Additional directory to search for OPENIB installation])])
|
||||
AC_ARG_WITH([openib-libdir],
|
||||
[AC_HELP_STRING([--with-btl-openib-libdir=IBLIBDIR],
|
||||
[directory where the IB library can be found, if it is not in OPENIB_DIR/lib or OPENIB_DIR/lib64])])
|
||||
|
||||
AS_IF([test ! -z "$with_btl_openib" -a "$with_btl_openib" != "yes"],
|
||||
[ompi_check_openib_dir="$with_btl_openib"])
|
||||
AS_IF([test ! -z "$with_btl_openib_libdir" -a "$with_btl_openib_libdir" != "yes"],
|
||||
[ompi_check_openib_libdir="$with_btl_openib_libdir"])
|
||||
|
||||
# check for pthreads and emit a warning that things might go south...
|
||||
AS_IF([test "$HAVE_POSIX_THREADS" != "1"],
|
||||
[AC_MSG_WARN([POSIX threads not enabled. May not be able to link with openib])])
|
||||
|
||||
AC_CHECK_LIB(sysfs,
|
||||
sysfs_open_class,
|
||||
[ompi_check_openib_sysfs=yes LIBS="$LIBS -lsysfs"],
|
||||
[ompi_check_openib_sysfs=no])
|
||||
|
||||
AS_IF([test "$ompi_check_openib_sysfs" = "yes"],
|
||||
[$2],
|
||||
[AS_IF([test ! -z "$with_btl_openib" -a "$with_btl_openib" != "no"],
|
||||
[AC_MSG_ERROR([OPENIB support requested but required sysfs not found. Aborting])])
|
||||
$3])
|
||||
|
||||
|
||||
ompi_check_openib_$1_save_LDFLAGS="$LDFLAGS"
|
||||
|
||||
AS_IF([test "$ompi_check_openib_libdir" = ""],
|
||||
[ompi_check_openib_my_libdir=$ompi_check_openib_dir],
|
||||
[ompi_check_openib_my_libdir=$ompi_check_openib_libdir])
|
||||
|
||||
AS_IF([test -d "$ompi_check_openib_my_libdir/lib64/infiniband"],
|
||||
[ompi_check_openib_libflag=" -L $ompi_check_openib_my_libdir/lib64/infiniband"
|
||||
LDFLAGS="$LDFLAGS -L $ompi_check_openib_my_libdir/lib64/infiniband"],
|
||||
[AS_IF([test -d "$ompi_check_openib_my_libdir/lib/infiniband"],
|
||||
[ompi_check_openib_libflag=" -L$ompi_check_openib_my_libdir/lib/infiniband"
|
||||
LDFLAGS="$LDFLAGS -L $ompi_check_openib_my_libdir/lib/infiniband"])])
|
||||
|
||||
echo "OPENIB_LDFLAGS Says: $LDFLAGS"
|
||||
|
||||
|
||||
OMPI_CHECK_PACKAGE([$1],
|
||||
[infiniband/verbs.h],
|
||||
[ibverbs],
|
||||
[ibv_open_device],
|
||||
[-libcm],
|
||||
[$ompi_check_openib_dir],
|
||||
[$ompi_check_openib_libdir],
|
||||
[ompi_check_openib_happy="yes"],
|
||||
[ompi_check_openib_happy="no"])
|
||||
|
||||
LDFLAGS="$ompi_check_openib_$1_save_LDFLAGS"
|
||||
|
||||
AS_IF([test "$ompi_check_openib_happy" = "yes"],
|
||||
[$2],
|
||||
[AS_IF([test ! -z "$with_btl_openib" -a "$with_btl_openib" != "no"],
|
||||
[AC_MSG_ERROR([OPENIB support requested but not found. Aborting])])
|
||||
$3])
|
||||
$1_LDFLAGS="$$1_LDFLAGS $ompi_check_openib_libflag"
|
||||
echo "OPENIB_LDFLAGS 1 Says : $$1_LDFLAGS"
|
||||
])
|
||||
|
@ -1,2 +0,0 @@
|
||||
ompi
|
||||
gshipman
|
@ -18,6 +18,9 @@
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
CFLAGS = $(btl_openib_CFLAGS)
|
||||
AM_CPPFLAGS=$(btl_openib_CPPFLAGS)
|
||||
|
||||
sources = \
|
||||
btl_openib.c \
|
||||
btl_openib.h \
|
||||
@ -48,8 +51,10 @@ endif
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component)
|
||||
mca_btl_openib_la_SOURCES = $(component_sources)
|
||||
mca_btl_openib_la_LDFLAGS = -module -avoid-version
|
||||
mca_btl_openib_la_LDFLAGS = -module -avoid-version $(btl_openib_LDFLAGS)
|
||||
mca_btl_openib_la_LIBADD = $(btl_openib_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = $(lib)
|
||||
libmca_btl_openib_la_SOURCES = $(lib_sources)
|
||||
libmca_btl_openib_la_LDFLAGS = -module -avoid-version
|
||||
libmca_btl_openib_la_LDFLAGS= -module -avoid-version $(btl_openib_LDFLAGS)
|
||||
libmca_btl_openib_la_LIBADD=$(btl_openib_LIBS)
|
@ -1,152 +0,0 @@
|
||||
# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
# 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$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
#
|
||||
# Main function. This will be invoked in the middle of the templated
|
||||
# configure script.
|
||||
#
|
||||
AC_DEFUN([MCA_CONFIGURE_STUB],[
|
||||
|
||||
# Additional --with flags that can be specified
|
||||
|
||||
AC_ARG_WITH(btl-openib,
|
||||
AC_HELP_STRING([--with-btl-openib=IBDIR],
|
||||
[Specify the installation directory of IB (should enable the correct automatic determination of using the 32 or 64 bit library, if both are present under IBDIR/lib and IBDIR/lib64)]))
|
||||
AC_ARG_WITH(btl-openib-libdir,
|
||||
AC_HELP_STRING([--with-btl-openib-libdir=IBLIBDIR],
|
||||
[directory where the IB library can be found, if it is not in $IBDIR/lib or $IBDIR/lib/infiniband]))
|
||||
|
||||
# Quick sanity check
|
||||
|
||||
if test "$with_btl_openib" = "no"; then
|
||||
AC_MSG_WARN([*** --without-btl-openib specified -- aborting])
|
||||
AC_MSG_ERROR([Will not continue])
|
||||
fi
|
||||
|
||||
# Find the right IBDIR
|
||||
|
||||
if test "$with_btl_openib" != "" -a "$with_btl_openib" != "yes" ; then
|
||||
IBDIR="$with_btl_openib"
|
||||
IBLIBDIR="$with_btl_openib"
|
||||
fi
|
||||
if test "$with_btl_openib_libdir" != "" -a "$with_btl_openib_libdir" != "yes" -a \
|
||||
"$with_btl_openib_libdir" != "no"; then
|
||||
IBLIBDIR="$with_btl_openib_libdir"
|
||||
fi
|
||||
|
||||
# Add to CPPFLAGS if necessary
|
||||
|
||||
EXTRA_CPPFLAGS=
|
||||
if test "$IBDIR" != ""; then
|
||||
if test -d "$IBDIR/include"; then
|
||||
EXTRA_CPPFLAGS="-I$IBDIR/include"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $IBDIR/include])
|
||||
AC_MSG_WARN([*** Will still try to configure openib btl anyway...])
|
||||
fi
|
||||
fi
|
||||
|
||||
# See if we can find verbs.h. First try without any additional
|
||||
# -I's to see if we can find it easily. If we don't find it, then
|
||||
# try again with the EXTRA_CPPFLAGS. This prevents us from adding
|
||||
# things like -I/usr/local if we don't need to.
|
||||
|
||||
AC_CHECK_HEADERS(infiniband/verbs.h,,
|
||||
[CPPFLAGS="$CPPFLAGS $EXTRA_CPPFLAGS"
|
||||
eval "unset ac_cv_header_verbs_h"
|
||||
AC_CHECK_HEADERS(infiniband/verbs.h,,
|
||||
AC_MSG_ERROR([*** Cannot find working infiniband/verbs.h]))])
|
||||
|
||||
# Many verbs.h's have horrid semantics and don't obey ISOC99
|
||||
# standards. So we have to turn off flags like -pedantic. Sigh.
|
||||
|
||||
# Galen: is this true for Open IB?
|
||||
|
||||
#CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
||||
|
||||
# Note that it is possible to find the library even if -L is not
|
||||
# specified, if the LD_LIBRARY_PATH includes the directory where
|
||||
# the shared ib library is kept. Hence, we unset LD_LIBRARY_PATH
|
||||
# before running this test.
|
||||
|
||||
LD_LIBRARY_PATH_save="$LD_LIBRARY_PATH"
|
||||
unset LD_LIBRARY_PATH
|
||||
|
||||
# Helper function to try to find libibverbs (called from below).
|
||||
|
||||
mca_btl_openib_try_find_lib() {
|
||||
func1=[$]1
|
||||
func2=[$]2
|
||||
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
ibverbs_badness=
|
||||
AC_CHECK_LIB([ibverbs], [$func1], [], [ibverbs_badness=true],
|
||||
[-libcm])
|
||||
if test "$ibverbs_badness" != ""; then
|
||||
AC_TRY_LINK([#include <pthread.h>], [pthread_create(0,0,0,0);],
|
||||
[pthreads="yes"],
|
||||
[pthreads="no"])
|
||||
AC_CHECK_LIB(sysfs, sysfs_open_class,
|
||||
[sysfs=yes LIBS="$LIBS -lsysfs"],
|
||||
[sysfs=no])
|
||||
if test "$pthread" = "yes" && test "$sysfs" = "yes"; then
|
||||
AC_CHECK_LIB([ibverbs], [$func2], [], [],
|
||||
[-libcm])
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
# Open IB does not appear to make lib64 variants -- just try the
|
||||
# normal "lib" directory.
|
||||
|
||||
LIBS_save="$LIBS"
|
||||
LDFLAGS_save="$LDFLAGS"
|
||||
# Galen: Are these the right extra libs?
|
||||
LIBS="$LIBS -libcm"
|
||||
LIBS_orig="$LIBS"
|
||||
|
||||
EXTRA_LDFLAGS=
|
||||
if test -d "$IBLIBDIR/lib/infiniband"; then
|
||||
EXTRA_LDFLAGS="-L$IBLIBDIR/lib/infiniband -L$IBLIBDIR/lib -L$IBLIBDIR/lib/sysfs"
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
# Galen: are these the right symbol names?
|
||||
mca_btl_openib_try_find_lib ibv_get_devices ibv_open_device
|
||||
if test "$LIBS" != "$LIBS_orig"; then
|
||||
# Galen: Are we looking for "libibverbs"?
|
||||
echo "--> found libibverbs libs in $IBLIBDIR/lib"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$LIBS" = "$LIBS_orig"; then
|
||||
# Galen: Are we looking for "libibverbs"?
|
||||
AC_MSG_ERROR([*** Cannot find working libibverbs.])
|
||||
fi
|
||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH_save"
|
||||
# Galen: Are these the right extra libs?
|
||||
LIBS="$LIBS -libcm"
|
||||
|
||||
#
|
||||
# Save extra compiler/linker flags so that they can be added in
|
||||
# the wrapper compilers, if necessary
|
||||
#
|
||||
|
||||
WRAPPER_EXTRA_LDFLAGS="$EXTRA_LDFLAGS"
|
||||
# Galen: Are these the right extra libs?
|
||||
WRAPPER_EXTRA_LIBS="-libverbs -libcm"
|
||||
])dnl
|
@ -1,2 +0,0 @@
|
||||
ompi
|
||||
gshipman
|
@ -18,6 +18,9 @@
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
CFLAGS = $(mpool_openib_CFLAGS)
|
||||
AM_CPPFLAGS = $(mpool_openib_CPPFLAGS)
|
||||
|
||||
sources = \
|
||||
mpool_openib.h \
|
||||
mpool_openib_module.c \
|
||||
@ -41,10 +44,13 @@ endif
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_mpool_openib_la_SOURCES = $(sources)
|
||||
mca_mpool_openib_la_LDFLAGS = -module -avoid-version
|
||||
mca_mpool_openib_la_LDFLAGS = -module -avoid-version $(mpool_openib_LDFLAGS)
|
||||
mca_mpool_openib_la_LIBADD = $(mpool_openib_LIBS)
|
||||
|
||||
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_mpool_openib_la_SOURCES = $(sources)
|
||||
libmca_mpool_openib_la_LDFLAGS = -module -avoid-version
|
||||
libmca_mpool_openib_la_LDFLAGS = -module -avoid-version $(mpool_openib_LDFLAGS)
|
||||
libmca_mpool_openib_la_LIBADD = $(mpool_openib_LIBS)
|
||||
|
||||
|
||||
|
@ -1,152 +0,0 @@
|
||||
# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
# 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$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
#
|
||||
# Main function. This will be invoked in the middle of the templated
|
||||
# configure script.
|
||||
#
|
||||
AC_DEFUN([MCA_CONFIGURE_STUB],[
|
||||
|
||||
# Additional --with flags that can be specified
|
||||
|
||||
AC_ARG_WITH(btl-openib,
|
||||
AC_HELP_STRING([--with-btl-openib=IBDIR],
|
||||
[Specify the installation directory of IB (should enable the correct automatic determination of using the 32 or 64 bit library, if both are present under IBDIR/lib and IBDIR/lib64)]))
|
||||
AC_ARG_WITH(btl-openib-libdir,
|
||||
AC_HELP_STRING([--with-btl-openib-libdir=IBLIBDIR],
|
||||
[directory where the IB library can be found, if it is not in $IBDIR/lib or $IBDIR/lib/infiniband]))
|
||||
|
||||
# Quick sanity check
|
||||
|
||||
if test "$with_btl_openib" = "no"; then
|
||||
AC_MSG_WARN([*** --without-btl-openib specified -- aborting])
|
||||
AC_MSG_ERROR([Will not continue])
|
||||
fi
|
||||
|
||||
# Find the right IBDIR
|
||||
|
||||
if test "$with_btl_openib" != "" -a "$with_btl_openib" != "yes" ; then
|
||||
IBDIR="$with_btl_openib"
|
||||
IBLIBDIR="$with_btl_openib"
|
||||
fi
|
||||
if test "$with_btl_openib_libdir" != "" -a "$with_btl_openib_libdir" != "yes" -a \
|
||||
"$with_btl_openib_libdir" != "no"; then
|
||||
IBLIBDIR="$with_btl_openib_libdir"
|
||||
fi
|
||||
|
||||
# Add to CPPFLAGS if necessary
|
||||
|
||||
EXTRA_CPPFLAGS=
|
||||
if test "$IBDIR" != ""; then
|
||||
if test -d "$IBDIR/include"; then
|
||||
EXTRA_CPPFLAGS="-I$IBDIR/include"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $IBDIR/include])
|
||||
AC_MSG_WARN([*** Will still try to configure openib btl anyway...])
|
||||
fi
|
||||
fi
|
||||
|
||||
# See if we can find verbs.h. First try without any additional
|
||||
# -I's to see if we can find it easily. If we don't find it, then
|
||||
# try again with the EXTRA_CPPFLAGS. This prevents us from adding
|
||||
# things like -I/usr/local if we don't need to.
|
||||
|
||||
AC_CHECK_HEADERS(infiniband/verbs.h,,
|
||||
[CPPFLAGS="$CPPFLAGS $EXTRA_CPPFLAGS"
|
||||
eval "unset ac_cv_header_verbs_h"
|
||||
AC_CHECK_HEADERS(infiniband/verbs.h,,
|
||||
AC_MSG_ERROR([*** Cannot find working infiniband/verbs.h]))])
|
||||
|
||||
# Many verbs.h's have horrid semantics and don't obey ISOC99
|
||||
# standards. So we have to turn off flags like -pedantic. Sigh.
|
||||
|
||||
# Galen: is this true for Open IB?
|
||||
|
||||
#CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
||||
|
||||
# Note that it is possible to find the library even if -L is not
|
||||
# specified, if the LD_LIBRARY_PATH includes the directory where
|
||||
# the shared ib library is kept. Hence, we unset LD_LIBRARY_PATH
|
||||
# before running this test.
|
||||
|
||||
LD_LIBRARY_PATH_save="$LD_LIBRARY_PATH"
|
||||
unset LD_LIBRARY_PATH
|
||||
|
||||
# Helper function to try to find libibverbs (called from below).
|
||||
|
||||
mca_btl_openib_try_find_lib() {
|
||||
func1=[$]1
|
||||
func2=[$]2
|
||||
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
ibverbs_badness=
|
||||
AC_CHECK_LIB([ibverbs], [$func1], [], [ibverbs_badness=true],
|
||||
[-libcm])
|
||||
if test "$ibverbs_badness" != ""; then
|
||||
AC_TRY_LINK([#include <pthread.h>], [pthread_create(0,0,0,0);],
|
||||
[pthreads="yes"],
|
||||
[pthreads="no"])
|
||||
AC_CHECK_LIB(sysfs, sysfs_open_class,
|
||||
[sysfs=yes LIBS="$LIBS -lsysfs"],
|
||||
[sysfs=no])
|
||||
if test "$pthread" = "yes" && test "$sysfs" = "yes"; then
|
||||
AC_CHECK_LIB([ibverbs], [$func2], [], [],
|
||||
[-libcm])
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
# Open IB does not appear to make lib64 variants -- just try the
|
||||
# normal "lib" directory.
|
||||
|
||||
LIBS_save="$LIBS"
|
||||
LDFLAGS_save="$LDFLAGS"
|
||||
# Galen: Are these the right extra libs?
|
||||
LIBS="$LIBS -libcm"
|
||||
LIBS_orig="$LIBS"
|
||||
|
||||
EXTRA_LDFLAGS=
|
||||
if test -d "$IBLIBDIR/lib/infiniband"; then
|
||||
EXTRA_LDFLAGS="-L$IBLIBDIR/lib/infiniband -L$IBLIBDIR/lib -L$IBLIBDIR/lib/sysfs"
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
# Galen: are these the right symbol names?
|
||||
mca_btl_openib_try_find_lib ibv_get_devices ibv_open_device
|
||||
if test "$LIBS" != "$LIBS_orig"; then
|
||||
# Galen: Are we looking for "libibverbs"?
|
||||
echo "--> found libibverbs libs in $IBLIBDIR/lib"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$LIBS" = "$LIBS_orig"; then
|
||||
# Galen: Are we looking for "libibverbs"?
|
||||
AC_MSG_ERROR([*** Cannot find working libibverbs.])
|
||||
fi
|
||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH_save"
|
||||
# Galen: Are these the right extra libs?
|
||||
LIBS="$LIBS -libcm"
|
||||
|
||||
#
|
||||
# Save extra compiler/linker flags so that they can be added in
|
||||
# the wrapper compilers, if necessary
|
||||
#
|
||||
|
||||
WRAPPER_EXTRA_LDFLAGS="$EXTRA_LDFLAGS"
|
||||
# Galen: Are these the right extra libs?
|
||||
WRAPPER_EXTRA_LIBS="-libverbs -libcm"
|
||||
])dnl
|
@ -1,96 +0,0 @@
|
||||
/* mvapi_config.h. Generated by configure. */
|
||||
/* mvapi_config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* -*- c -*-
|
||||
*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
* 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$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*
|
||||
* Open MPI configuation header file.
|
||||
* MCA mpool: mvapi component
|
||||
*/
|
||||
|
||||
#ifndef MCA_mpool_openib_CONFIG_H
|
||||
#define MCA_mpool_openib_CONFIG_H
|
||||
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `vapi' library (-lvapi). */
|
||||
#define HAVE_LIBVAPI 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the <vapi.h> header file. */
|
||||
#define HAVE_VAPI_H 1
|
||||
|
||||
/* Whether the mvapi mpool is the default mpool or not */
|
||||
#define MCA_mpool_openib_DEFAULT 0
|
||||
|
||||
/* OMPI architecture string */
|
||||
#define OMPI_ARCH "x86_64-unknown-linux-gnu"
|
||||
|
||||
/* OMPI underlying C compiler */
|
||||
#define OMPI_CC "gcc"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
/* #undef STDC_HEADERS */
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
#endif /* _MCA_mpool_openib_CONFIG_H */
|
@ -1,95 +0,0 @@
|
||||
/* mvapi_config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* -*- c -*-
|
||||
*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
* 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$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*
|
||||
* Open MPI configuation header file.
|
||||
* MCA mpool: mvapi component
|
||||
*/
|
||||
|
||||
#ifndef MCA_mpool_openib_CONFIG_H
|
||||
#define MCA_mpool_openib_CONFIG_H
|
||||
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `vapi' library (-lvapi). */
|
||||
#undef HAVE_LIBVAPI
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the <vapi.h> header file. */
|
||||
#undef HAVE_VAPI_H
|
||||
|
||||
/* Whether the mvapi mpool is the default mpool or not */
|
||||
#undef MCA_mpool_openib_DEFAULT
|
||||
|
||||
/* OMPI architecture string */
|
||||
#undef OMPI_ARCH
|
||||
|
||||
/* OMPI underlying C compiler */
|
||||
#undef OMPI_CC
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#endif /* _MCA_mpool_openib_CONFIG_H */
|
Загрузка…
x
Ссылка в новой задаче
Block a user