HTML version of Scripted Foils prepared 27 December 1996

Foil 19 Passing Distributed Arrays as Subprogram Arguments in HPF

From CPS615-Align and Distribute in HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 1 October 96. by Geoffrey C. Fox *
Secs 283.6
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

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997