]> https://gitweb.dealii.org/ - candi.git/commitdiff
Fix a bug in Trilinos configuration.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 14 Jul 2015 22:56:43 +0000 (17:56 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 14 Jul 2015 22:56:43 +0000 (17:56 -0500)
deal.II/packages/trilinos.package
project-deal.II.cfg

index f66adde35753a4583d213549804ce3fcc1d642d5..6461679def194b3da3397a5bbadd97ee544d49d4 100644 (file)
@@ -14,9 +14,9 @@ CONFOPTS="-D Trilinos_ENABLE_OpenMP:BOOL=OFF \
           -D Trilinos_ENABLE_Stratimikos:BOOL=ON \
           -D Trilinos_ENABLE_Belos:BOOL=ON \
           -D Trilinos_ENABLE_MueLu:BOOL=OFF \
-          -D TPL_ENABLE_ParMETIS:BOOL=ON \
+          -D TPL_ENABLE_ParMETIS:BOOL=${ParMETIS} \
           -D TPL_ParMETIS_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libparmetis.so \
-          -D TPL_ENABLE_SuperLUDist:BOOL=ON \
+          -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 CMAKE_BUILD_TYPE:STRING=RELEASE \
index 61ebf32cbcfe096e11086aed28353a2fd6d0274f..1777c646db28da3e89e88a476a051bed66077504 100644 (file)
@@ -115,14 +115,15 @@ for PACKAGE in ${DEAL_CONFOPTS[@]}; do
   esac
 done
 
-# Turn off parmetis if metis is off.
+# Turn off ParMETIS and SuperLU_dist if metis is off.
 if [[ ${PACKAGES_OFF} =~ 'METIS' ]]; then
   PACKAGES_OFF=${PACKAGES_OFF}' PARMETIS';
-fi
-
-# Turn off SuperLU_dist of Trilinos is off.
-if [[ ${PACKAGES_OFF} =~ 'TRILINOS' ]]; then
   PACKAGES_OFF=${PACKAGES_OFF}' SUPERLU_DIST';
+  ParMetis=OFF
+  SuperLUDist=OFF
+else
+  ParMETIS=ON
+  SuperLUDist=ON
 fi
 
 # Transform upper case to lower case.

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.