From dd7549a381c38547bbff5f768e163f41d3867505 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 6 Oct 2021 07:50:42 +0200 Subject: [PATCH] seems to work without further changes --- CMakeLists.txt | 2 +- src/DAMASK_interface.f90 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8409aadb2..856b430cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ endif () # Dummy project to determine compiler names and version project (Prerequisites LANGUAGES) set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig") -pkg_check_modules (PETSC REQUIRED PETSc>=3.12.0 PETSc<3.16.0) +pkg_check_modules (PETSC REQUIRED PETSc>=3.12.0 PETSc<3.17.0) pkg_get_variable (CMAKE_Fortran_COMPILER PETSc fcompiler) pkg_get_variable (CMAKE_C_COMPILER PETSc ccompiler) diff --git a/src/DAMASK_interface.f90 b/src/DAMASK_interface.f90 index 58b4e86c6..c0d149457 100644 --- a/src/DAMASK_interface.f90 +++ b/src/DAMASK_interface.f90 @@ -11,7 +11,7 @@ !-------------------------------------------------------------------------------------------------- #define PETSC_MAJOR 3 #define PETSC_MINOR_MIN 12 -#define PETSC_MINOR_MAX 15 +#define PETSC_MINOR_MAX 16 module DAMASK_interface use, intrinsic :: ISO_fortran_env