From: Timo Heister Date: Wed, 8 Aug 2018 16:21:53 +0000 (+0200) Subject: address comment X-Git-Tag: v9.0.0~4^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ed77b736c85c940345358a9b5f69dd42b9cdb1;p=candi.git address comment --- diff --git a/deal.II-toolchain/packages/petsc.package b/deal.II-toolchain/packages/petsc.package index 45bb627..2fcb24a 100644 --- a/deal.II-toolchain/packages/petsc.package +++ b/deal.II-toolchain/packages/petsc.package @@ -98,7 +98,9 @@ package_specific_setup () { package_specific_register () { export PETSC_DIR=${INSTALL_PATH} - export SCALAPACK_DIR=${INSTALL_PATH} + if [ ! -z "${PARMETIS_DIR}" ]; then + export SCALAPACK_DIR=${INSTALL_PATH} + fi } package_specific_conf () {