Merge branch 'petsc-3.20' into 'development'
PETSc 3.20 See merge request damask/DAMASK!834
This commit is contained in:
commit
3517c7dee3
|
@ -11,7 +11,7 @@ endif()
|
||||||
project(Prerequisites LANGUAGES)
|
project(Prerequisites LANGUAGES)
|
||||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}")
|
set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}")
|
||||||
pkg_check_modules(PETSC_MIN REQUIRED PETSc>=3.12.0 QUIET) #CMake does not support version range
|
pkg_check_modules(PETSC_MIN REQUIRED PETSc>=3.12.0 QUIET) #CMake does not support version range
|
||||||
pkg_check_modules(PETSC REQUIRED PETSc<3.20.0)
|
pkg_check_modules(PETSC REQUIRED PETSc<3.21.0)
|
||||||
|
|
||||||
pkg_get_variable(CMAKE_Fortran_COMPILER PETSc fcompiler)
|
pkg_get_variable(CMAKE_Fortran_COMPILER PETSc fcompiler)
|
||||||
pkg_get_variable(CMAKE_C_COMPILER PETSc ccompiler)
|
pkg_get_variable(CMAKE_C_COMPILER PETSc ccompiler)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
!> @brief Parse command line interface for PETSc-based solvers
|
!> @brief Parse command line interface for PETSc-based solvers
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
#define PETSC_MINOR_MIN 12
|
#define PETSC_MINOR_MIN 12
|
||||||
#define PETSC_MINOR_MAX 19
|
#define PETSC_MINOR_MAX 20
|
||||||
|
|
||||||
module CLI
|
module CLI
|
||||||
use, intrinsic :: ISO_fortran_env
|
use, intrinsic :: ISO_fortran_env
|
||||||
|
|
|
@ -74,6 +74,9 @@ module mesh_mechanical_FEM
|
||||||
external :: & ! ToDo: write interfaces
|
external :: & ! ToDo: write interfaces
|
||||||
#if defined(PETSC_USE_64BIT_INDICES) || PETSC_VERSION_MINOR < 17
|
#if defined(PETSC_USE_64BIT_INDICES) || PETSC_VERSION_MINOR < 17
|
||||||
ISDestroy, &
|
ISDestroy, &
|
||||||
|
#endif
|
||||||
|
#if PETSC_VERSION_MINOR > 18
|
||||||
|
DMAddField, &
|
||||||
#endif
|
#endif
|
||||||
PetscSectionGetNumFields, &
|
PetscSectionGetNumFields, &
|
||||||
PetscFESetQuadrature, &
|
PetscFESetQuadrature, &
|
||||||
|
|
Loading…
Reference in New Issue