Skip to content

Commit 06c520a

Browse files
committed
configure: Expand output at end of configuration
Add MPICH version and language support information to the end of configuration.
1 parent e6af52f commit 06c520a

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

configure.ac

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,7 @@ if test "$enable_f77" = "yes" ; then
20472047
AC_SUBST(WRAPPER_EXTRA_F77_FLAGS)
20482048

20492049
bindings="$bindings f77"
2050+
PAC_APPEND_CSV([mpif.h], [fortran_bindings])
20502051
AC_DEFINE(HAVE_FORTRAN_BINDING,1,[Define if Fortran is supported])
20512052
# Also define the name FORTRAN_BINDING for use in #if @FORTRAN_BINDING@..
20522053
FORTRAN_BINDING=1
@@ -2080,6 +2081,7 @@ bashWorks=$bashWorks)
20802081
if test "$enable_f90" = "yes" ; then
20812082
bindingsubsystems="$bindingsubsystems src/binding/fortran/use_mpi"
20822083
bindings="$bindings f90"
2084+
PAC_APPEND_CSV([use mpi], [fortran_bindings])
20832085
fi
20842086

20852087
if test "$enable_f08" = "yes" ; then
@@ -2089,6 +2091,7 @@ AM_CONDITIONAL([BUILD_F08_BINDING], [test "$enable_f08" = "yes"])
20892091

20902092
if test "$enable_f08" = "yes" ; then
20912093
bindings="$bindings f08"
2094+
PAC_APPEND_CSV([use mpi_f08], [fortran_bindings])
20922095
AC_DEFINE(HAVE_F08_BINDING, 1, [Define to 1 if we have Fortran 2008 binding])
20932096
fi
20942097

@@ -4273,19 +4276,31 @@ if test "$enable_f08" = "yes" ; then
42734276
fi
42744277
AC_OUTPUT
42754278

4276-
echo '*****************************************************'
4279+
# TODO: add info about MPI ABI
4280+
cat <<EOF
4281+
*****************************************************
4282+
***
4283+
*** MPICH $MPICH_VERSION ($MPICH_RELEASE_DATE)
4284+
***
4285+
*** Language Support
4286+
*** ----------------
4287+
*** C : yes
4288+
*** C++ : $enable_cxx
4289+
*** Fortran : $fortran_bindings
4290+
***
4291+
*** Device Configuration
4292+
*** --------------------
4293+
EOF
42774294
if test ${device_name} = "ch4" ; then
42784295
PAC_CH4_CONFIG_SUMMARY()
42794296
elif test ${DEVICE} = "ch3:nemesis" ; then
42804297
cat <<EOF
4281-
***
42824298
*** device configuration: ch3:nemesis
42834299
*** nemesis networks: ${nemesis_networks}
42844300
***
42854301
EOF
42864302
else
42874303
cat <<EOF
4288-
***
42894304
*** device configuration: ${DEVICE}
42904305
***
42914306
EOF

src/mpid/ch4/subconfigure.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ AC_DEFUN([PAC_CH4_CONFIG_SUMMARY], [
410410
t_ipc="$t_ipc gpudirect"
411411
fi
412412
cat <<EOF
413-
***
414413
*** device : ch4:${t_netmod}
415414
*** ipc feature : ${t_ipc}
416415
*** gpu support : ${t_gpu}

0 commit comments

Comments
 (0)