]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Require PETSc 3.7.0 or newer.
authorDavid Wells <drwells@email.unc.edu>
Wed, 27 Jul 2022 15:11:24 +0000 (11:11 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 27 Jul 2022 16:01:24 +0000 (12:01 -0400)
This is six years old at this point.

cmake/configure/configure_30_petsc.cmake
doc/external-libs/petsc.html
doc/news/changes/incompatibilities/20220727Wells [new file with mode: 0644]

index 901557528e0694a84e51da9d74ccb2b72846be15..08b8b0f79d74b15c82ca916d238cecc4c9331a28 100644 (file)
@@ -30,16 +30,15 @@ MACRO(FEATURE_PETSC_FIND_EXTERNAL var)
     SET(${var} TRUE)
 
     #
-    # We support petsc from version 3.3.x onwards
+    # We support petsc from version 3.7.x onwards
     #
-    IF(PETSC_VERSION_MAJOR LESS 3 OR
-        ((PETSC_VERSION_MAJOR EQUAL 3) AND (PETSC_VERSION_MINOR LESS 3)))
+    IF(${PETSC_VERSION} VERSION_LESS 3.7.0)
       MESSAGE(STATUS "Could not find a sufficiently modern PETSc installation: "
-        "Version >=3.3.0 required!"
+        "Version >=3.7.0 required!"
         )
       SET(PETSC_ADDITIONAL_ERROR_STRING
         "Could not find a sufficiently modern PETSc installation: "
-        "Version >=3.3.0 required!\n"
+        "Version >=3.7.0 required!\n"
         )
       SET(${var} FALSE)
     ENDIF()
@@ -121,7 +120,7 @@ ENDMACRO()
 MACRO(FEATURE_PETSC_CONFIGURE_EXTERNAL)
   SET(DEAL_II_EXPAND_PETSC_MPI_VECTOR "PETScWrappers::MPI::Vector")
   SET(DEAL_II_EXPAND_PETSC_MPI_BLOCKVECTOR "PETScWrappers::MPI::BlockVector")
-  SET(DEAL_II_EXPAND_PETSC_SPARSE_MATRICES 
+  SET(DEAL_II_EXPAND_PETSC_SPARSE_MATRICES
       "PETScWrappers::SparseMatrix"
       "PETScWrappers::MPI::SparseMatrix"
       "PETScWrappers::MPI::BlockSparseMatrix")
@@ -141,7 +140,7 @@ MACRO(FEATURE_PETSC_ERROR_MESSAGE)
   MESSAGE(FATAL_ERROR "\n"
     "Could not find the petsc library!\n"
     ${PETSC_ADDITIONAL_ERROR_STRING}
-    "\nPlease ensure that the petsc library version 3.3.0 or newer is "
+    "\nPlease ensure that the petsc library version 3.7.0 or newer is "
     "installed on your computer and is configured with the same mpi options "
     "as deal.II\n"
     "If the library is not at a default location, either provide some hints\n"
index 429e94dd807704a21d2fbed90940ddae51e4001f..0d8fc96acdd07e936c3453178b29e817dc19bd81 100644 (file)
@@ -40,7 +40,7 @@
       <acronym>deal.II</acronym> is version 3.17.1. If you use a later
       version than this and encounter problems, let us
       know. <acronym>deal.II</acronym> does not support versions of PETSc prior
-      to 3.3.0.
+      to 3.7.0.
     </p>
 
     <p>
diff --git a/doc/news/changes/incompatibilities/20220727Wells b/doc/news/changes/incompatibilities/20220727Wells
new file mode 100644 (file)
index 0000000..b94817f
--- /dev/null
@@ -0,0 +1,4 @@
+Changed: The oldest supported version of PETSc has been increased from 3.3.0
+to 3.7.0.
+<br>
+(David Wells, 2022/07/27)

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.