]> https://gitweb.dealii.org/ - candi.git/commitdiff
deal.II: ubuntu14 (14.04): set Trilinos to v11 if STABLE_BUILD + deal.II v8.3.0
authorUwe Köcher <koecher@hsu-hamburg.de>
Mon, 26 Oct 2015 17:41:14 +0000 (18:41 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Mon, 26 Oct 2015 17:41:14 +0000 (18:41 +0100)
deal.II/platforms/supported/ubuntu14.platform

index 416bced9aa9efd7475e20b545883bb95d1102b69..c4abc03cfabde9a160a37f62ba7cae411a583d2a 100644 (file)
@@ -1,13 +1,14 @@
 # ubuntu 14
 # 
-# WARNING: please install deal.II with
-#   STABLE_BUILD=false
-# since there is an issue with the stable build of deal.II v8.3.0.
 # 
 # This build script assumes that you have several packages already
 # installed via ubuntu's apt-get using the following commands:
 #
-# > sudo apt-get install build-essential automake autoconf gfortran openmpi-bin openmpi-common libopenmpi-dev cmake subversion git libblas-dev liblapack-dev libblas3gf liblapack3gf splint tcl tcl-dev environment-modules libsuitesparse-dev libtool libboost-all-dev qt4-dev-tools
+# > sudo apt-get install build-essential automake autoconf gfortran \
+#   openmpi-bin openmpi-common libopenmpi-dev cmake subversion \
+#   git libblas-dev liblapack-dev libblas3gf liblapack3gf splint \
+#   tcl tcl-dev environment-modules libsuitesparse-dev \
+#   libtool libboost-all-dev qt4-dev-tools
 # 
 # Then reboot and run candi again.
 ##
@@ -27,3 +28,15 @@ once:slepc
 dealii
 )
 
+# The default compiler on ubuntu14 does not support Trilinos 12
+# together with deal.II v8.3.0.
+# Note: this issue is resolved in the current development trunc
+# of deal.II (v8.4pre).
+# Anyhow, the user can decide to use Trilinos 11 or 12, if the
+# version number is not set to AUTO.
+# The last point is due to own compilers (e.g. intel) which support
+# Trilinos 12.
+if [ ${STABLE_BUILD} == "true" ] && [ ${DEAL_II_VERSION} == "v8.3.0" ] && [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
+  TRILINOS_MAJOR_VERSION=11
+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.