1
1

Merge pull request #1502 from jsquyres/pr/fix-libfabric-user-intent

fix libfabric user intent
Этот коммит содержится в:
Jeff Squyres 2016-03-28 14:15:39 -04:00
родитель ddc99d2ee5 bd3c15cef0
Коммит dfec5312cb
2 изменённых файлов: 26 добавлений и 26 удалений

Просмотреть файл

@ -88,7 +88,7 @@ AC_DEFUN([OPAL_CHECK_LIBFABRIC],[
AS_IF([test $opal_check_libfabric_happy = yes], AS_IF([test $opal_check_libfabric_happy = yes],
[$2], [$2],
[AS_IF([test "$opal_want_libfabric" = "yes"], [AS_IF([test -n "$with_libfabric" && test "$with_libfabric" != "no"],
[AC_MSG_WARN([libfabric support requested (via --with-libfabric), but not found.]) [AC_MSG_WARN([libfabric support requested (via --with-libfabric), but not found.])
AC_MSG_ERROR([Cannot continue.])]) AC_MSG_ERROR([Cannot continue.])])
$3]) $3])

Просмотреть файл

@ -19,14 +19,14 @@ AC_DEFUN([OMPI_SUMMARY_ADD],[
ompi_summary_section_current=$(eval echo \$ompi_summary_values_$ompi_summary_section) ompi_summary_section_current=$(eval echo \$ompi_summary_values_$ompi_summary_section)
if test -z "$ompi_summary_section_current" ; then if test -z "$ompi_summary_section_current" ; then
if test -z "$ompi_summary_sections" ; then if test -z "$ompi_summary_sections" ; then
ompi_summary_sections=$ompi_summary_section ompi_summary_sections=$ompi_summary_section
else else
ompi_summary_sections="$ompi_summary_sections $ompi_summary_section" ompi_summary_sections="$ompi_summary_sections $ompi_summary_section"
fi fi
eval ompi_summary_values_$ompi_summary_section=\"$ompi_summary_line\" eval ompi_summary_values_$ompi_summary_section=\"$ompi_summary_line\"
else else
eval ompi_summary_values_$ompi_summary_section=\"$ompi_summary_section_current,$ompi_summary_line\" eval ompi_summary_values_$ompi_summary_section=\"$ompi_summary_section_current,$ompi_summary_line\"
fi fi
OPAL_VAR_SCOPE_POP OPAL_VAR_SCOPE_POP
@ -42,23 +42,23 @@ Version: $OMPI_MAJOR_VERSION.$OMPI_MINOR_VERSION.$OMPI_RELEASE_VERSION$OMPI_GREE
EOF EOF
if test "$project_ompi_amc" = "true" ; then if test "$project_ompi_amc" = "true" ; then
echo "Build MPI C bindings: yes" echo "Build MPI C bindings: yes"
else else
echo "Build MPI C bindings: no" echo "Build MPI C bindings: no"
fi fi
dnl Print out the bindings if we are building OMPI dnl Print out the bindings if we are building OMPI
if test "$project_ompi_amc" = "true" ; then if test "$project_ompi_amc" = "true" ; then
if test x$enable_mpi_cxx = xyes ; then if test x$enable_mpi_cxx = xyes ; then
echo "Build MPI C++ bindings (deprecated): yes" echo "Build MPI C++ bindings (deprecated): yes"
else else
echo "Build MPI C++ bindings (deprecated): no" echo "Build MPI C++ bindings (deprecated): no"
fi fi
if test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_MPIFH_BINDINGS ; then if test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_MPIFH_BINDINGS ; then
echo "Build MPI Fortran bindings: mpif.h" echo "Build MPI Fortran bindings: mpif.h"
elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPI_BINDINGS ; then elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPI_BINDINGS ; then
echo "Build MPI Fortran bindings: mpif.h, use mpi" echo "Build MPI Fortran bindings: mpif.h, use mpi"
elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPIF08_BINDINGS ; then elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPIF08_BINDINGS ; then
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08" echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08"
else else
@ -73,31 +73,31 @@ EOF
fi fi
if test "$project_oshmem_amc" = "true" ; then if test "$project_oshmem_amc" = "true" ; then
echo "Build Open SHMEM support: yes" echo "Build Open SHMEM support: yes"
else else
echo "Build Open SHMEM support: no" echo "Build Open SHMEM support: no"
fi fi
if test $WANT_DEBUG = 0 ; then if test $WANT_DEBUG = 0 ; then
echo "Debug build: no" echo "Debug build: no"
else else
echo "Debug build: yes" echo "Debug build: yes"
fi fi
if test ! -z $with_platform ; then if test ! -z $with_platform ; then
echo "Platform file: $with_platform" echo "Platform file: $with_platform"
else else
echo "Platform file: (none)" echo "Platform file: (none)"
fi fi
echo echo
for ompi_summary_section in $(echo $ompi_summary_sections) ; do for ompi_summary_section in $(echo $ompi_summary_sections) ; do
ompi_summary_section_name=$(echo $ompi_summary_section | tr '_' ' ') ompi_summary_section_name=$(echo $ompi_summary_section | tr '_' ' ')
echo "$ompi_summary_section_name" echo "$ompi_summary_section_name"
echo "-----------------------" echo "-----------------------"
echo "$(eval echo \$ompi_summary_values_$ompi_summary_section)" | tr ',' $'\n' | sort -f echo "$(eval echo \$ompi_summary_values_$ompi_summary_section)" | tr ',' $'\n' | sort -f
echo echo " "
done done
if test $WANT_DEBUG = 1 ; then if test $WANT_DEBUG = 1 ; then
@ -105,9 +105,9 @@ EOF
***************************************************************************** *****************************************************************************
THIS IS A DEBUG BUILD! DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS! THIS IS A DEBUG BUILD! DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS!
***************************************************************************** *****************************************************************************
EOF EOF
fi fi
echo " "
OPAL_VAR_SCOPE_POP OPAL_VAR_SCOPE_POP
]) ])