HTML version of Scripted Foils prepared 27 December 1996

Foil 17 Advanced Mapping Directives -- Allocatable arrays and pointers

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 152.6
1 !HPF$ PROCESSORS Q(64)
2 !HPF$ ALIGN B(I) WITH A(I+N)
3 !HPF$ DISTRIBUTE A(BLOCK(M))
4 !HPF$ DISTRIBUTE(BLOCK), DYNAMIC :: P
  • ...
  • ALLOCATE(A(128))
  • ALLOCATE(B(64))
  • ALLOCATE(P(1024))
  • ...
5 !HPF$ REDISTRIBUTE P(CYCLIC)
  • ...
  • RETURN
  • END

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