]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
By default uses 32bit indices.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 1 Jun 2013 00:20:15 +0000 (00:20 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 1 Jun 2013 00:20:15 +0000 (00:20 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29709 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_petsc.cmake
deal.II/cmake/configure/configure_trilinos.cmake

index a7d8d6d626c578dea52fe25604b7068c89413684..c2c3c903fb07ac8a46719424240c8e831520ae5a 100644 (file)
@@ -74,6 +74,10 @@ MACRO(FEATURE_PETSC_FIND_EXTERNAL var)
     # indices support is enabled.
     # So we check for this:
     #
+    IF("${DEAL_II_WITH_64BIT_INDICES}" STREQUAL "")
+      SET(DEAL_II_WITH_64BIT_INDICES "OFF")
+    ENDIF()
+
     IF( (NOT PETSC_WITH_64BIT_INDICES AND DEAL_II_WITH_64BIT_INDICES)
          OR
          (PETSC_WITH_64BIT_INDICES AND NOT DEAL_II_WITH_64BIT_INDICES))
index d7e08f752ffebb7605e2229e38b13f32a657c7e0..b780b0bed5d7e5e245c3dedce82898041d824a61 100644 (file)
@@ -119,6 +119,10 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
     # Trilinos has to be configured with 32bit indices if deal.II uses unsigned long
     # long int.
     #
+    IF("${DEAL_II_WITH_64BIT_INDICES}" STREQUAL "")
+      SET(DEAL_II_WITH_64BIT_INDICES "OFF")
+    ENDIF()
+
     IF(TRILINOS_WITH_NO_32BIT_INDICES AND NOT DEAL_II_WITH_64BIT_INDICES)
       MESSAGE(STATUS "deal.II was configured to use 32bit global indices but "
         "Trilinos was not."

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.