]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Trilinos 10.6.x has bugs that don't allow us to work with it. Error out when encounte...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Sep 2011 12:50:49 +0000 (12:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Sep 2011 12:50:49 +0000 (12:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@24482 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index e96f7eb948c367f4dd7c9450dbefb14dd93d8261..105d78665e0a31d180710e79963c6065b7a467c3 100644 (file)
@@ -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)
index 9d622b8c9b5e1d5aaba7b27f5a56a3fdae10873a..37888e460118240912158e199bd75765aeafa910 100755 (executable)
@@ -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
+
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.