]> https://gitweb.dealii.org/ - candi.git/commitdiff
centos 7: bug: force to have parmetis 4.0.3 installed
authorUwe Köcher <koecher@hsu-hamburg.de>
Thu, 14 Jun 2018 18:52:33 +0000 (20:52 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Thu, 14 Jun 2018 18:52:33 +0000 (20:52 +0200)
deal.II-toolchain/packages/trilinos.package
deal.II-toolchain/platforms/supported/centos7.platform

index 2c114be83217a942fd539c043738af094e66d77a..168cadc6f2b50d5869a98e006cf280ee96884a0e 100644 (file)
@@ -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"
index a68fde3f042ee07977d67d08355b41cc6a7a07f9..466df91949b2544543d3e0068c8e9f5030cafae0 100644 (file)
 # 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}"

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.