]> https://gitweb.dealii.org/ - candi.git/commitdiff
deal.II: SuperLU/ParMETIS/Trilinos patch; Minor fix due to a comment of @tjhei
authorUwe Köcher <koecher@hsu-hamburg.de>
Thu, 29 Oct 2015 18:08:35 +0000 (19:08 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Thu, 29 Oct 2015 18:08:35 +0000 (19:08 +0100)
deal.II/packages/dealii-prepare.package

index 7a640832bfb82702e2565c19eb84a5a90d614e8b..94f0b293cec59dad537b0d8cd2854c6969d8d050 100644 (file)
@@ -5,9 +5,6 @@ BUILDCHAIN=ignore
 ### DO NOT MODIFY THE CODE BELOW ###
 ####################################
 
-ParMETIS=ON
-SuperLUDist=ON
-
 #########################################################################
 # Loop over the options in DEAL_CONFOPTS and if the package is turned off, add
 # it to the PACKAGES_OFF list.
@@ -28,6 +25,13 @@ if [[ ${PACKAGES_OFF} =~ 'METIS' ]]; then
     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.
 PACKAGES_OFF=${PACKAGES_OFF,,}
 

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.