1: #define PETSC_USE_FORTRAN_MODULES 3: module petscsnesdef 4: use petsckspdef 5: #include <finclude/petscsnes.h> 6: #include <finclude/ftn-custom/petscsnesdef.h90> 7: end module 9: module petscsnes 10: use petscsnesdef 11: use petscksp 12: #include <finclude/petscsnes.h90> 13: end module