Basic HTML version of Foils prepared August 7 98

Foil 5 A. distribute directive
The DISTRIBUTE Directive

From DoD HPF Training -- 4. HPF Data Mapping Facilities DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


Syntax:
  • !HPF$ DISTRIBUTE array(dist-format-list ) [ONTO procs]
  • !HPF$ DISTRIBUTE(dist-format-list ) [ONTO procs]::array-list
Semantics:
  • Each dimension of array is divided according to the corresponding pattern in dist-format-list
  • ONTO (if present) names the processor array to distribute on
Options for dist-format
  • (Let N be the number of elements.)
  • (Let P be the number of processors.)
  • BLOCK : Contiguous pieces of size N/P on each processor
  • CYCLIC : Every Pth element to the same processor
  • CYCLIC(K) : Every Pth block of size K to the same processor
  • * : Dimension not distributed



© 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 Aug 9 1998