From: Uwe Köcher Date: Mon, 2 Nov 2015 18:23:56 +0000 (+0100) Subject: Trilinos: updated ParMETIS and SuperLU findings X-Git-Tag: v0.8~7^2~11 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17f6cc5927552634297d087ce61e7bb969f25b07;p=candi.git Trilinos: updated ParMETIS and SuperLU findings --- diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package index 6a59866..2bcbf18 100644 --- a/deal.II-toolchain/packages/trilinos.package +++ b/deal.II-toolchain/packages/trilinos.package @@ -89,20 +89,20 @@ CONFOPTS="${CONFOPTS} \ -D Trilinos_EXTRA_LINK_FLAGS:STRING=-lgfortran" # Add ParMETIS, if present -if [ ! -z "${ParMETIS}" ] && [ ${ParMETIS} = "ON" ]; then +if [ ! -z "${PARMETIS_DIR}" ] && [ ! -z "${ParMETIS}" ] && [ ${ParMETIS} = "ON" ]; then CONFOPTS="\ ${CONFOPTS} \ -D TPL_ENABLE_ParMETIS:BOOL=${ParMETIS} \ - -D TPL_ParMETIS_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libparmetis.so" + -D TPL_ParMETIS_LIBRARIES:FILEPATH=${PARMETIS_DIR}/lib/libparmetis.so" fi # Add SuperLU_dist, if present -if [ ! -z "${SuperLUDist}" ] && [ ${SuperLUDist} = "ON" ]; then +if [ ! -z "${SUPERLU_DIR}" ] && [ ! -z "${SuperLUDist}" ] && [ ${SuperLUDist} = "ON" ]; then CONFOPTS="\ ${CONFOPTS} \ -D TPL_ENABLE_SuperLUDist:BOOL=${SuperLUDist} \ - -D TPL_SuperLUDist_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libsuperlu_dist.so \ - -D SuperLUDist_INCLUDE_DIRS:PATH=${INSTALL_PATH}/include/superlu \ + -D TPL_SuperLUDist_LIBRARIES:FILEPATH=${SUPERLU_DIR}/lib/libsuperlu_dist.so \ + -D SuperLUDist_INCLUDE_DIRS:PATH=${SUPERLU_DIR}/include/superlu \ -D HAVE_SUPERLUDIST_LUSTRUCTINIT_2ARG:BOOL=ON" fi