]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Correct position of PETSC_MPI_CONSISTENCY. Still no functionality... (TODO)
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Oct 2010 13:48:17 +0000 (13:48 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Oct 2010 13:48:17 +0000 (13:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@22293 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure.in

index 364aa27a29c2049400d44fb07860c3a595e4a6ae..166e8337d7dd8b83c265688ed7d6218dbd4181b4 100644 (file)
@@ -5561,6 +5561,7 @@ AC_DEFUN(DEAL_II_CONFIGURE_PETSC, dnl
   if test "$USE_CONTRIB_PETSC" = "yes" ; then
     DEAL_II_CONFIGURE_PETSC_VERSION
     DEAL_II_CONFIGURE_PETSC_ARCH
+    DEAL_II_CHECK_PETSC_MPI_CONSISTENCY
     DEAL_II_CONFIGURE_PETSC_MPIUNI_LIB
     DEAL_II_CONFIGURE_PETSC_COMPLEX
 
@@ -5675,6 +5676,20 @@ AC_DEFUN(DEAL_II_CONFIGURE_PETSC_VERSION, dnl
 ])
 
 
+dnl -------------------------------------------------------------
+dnl Make sure that if PETSc was built with/without MPI, then
+dnl deal.II was built with the same flags.
+dnl
+dnl Usage: DEAL_II_CHECK_PETSC_MPI_CONSISTENCY
+dnl
+dnl -------------------------------------------------------------
+AC_DEFUN(DEAL_II_CHECK_PETSC_MPI_CONSISTENCY, dnl
+[
+dnl TODO: This does nothing yet. Add this functionality asap 
+dnl (Toby D. Young)
+])
+
+
 dnl ------------------------------------------------------------
 dnl See if there is a library libmpiuni.a/so available. We need
 dnl to link with it on some systems where PETSc is built without
index 0b5e9b26489ff3f0d539e28e8e93d2c20d953019..70c8fd3bb428f337be19c5e375f6dce2997e5878 100644 (file)
@@ -618,9 +618,6 @@ DEAL_II_CHECK_CPU_OPTIMIZATIONS
 dnl Last check: test whether CXXFLAGS and F77FLAGS are ok
 DEAL_II_CHECK_CXXFLAGS_CONSISTENCY
 DEAL_II_CHECK_F77FLAGS_CONSISTENCY
-DEAL_II_CHECK_PETSC_MPI_CONSISTENCY
-
-
 
 dnl -------------------------------------------------------------
 dnl                       Third party programs

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.