Basic HTML version of Foils prepared 26 September 1996

Foil 91 Advanced Mapping Directives -- Allocatable arrays and pointers

From HPCC Software Technologies Fall 96 -- Overview and HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 26 September 96. by Geoffrey C. Fox


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

in Table To:


© 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 Sun Feb 22 1998