From: bangerth Date: Fri, 30 Sep 2011 12:50:49 +0000 (+0000) Subject: Trilinos 10.6.x has bugs that don't allow us to work with it. Error out when encounte... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=790dc42d16c102f6a9817ff3ced468e4d53028e8;p=dealii-svn.git Trilinos 10.6.x has bugs that don't allow us to work with it. Error out when encountering these versions. git-svn-id: https://svn.dealii.org/trunk@24482 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index e96f7eb948..105d78665e 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -6340,6 +6340,15 @@ AC_DEFUN(DEAL_II_CONFIGURE_TRILINOS_VERSION, dnl AC_MSG_ERROR([Trilinos versions prior to 10.0 are no longer supported with deal.II.]) fi + dnl Trilinos 10.6 had quite a number of bugs we ran into, see + dnl for example + dnl https://software.sandia.gov/bugzilla/show_bug.cgi?id=5062 + dnl https://software.sandia.gov/bugzilla/show_bug.cgi?id=5319 + if test "$DEAL_II_TRILINOS_VERSION_MAJOR" = 10 -a "$DEAL_II_TRILINOS_VERSION_MINOR" = 6 ; then + AC_MSG_ERROR([Trilinos versions 10.6.x have bugs that make it incompatible + with deal.II. Please use versions before or after 10.6.x.]) + fi + AC_SUBST(DEAL_II_TRILINOS_VERSION_MAJOR) AC_SUBST(DEAL_II_TRILINOS_VERSION_MINOR) AC_SUBST(DEAL_II_TRILINOS_VERSION_SUBMINOR) diff --git a/deal.II/configure b/deal.II/configure index 9d622b8c9b..37888e4601 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -10707,6 +10707,11 @@ $as_echo "$DEAL_II_TRILINOS_VERSION_MAJOR.$DEAL_II_TRILINOS_VERSION_MINOR.$DEAL_ as_fn_error $? "Trilinos versions prior to 10.0 are no longer supported with deal.II." "$LINENO" 5 fi + if test "$DEAL_II_TRILINOS_VERSION_MAJOR" = 10 -a "$DEAL_II_TRILINOS_VERSION_MINOR" = 6 ; then + as_fn_error $? "Trilinos versions 10.6.x have bugs that make it incompatible + with deal.II. Please use versions before or after 10.6.x." "$LINENO" 5 + fi +