Scripted HTML version of 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
There are three typical cases:
Subroutine requires data to use a particular mapping determined by subroutine
  • Arguments must be remapped
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
Sometimes we need to remap due to array sections being passed
Any remappings must be undone on return from subroutine



© 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