I am having trouble creating a generic interface. I have a module that has something like this:
interface do_something module procedure do_something_real4 module procedure do_something_char end interface do_something
In my source directory, I have separate source files for subroutines do_something_real and do_something_char. When I compile my library, I get the error #7950: Procedure name in MODULE PROCEDURE statement must be the name of accessible module procedure.
I have tried creating interfaces for these subroutines in the same module source, much like:
interface subroutine do_something_real4 ... end subroutine do_something_real4 subroutine do_something_char ... end subroutine do_something_char end interface
but I still get compiler issues. Any help is greatly appreciated.