]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add DEAL_II_WITH_64BIT_INDICES to the list of variables that are cached.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 1 Jun 2013 01:10:38 +0000 (01:10 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 1 Jun 2013 01:10:38 +0000 (01:10 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29715 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_cached_variables.cmake

index 22162329563aeeebd94fdeb29a0ed97c2376f0d9..f368c3425dbdf2809f0b3eeb5bd6b3b8a234080b 100644 (file)
@@ -42,6 +42,7 @@
 #     DEAL_II_SHARED_LINKER_FLAGS_DEBUG
 #     DEAL_II_CXX_FLAGS_RELEASE
 #     DEAL_II_SHARED_LINKER_FLAGS_RELEASE
+#     DEAL_II_WITH_64BIT_INDICES
 #
 # *)  May also be set via environment variable (CFLAGS, CXXFLAGS, LDFLAGS)
 #     (nonempty cached variable has precedence will not be overwritten by
@@ -236,6 +237,15 @@ FOREACH(_flag ${DEAL_II_USED_FLAGS})
   MARK_AS_ADVANCED(${_flag})
 ENDFOREACH()
 
+SET(DEAL_II_WITH_64BIT_INDICES "${DEAL_II_WITH_64BIT_INDICES}" CACHE BOOL
+    "If set to ON, then use 64-bit data types to represent global degree of freedom indices. The default is to OFF. You only want to set this to ON if you will solve problems with more than 2^31 (approximately 2 billion) unknowns. If set to ON, you also need to ensure that both Trilinos and/or PETSc support 64-bit indices."
+   )
+
+SET(DEAL_II_WITH_64BIT_INDICES_SAVED "${DEAL_II_WITH_64BIT_INDICES}")
+MARK_AS_ADVANCED(DEAL_II_WITH_64BIT_INDICES)
+
+
+
 #
 # Finally, read in CFLAGS, CXXFLAGS and LDFLAGS from environment and
 # prepend them to the saved variables:
@@ -250,7 +260,7 @@ UNSET(ENV{LDFLAGS})
 
 ###########################################################################
 #                                                                         #
-#                          Miscellanious setup:                           #
+#                          Miscellaneous setup:                           #
 #                                                                         #
 ###########################################################################
 

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.