I have a function that returns an array and works fine but I'm unable to point to it. I use the same pointer declaration and assignment that I successfully used with scalar result functions that take the same arguments (reals and a derived type). The declaration is
PROCEDURE( REAL(idp) ), POINTER, NOPASS :: GradSingleState
Which points to
this % GradSingleState => GradSingleWell
When I try to compile with gfortran I get the error message
this % GradSingleState => GradSingleWell 1 Error: Explicit interface required for ‘’ at (1): array result
and when I compile with Intel and then run it, it crashes.