From: Uwe Köcher Date: Thu, 29 Oct 2015 18:08:35 +0000 (+0100) Subject: deal.II: SuperLU/ParMETIS/Trilinos patch; Minor fix due to a comment of @tjhei X-Git-Tag: v0.7~6^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7539f95f54c106bc0c87f2ac651c0146bf1b1fe7;p=candi.git deal.II: SuperLU/ParMETIS/Trilinos patch; Minor fix due to a comment of @tjhei --- diff --git a/deal.II/packages/dealii-prepare.package b/deal.II/packages/dealii-prepare.package index 7a64083..94f0b29 100644 --- a/deal.II/packages/dealii-prepare.package +++ b/deal.II/packages/dealii-prepare.package @@ -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,,}