@@ -2,6 +2,7 @@ dnl -*- shell-script -*-
22dnl
33dnl Copyright (c) 2016 Los Alamos National Security, LLC. All rights
44dnl reserved.
5+ dnl Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
56dnl $COPYRIGHT $
67dnl
78dnl Additional copyrights may follow
@@ -33,55 +34,50 @@ AC_DEFUN([OMPI_SUMMARY_ADD],[
3334
3435AC_DEFUN([OMPI_SUMMARY_PRINT],[
3536 OPAL_VAR_SCOPE_PUSH([ompi_summary_section ompi_summary_section_name])
36- echo " \nOpen MPI configuration:"
37- echo " -----------------------"
38- echo " Version: $OMPI_MAJOR_VERSION .$OMPI_MINOR_VERSION .$OMPI_RELEASE_VERSION $OMPI_GREEK_VERSION "
39-
40- dnl Print out which projects will be built
41- echo " Build Open Platform Abstration project: yes"
42- if test " $project_orte_amc " = " true" ; then
43- echo " Build Open Runtime project: yes"
44- else
45- echo " Build Open Runtime project: no"
46- fi
37+ cat << EOF
4738
48- if test " $project_ompi_amc " = " true" ; then
49- echo " Build Open MPI project: yes"
50- else
51- echo " Build Open MPI project: no"
52- fi
39+ Open MPI configuration:
40+ -----------------------
41+ Version: $OMPI_MAJOR_VERSION .$OMPI_MINOR_VERSION .$OMPI_RELEASE_VERSION$OMPI_GREEK_VERSION
42+ EOF
5343
54- if test " $project_shmem_amc " = " true" ; then
55- echo " Build Open SHMEM project : yes"
44+ if test " $project_ompi_amc " = " true" ; then
45+ echo " Build MPI C bindings : yes"
5646 else
57- echo " Build Open SHMEM project : no"
47+ echo " Build MPI C bindings : no"
5848 fi
5949
6050 dnl Print out the bindings if we are building OMPI
6151 if test " $project_ompi_amc " = " true" ; then
6252 if test x$enable_mpi_cxx = xyes ; then
63- echo " MPI C++ bindings (deprecated): yes"
53+ echo " Build MPI C++ bindings (deprecated): yes"
6454 else
65- echo " MPI C++ bindings (deprecated): no"
55+ echo " Build MPI C++ bindings (deprecated): no"
6656 fi
6757
6858 if test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_MPIFH_BINDINGS ; then
69- echo " MPI Fortran bindings: mpif.h"
59+ echo " Build MPI Fortran bindings: mpif.h"
7060 elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPI_BINDINGS ; then
71- echo " MPI Fortran bindings: mpif.h, use mpi"
61+ echo " Build MPI Fortran bindings: mpif.h, use mpi"
7262 elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPIF08_BINDINGS ; then
73- echo " MPI Fortran bindings: mpif.h, use mpi, use mpi_f08"
63+ echo " Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08"
7464 else
75- echo " MPI Fortran bindings: no"
65+ echo " Build MPI Fortran bindings: no"
7666 fi
7767
7868 if test x$opal_java_happy = xyes ; then
79- echo " MPI Java bindings (experimental): yes"
69+ echo " Build MPI Java bindings (experimental): yes"
8070 else
81- echo " MPI Java bindings (experimental): no"
71+ echo " MPI Build Java bindings (experimental): no"
8272 fi
8373 fi
8474
75+ if test " $project_shmem_amc " = " true" ; then
76+ echo " Build Open SHMEM support: yes"
77+ else
78+ echo " Build Open SHMEM support: no"
79+ fi
80+
8581 if test $WANT_DEBUG = 0 ; then
8682 echo " Debug build: no"
8783 else
@@ -90,6 +86,8 @@ AC_DEFUN([OMPI_SUMMARY_PRINT],[
9086
9187 if test ! -z $with_platform ; then
9288 echo " Platform file: $with_platform "
89+ else
90+ echo " Platform file: (none)"
9391 fi
9492
9593 echo
@@ -103,8 +101,13 @@ AC_DEFUN([OMPI_SUMMARY_PRINT],[
103101 done
104102
105103 if test $WANT_DEBUG = 1 ; then
106- echo " INTERNAL DEBUGGING IS ENABLED. DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS!\n"
104+ cat << EOF
105+ *****************************************************************************
106+ THIS IS A DEBUG BUILD! DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS!
107+ *****************************************************************************
108+ EOF
107109 fi
110+ echo " "
108111
109112 OPAL_VAR_SCOPE_POP
110113])
0 commit comments