[ HPF Home | Versions | Compilers | Projects | Publications | Applications | Benchmarks | Events | Contact ] |
Under certain conditions, an explicit interface for a subprogram is not required. The conditions in Fortran under which this is allowable are tightened considerably for HPF programs that use mapping directives.
An explicit interface is required except when all of the following conditions hold:
and
Note that an explicit interface can be provided in three ways:
In addition, an intrinsic procedure always has an explicit interface by definition.
The idiomatic Fortran way of programming makes extensive use of modules; every subprogram, for instance, can be in a module. This provides explicit interfaces automatically, with no extra effort on the part of the programmer. It should very seldom be necessary to write an interface block. (End of advice to users.)
©2000-2006 Rice University | [ Contact Us | HiPerSoft | Computer Science ] |