]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfixes
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 10:33:12 +0000 (10:33 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 10:33:12 +0000 (10:33 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28735 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/bundled/CMakeLists.txt
deal.II/cmake/configure/configure_hdf5.cmake

index 6d576588075939cf49dc1f545baa162785d7b0c8..97fb672f78a35275e254590176c128daeb3d6019 100644 (file)
@@ -95,10 +95,6 @@ SET(UMFPACK_FOLDER "${CMAKE_SOURCE_DIR}/bundled/umfpack")
 OPTION(DEAL_II_FORCE_BUNDLED_UMFPACK
   "Always use the bundled umfpack library instead of an external one."
   OFF)
-MARK_AS_ADVANCED(
-  atlas_LIBRARY
-  blas_LIBRARY
-  )
 
 IF(FEATURE_UMFPACK_BUNDLED_CONFIGURED)
   ADD_SUBDIRECTORY(${UMFPACK_FOLDER}/UMFPACK/Source)
index 60882fe32c6885eedd277884dc46075ff05f9b32..89e257fb20261301c5ad6784a33c3e7218c263a1 100644 (file)
 # Configuration for the hdf5 library:
 #
 
+MACRO(FEATURE_HDF5_FIND_EXTERNAL var)
+  FIND_PACKAGE(HDF5)
+
+  IF(HDF5_FOUND)
+    IF( (HDF5_WITH_MPI AND DEAL_II_WITH_MPI)
+         OR
+         (NOT HDF5_WITH_MPI AND NOT DEAL_II_WITH_MPI))
+      SET(${var} TRUE)
+    ELSE()
+      MESSAGE(WARNING "\n"
+        "Could not find a sufficient hdf5 installation: "
+        "hdf5 has to be configured with the same MPI configuration as deal.II.\n\n"
+        )
+    ENDIF()
+  ENDIF()
+ENDMACRO()
+
 CONFIGURE_FEATURE(HDF5)

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.