Scope of any mapping directives is a single (sub)program unit |
A template or distribution is not a first-class Fortran 90 object: |
It cannot be passed as a subprogram argument and this creates significant complication! |
HPF Compiler will typically pass an extra argument which is effectively an array-descriptor telling subroutine about distribution of passed arrays |
One can use array query intrinsics to find out what is going on but of course compiler does this implicitly |