seems to work without further changes

This commit is contained in:
Martin Diehl 2021-10-06 07:50:42 +02:00
parent a51e39a554
commit dd7549a381
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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