Basic HTML version of Foils prepared August 7 98

Foil 8 New Data Mapping Features

From DoD HPF Training -- 6. HPF2 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


Extended Distribution Patterns
  • !HPF$ SHADOW x( 1, 0 )
  • !HPF$ DISTRIBUTE y( GEN_BLOCK( (/ 12,10,10,12 /) ) )
  • !HPF$ DISTRIBUTE z( INDIRECT(map_array) )
Distribution to processor subsets
  • !HPF$ PROCESSORS procs(1:np)
  • !HPF$ DISTRIBUTE b(BLOCK) ONTO procs(1:np/2-1)
Distribution of derived type components
  • TYPE set_of_meshes
    • REAL p(100,100), q(100,100), r(100,100)
    • !HPF$ DISTRIBUTE (BLOCK,*) :: p, q, r
  • END TYPE
  • TYPE(set_of_meshes) multi_block(32)
  • !!! Do not try to DISTRIBUTE array multiblock !!!
Rules for matching distributions (pointers, dummy parameters)



© 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