From: Uwe Köcher Date: Thu, 14 Jun 2018 18:52:33 +0000 (+0200) Subject: centos 7: bug: force to have parmetis 4.0.3 installed X-Git-Tag: v9.0.0~8^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63095acca4732e828147fd097d171a0eff152437;p=candi.git centos 7: bug: force to have parmetis 4.0.3 installed --- 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}"