Basic HTML version of Foils prepared 17 Sept 1996

Foil 49 Passing Distributed Arrays as Subprogram Arguments in HPF

From New CPS615HPF and Fortran90 Discussion Sept 17 96 Basic Simulation Track for Computational Science CPS615 -- Fall Semester 96. by Geoffrey C. Fox, Tom Haupt


1 There are three typical cases:
2 Subroutine requires data to use a particular mapping determined by subroutine
  • Arguments must be remapped
3 Subroutine can use any mapping so actual argument should be passed and used with current mapping
  • Here we have two cases depending on whether programmer knows or not (and tells subroutine) what incoming distribution is
4 Sometimes we need to remap due to array sections being passed
5 Any remappings must be undone on return from subroutine

in Table To:


© on Tue Oct 7 1997