Basic HTML version of Foils prepared August 7 98

Foil 36 EXTRINSIC Procedures

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


Syntax:
  • EXTRINSIC ( extrinsic-kind-keyword )
  • Goes in FUNCTION or SUBROUTINE header (like PURE)
An escape mechanism for allowing HPF to call other languages and paradigms
On the caller (HPF) side:
  • There must be an explicit interface with the EXTRINSIC directive
  • Remapping occurs (if needed) to meet distribution specifications
  • System synchronizes all processors before the call
  • System calls ³local² routine on every processor
On the callee (non-HPF) side:
  • INTENT(IN) and INTENT(OUT) must be obeyed
  • If variables are replicated, callee must make them consistent before return
  • Processors can access their own section of distributed arrays



© 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