Fortitude include path

Does anybody know if there is a way to specify preprocessor include path with fortitude?

Given the following:

module mParam
#include "petsc/finclude/petsc.h"

   use petscsys
   IMPLICIT NONE
   PetscReal,Parameter                 :: PReal = 1.0
end module mParam

fortitude throws an error E001, presumedly because it does not know that PetscReal is defined in a file included from $PETSC_DIR/$PETSC_ARCH/include/petsc/finclude/petsc.h.

1 Like