-D DEAL_II_COMPONENT_PARAMETER_GUI=ON \
"
-# Please add the following path(es) to DEAL_CONFOPTS ahead,
-# if you wish to use (self-compiled) versions of them together
-# with deal.II.
+# Please add the following path(es) if you wish to use
+# (self-compiled) versions of them together with deal.II.
# Make sure, that the coinciding option is setted to "ON".
# If you want to use the packages from your system, you
# may not set the variables (usually deal.II is smart enough
# simply set the option to ON and do NOT specify the path,
# this will be done automatically elsewhere.
#
-#-D ARPACK_DIR= \
-#-D METIS_DIR= \
-#-D MUMPS_DIR= \
-#-D P4EST_DIR= \
-#-D TRILINOS_DIR= \
-#-D HDF5_DIR= \
+# ARPACK_DIR=
+# METIS_DIR=
+# MUMPS_DIR=
+# P4EST_DIR=
+# TRILINOS_DIR=
+# HDF5_DIR=
+# PETSC_DIR=
+# SLEPC_DIR=
+# BLAS_DIR=
+# LAPACK_DIR=
+
+#########################################################################
+# Do you want to use MKL?
+MKL=OFF
#########################################################################
# How many processes would you like to build using?
### DO NOT MODIFY THE CODE BELOW ###
####################################
+#########################################################################
# Loop over the options in DEAL_CONFOPTS and if the package is turned off, add
# it to the PACKAGES_OFF list.
for PACKAGE in ${DEAL_CONFOPTS[@]}; do
PACKAGES_OFF=${PACKAGES_OFF}' SUPERLU_DIST';
fi
-# Transorm upper case to lower case.
+# Transform upper case to lower case.
PACKAGES_OFF=${PACKAGES_OFF,,}
+
+#########################################################################
+TRILINOS_CONFOPTS=" \
+-D BLAS_LIBRARY_DIRS:STRING=${BLAS_DIR} \
+-D LAPACK_LIBRARY_DIRS:STRING=${LAPACK_LIBRARY_DIRS} \
+"
+
+if [[ ${MKL} == ON ]]; then
+ TRILINOS_CONFOPTS=" \
+ ${TRILINOS_CONFOPTS} \
+ -D BLAS_LIBRARY_NAMES:STRING='mkl_core;mkl_sequential' \
+ -D LAPACK_LIBRARY_NAMES:STRING=mkl_intel_lp64 \
+ "
+fi