From 7539f95f54c106bc0c87f2ac651c0146bf1b1fe7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Thu, 29 Oct 2015 19:08:35 +0100 Subject: [PATCH] deal.II: SuperLU/ParMETIS/Trilinos patch; Minor fix due to a comment of @tjhei --- deal.II/packages/dealii-prepare.package | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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,,} -- 2.39.5