From 63095acca4732e828147fd097d171a0eff152437 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Thu, 14 Jun 2018 20:52:33 +0200 Subject: [PATCH] centos 7: bug: force to have parmetis 4.0.3 installed --- deal.II-toolchain/packages/trilinos.package | 1 + deal.II-toolchain/platforms/supported/centos7.platform | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package index 2c114be..168cadc 100644 --- a/deal.II-toolchain/packages/trilinos.package +++ b/deal.II-toolchain/packages/trilinos.package @@ -111,6 +111,7 @@ if [ ! -z "${PARMETIS_DIR}" ]; then CONFOPTS="\ ${CONFOPTS} \ + ${TRILINOS_PARMETIS_CONFOPTS} \ -D TPL_ENABLE_ParMETIS:BOOL=ON \ -D TPL_ParMETIS_LIBRARIES:FILEPATH=${PARMETIS_DIR}/lib/libparmetis.${LDSUFFIX} \ -D TPL_ParMETIS_INCLUDE_DIRS:PATH=${PARMETIS_DIR}/include" diff --git a/deal.II-toolchain/platforms/supported/centos7.platform b/deal.II-toolchain/platforms/supported/centos7.platform index a68fde3..466df91 100644 --- a/deal.II-toolchain/platforms/supported/centos7.platform +++ b/deal.II-toolchain/platforms/supported/centos7.platform @@ -19,6 +19,12 @@ # before you continue! ## +# on centos 7 the candi installed parmetis 4.0.3 is not recognized correctly +# for trilinos 12-10-1. We force to assume parmetis version 4.0.3. +TRILINOS_PARMETIS_CONFOPTS="\ + ${TRILINOS_PARMETIS_CONFOPTS} \ + -D HAVE_PARMETIS_VERSION_4_0_3=ON" + # # Define the additional packages for this platform. #PACKAGES="once:cmake ${PACKAGES}" -- 2.39.5