]> https://gitweb.dealii.org/ - candi.git/commitdiff
deal.II: removed special variables for superlu and parmetis
authorUwe Köcher <koecher@hsu-hamburg.de>
Tue, 10 Nov 2015 20:57:10 +0000 (21:57 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Tue, 10 Nov 2015 20:57:10 +0000 (21:57 +0100)
deal.II-toolchain/packages/dealii-prepare.package
deal.II-toolchain/packages/trilinos.package

index 89c3285351219e3ef567d5c47cc14bc17fd91076..30e13f56fae17061e8cfabff364fcd4a05ce0eea 100644 (file)
@@ -19,14 +19,6 @@ unset PACKAGE_NAME
 if [[ ${PACKAGES_OFF} =~ 'METIS' ]]; then
     PACKAGES_OFF=${PACKAGES_OFF}' PARMETIS';
     PACKAGES_OFF=${PACKAGES_OFF}' SUPERLU_DIST';
-    ParMETIS=OFF
-    SuperLUDist=OFF
-fi
-
-# Turn on SuperLUDist and ParMETIS, if nothing else is specified so far.
-if [ -z "${SuperLUDist}" ]; then
-    ParMETIS=ON
-    SuperLUDist=ON
 fi
 
 # Transform upper case to lower case.
index 027874f7947c358fee475c87c8427df2ff40b0d9..701e3e7506f3e1570fa5965bf21b0a57dc980263 100644 (file)
@@ -19,7 +19,8 @@ elif [ ${TRILINOS_MAJOR_VERSION} = "11" ]; then
     #Note: This issue is resolved by setting
     #          -D HAVE_SUPERLUDIST_LUSTRUCTINIT_2ARG
     #      for Trilinos v12; this is neglegted by Trilinos v11 since it is unknown.
-    SuperLUDist=OFF
+    cecho ${BAD} "trilinos: warning: forcing unset SUPERLU_DIR (not supported)"
+    unset SUPERLU_DIR
 
 else
     cecho ${BAD} "Unknown Trilinos version ${TRILINOS_MAJOR_VERSION} forced, please use AUTO|12|11."
@@ -98,7 +99,7 @@ CONFOPTS="${CONFOPTS} \
           -D Trilinos_EXTRA_LINK_FLAGS:STRING=-lgfortran"
 
 # Add ParMETIS, if present
-if [ ! -z "${PARMETIS_DIR}" ] && [ ! -z "${ParMETIS}" ]; then
+if [ ! -z "${PARMETIS_DIR}" ]; then
     cecho ${INFO} "trilinos: configuration with ParMETIS"
     CONFOPTS="\
         ${CONFOPTS} \
@@ -108,7 +109,7 @@ if [ ! -z "${PARMETIS_DIR}" ] && [ ! -z "${ParMETIS}" ]; then
 fi
 
 # Add SuperLU_dist, if present
-if [ ! -z "${SUPERLU_DIR}" ] && [ ! -z "${SuperLUDist}" ]; then
+if [ ! -z "${SUPERLU_DIR}" ]; then
     cecho ${INFO} "trilinos: configuration with SuperLU_dist"
     CONFOPTS="\
         ${CONFOPTS} \

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.