0

Do I need to define an interface for recursive Fortran95 (and above) subroutines? In a library, does it make a difference if the subroutine is exported to the user?

fpnick
  • 419
  • 2
  • 6
  • 18

1 Answers1

2

RECURSIVE is not an attribute that requires an explicit interface, as it doesn't affect how the procedure is called. For more information on explicit interfaces, see an article I wrote a while back on the topic: https://software.intel.com/en-us/blogs/2012/01/05/doctor-fortran-gets-explicit-again

Steve Lionel
  • 6,972
  • 18
  • 31