next up previous contents
Next: Characteristics of Procedures Up: Data Mapping in Subprogram Interfaces Previous: Equivalence and Partial Order

Conditions for Omitting Explicit Interfaces

 

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:

  1. Fortran does not require one, and
  2. No dummy argument is distributed transcriptively or with the INHERIT attribute, and
  3. For each pair of corresponding actual and dummy arguments, either:

    1. They are both implicitly mapped, or
    2. They are both explicitly mapped and the mapping of the actual argument is a specialization of the mapping of the dummy argument,

    and

  4. For each pair of corresponding actual and dummy arguments, either:

    1. Both are sequential, or
    2. Both are nonsequential.


next up previous contents
Next: Characteristics of Procedures Up: Data Mapping in Subprogram Interfaces Previous: Equivalence and Partial Order