]> https://gitweb.dealii.org/ - candi.git/commitdiff
disable parmetis inside Trilinos 5/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 29 Apr 2016 09:02:21 +0000 (10:02 +0100)
committerTimo Heister <timo.heister@gmail.com>
Fri, 29 Apr 2016 09:02:21 +0000 (10:02 +0100)
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

index da4352213adbb28d89fb55a507276cf46e4ab970..a06519ad50c3d217ebcdf217c88d673ae91ec412 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.