Basic HTML version of Foils prepared August 7 98

Foil 37 EXTRINSIC(HPF_LOCAL)

From DoD HPF Training -- 3. Parallel Constructs in HPF DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


HPF_LOCAL is a SPMD language that meshes well with łglobal˛ HPF
  • ­ It can do things HPF canąt
  • ­ Global HPF can do things it canąt
On the caller (global HPF) side
  • EXTRINSIC(HPF_LOCAL) REAL FUNCTION foo(x)
  • REAL x(:)
  • !HPF$ DISTRIBUTE x(BLOCK)
On the callee (local HPF) side
  • EXTRINSIC(HPF_LOCAL) REAL FUNCTION foo(x)
  • REAL x(:)
Inside foo, SIZE(x) checks the local section of x
HPF_LOCAL_LIBRARY provides GLOBAL_SIZE(x) to check the global size of x



© 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