From 1c787ab68d4bbb4f926de6fe6d3c3552d3f14c73 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 29 Apr 2016 10:02:21 +0100 Subject: [PATCH] disable parmetis inside Trilinos Trilinos will not add an rpath to the parmetis directory which will cause a missing dependency after installation. One workaround would be to specify CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON when configuring Trilinos, but I don't know if that has other consequences. Instead, disable this for now, because we are not using it anyways. --- deal.II-toolchain/packages/trilinos.package | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package index da43522..a06519a 100644 --- a/deal.II-toolchain/packages/trilinos.package +++ b/deal.II-toolchain/packages/trilinos.package @@ -99,14 +99,14 @@ CONFOPTS="${CONFOPTS} \ -D Trilinos_EXTRA_LINK_FLAGS:STRING=-lgfortran" # Add ParMETIS, if present -if [ ! -z "${PARMETIS_DIR}" ]; then - cecho ${INFO} "trilinos: configuration with ParMETIS" - CONFOPTS="\ - ${CONFOPTS} \ - -D TPL_ENABLE_ParMETIS:BOOL=ON \ - -D TPL_ParMETIS_LIBRARIES:FILEPATH=${PARMETIS_DIR}/lib/libparmetis.so \ - -D TPL_ParMETIS_INCLUDE_DIRS:PATH=${PARMETIS_DIR}/include" -fi +#if [ ! -z "${PARMETIS_DIR}" ]; then +# cecho ${INFO} "trilinos: configuration with ParMETIS" +# CONFOPTS="\ +# ${CONFOPTS} \ +# -D TPL_ENABLE_ParMETIS:BOOL=ON \ +# -D TPL_ParMETIS_LIBRARIES:FILEPATH=${PARMETIS_DIR}/lib/libparmetis.so \ +# -D TPL_ParMETIS_INCLUDE_DIRS:PATH=${PARMETIS_DIR}/include" +#fi # Add SuperLU_dist, if present if [ ! -z "${SUPERLU_DIR}" ]; then -- 2.39.5