From: David Wells Date: Wed, 27 Jul 2022 15:11:24 +0000 (-0400) Subject: Require PETSc 3.7.0 or newer. X-Git-Tag: v9.5.0-rc1~1060^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b30ae77e48a0d290ee37741955919b0dd9ea034;p=dealii.git Require PETSc 3.7.0 or newer. This is six years old at this point. --- diff --git a/cmake/configure/configure_30_petsc.cmake b/cmake/configure/configure_30_petsc.cmake index 901557528e..08b8b0f79d 100644 --- a/cmake/configure/configure_30_petsc.cmake +++ b/cmake/configure/configure_30_petsc.cmake @@ -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" diff --git a/doc/external-libs/petsc.html b/doc/external-libs/petsc.html index 429e94dd80..0d8fc96acd 100644 --- a/doc/external-libs/petsc.html +++ b/doc/external-libs/petsc.html @@ -40,7 +40,7 @@ deal.II is version 3.17.1. If you use a later version than this and encounter problems, let us know. deal.II does not support versions of PETSc prior - to 3.3.0. + to 3.7.0.

diff --git a/doc/news/changes/incompatibilities/20220727Wells b/doc/news/changes/incompatibilities/20220727Wells new file mode 100644 index 0000000000..b94817febe --- /dev/null +++ b/doc/news/changes/incompatibilities/20220727Wells @@ -0,0 +1,4 @@ +Changed: The oldest supported version of PETSc has been increased from 3.3.0 +to 3.7.0. +
+(David Wells, 2022/07/27)