diff --git a/src/DAMASK_interface.f90 b/src/DAMASK_interface.f90 index e3bc9d1fd..87a73af37 100644 --- a/src/DAMASK_interface.f90 +++ b/src/DAMASK_interface.f90 @@ -60,7 +60,7 @@ subroutine DAMASK_interface_init() getCWD #include -#if defined(__GFORTRAN__) && __GNUC__<=GCC_MIN +#if defined(__GFORTRAN__) && __GNUC__PETSC_MINOR_MAX +#if PETSC_VERSION_MAJOR!=3 || PETSC_VERSION_MINORPETSC_MINOR_MAX =================================================================================================== -- WRONG PETSc VERSION --- WRONG PETSc VERSION --- WRONG PETSc VERSION --- WRONG PETSc VERSION -- ===================================================================================================