seems to work without further changes
This commit is contained in:
parent
a51e39a554
commit
dd7549a381
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue