HTML version of Scripted Foils prepared 11 November 1996

Foil 30 New Data Mapping Features in HPF 2.0 - II

From CPS615-End of Numerical Integration and Very End of HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 24 October 96. by Geoffrey C. Fox *
Secs 205.9
1 Distribution is now allowed to Processor Subsets with typical Syntax:
  • !HPF$ PROCESSORS procs(1:np)
  • !HPF$ PROCESSORS b(BLOCK) ONTO procs(1:np/2-1)
2 Distribution is allowed for Derived Types but can only be done at ONE level
  • TYPE bunch_of_meshes
    • REAL A1(100,100,100), A2(100,100,100)
    • !HPF$ DISTRIBUTE (BLOCK,CYCLIC,*) :: A1,A2
  • END TYPE
  • Another Example shows distribution outside TYPE definition
  • TYPE tree with each node having one hundred children
    • TYPE(tree) , POINTER, DIMENSION(100) :: children
    • !HPF$ DYNAMIC children
    • REAL value
  • END TYPE
  • TYPE(tree) actualtree
  • ALLOCATE ( actualtree%children) allocates POINTERs to children
  • !HPF$ REDISTRIBUTE t%children(BLOCK) distributes (for first time) these pointers

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