From: Timo Heister Date: Fri, 29 Apr 2016 09:02:21 +0000 (+0100) Subject: disable parmetis inside Trilinos X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c787ab68d4bbb4f926de6fe6d3c3552d3f14c73;p=candi.git 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. --- 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