Parallel Programming Guide for HP-UX Systems

OpenMP
HP’s implementation of OpenMP
Chapter 4 87
Portable timing routines
There are two portable timing routines:
DOUBLE PRECISION OMP_GET_WTIME()
DOUBLE PRECISION OMP_GET_WTICK()
Nested lock routines
Nested lock routines are as follows:
SUBROUTINE OMP_INIT_NEST_LOCK (NLOCK)
SUBROUTINE OMP_DESTROY_NEST_LOCK (NLOCK)
SUBROUTINE OMP_SET_NEST_LOCK (NLOCK)
SUBROUTINE OMP_UNSET_NEST_LOCK (NLOCK)
INTEGER FUNCTION OMP_TEST_NEST_LOCK (NLOCK)
Additional features
Copyin now allows non-threadprivate objects in a parallel region.
Relaxed reprivatization rules now allow an inner directive to reprivatize a variable
privatized in a containing directive.
Privatization of module data is now allowed, as well as privatization of deferred and
assumed shape objects.