###############################################################################
# Start the build process
-
-# Set the default version of Trilinos to 12. This is overwritten for Ubuntu12
-TRILINOS_MAJOR_VERSION_AUTO=12
-
export ORIG_DIR=`pwd`
# Read configuration variables from candi.cfg
# Reset timings
TIMINGS=""
-if [[ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]]; then
- TRILINOS_MAJOR_VERSION=${TRILINOS_MAJOR_VERSION_AUTO}
-fi
-
# Fetch and build individual packages
for PACKAGE in ${PACKAGES[@]}; do
# Start timer
+if [ ${TRILINOS_MAJOR_VERSION} = "AUTO" ]; then
+ TRILINOS_MAJOR_VERSION=12
+fi
+
if [ ${TRILINOS_MAJOR_VERSION} = "11" ]; then
SOURCE=https://trilinos.org/oldsite/download/files/
VERSION=11.6.2
dealii
)
+# The default compiler on ubuntu12 does not support Trilinos 12.
+# 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 [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
+ TRILINOS_MAJOR_VERSION=11
+fi
-TRILINOS_MAJOR_VERSION_AUTO=11
#########################################################################
-# If you want to use Trilions, decide if you want v11.x.x or v12.x.x
+# If you want to use Trilions, decide if you want v12.x.x (AUTO) or v11.x.x
TRILINOS_MAJOR_VERSION=AUTO
#TRILINOS_MAJOR_VERSION=11
#TRILINOS_MAJOR_VERSION=12