Next: Argument Association
Up: High Performance Fortran Language
Previous: GLOBAL_TO_LOCAL(ARRAYG_INDEX, L_INDEX,
The suggested interface to local SPMD routines written in Fortran 90 is
the same as that for HPF local routines, with these few exceptions:
- Only Fortran 90 constructs should be used; it may not be possible
to use extensions peculiar to HPF such as FORALL and the HPF
library routines.
- It is recommended that Fortran 90 language processors
to be used for this purpose be extended to
support the HPF local distribution query routines GLOBAL_ALIGNMENT, GLOBAL_TEMPLATE, and GLOBAL_DISTRIBUTION and the PROCID
derived type as described in Section
.
It is also recommended that these facilities be defined in a Fortran 90 module
named HPF_LOCAL_LIBRARY.
- Assuming that the intent is to compile such routines with a
non-HPF Fortran 90 compiler, the Fortran 90 program text should be in
separate files rather than incorporated into HPF source code.
- The suggested extrinsic kind keyword for this calling
interface is F90_LOCAL.
The restrictions listed in Section
ought
to apply as well to local routines written in Fortran 90.