File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -808,6 +808,11 @@ if test "${CONFSET}" != "none" ; then
808808 # call original mpich configure
809809 # --disable-maintainer-mode prevent from refreshing autoconf generated files in the source folder.
810810 eval ${TOP_SRCDIR}/mpich2/configure ${CONFIGARGS} ${CONF_OPS} ${MPICHCONF} --disable-maintainer-mode
811+ if test $? -eq 0 ; then
812+ mpich_configure_successful="yes"
813+ else
814+ mpich_configure_successful="no"
815+ fi
811816fi
812817
813818echo "# ###### SUMMARY of psmpi configuration ########"
@@ -852,7 +857,11 @@ if test "${CONF_ADI3_DEVICE}" != "psp" -a "${CONF_ECHO_SUMMARY_PRINTED}" = "yes"
852857 echo "${CONF_ECHO_PREFIX}WARNING Top-level configure arguments for devices other than psp are propagated, but their effectiveness is not checked."
853858 echo "${CONF_ECHO_PREFIX}WARNING The canonical way for passing configure arguments on to the ch3/4 devices is the use of --with-mpichconf=[ [ args] ] ."
854859fi
855-
860+ if test "$mpich_configure_successful" = "no" ; then
861+ AC_MSG_ERROR ( [ MPICH's configure was NOT successful! Check logs for more details.] )
862+ else
863+ echo "${CONF_ECHO_PREFIX}The configure for ParaStation MPI, including MPICH, completed successfully."
864+ fi
856865#
857866# Local Variables:
858867# compile-command: "module load automake-1.15 && autoreconf -vif"
You can’t perform that action at this time.
0 commit comments