next up previous contents
Next: Extrinsic Procedure Example Up: Extrinsics Previous: Extrinsics

 

Extrinsic Procedures

HPF can call procedures written in other languages or other parallel programming styles. These are called EXTRINSIC procedures.

An INTERFACE including mapping information must be given:

  INTERFACE
   EXTRINSIC (C) SUBROUTINE Job(a)
    REAL, DIMENSION(:) :: a
    !HPF$ DISTRIBUTE a(BLOCK)
   END SUBROUTINE Job
  END INTERFACE

this would correspond to a C void function with a single array argument.

It is up to the compiler to decide which languages are supported.

For more information, click here gif


next up previous contents
Next: Extrinsic Procedure Example Up: Extrinsics Previous: Extrinsics

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.