Parallel Programming Guide for HP-UX Systems

OpenMP
From HP Programming Model to OpenMP
Chapter 492
Exceptions
private(list) / loop_private(list)
OpenMP allows the induction variable to be a member of the variable list. HPPM does
not.
default(private|shared|none)
The HPPM defaults to “shared” and allows the user to specify which variables should be
private. The HP model does not provide “none”; therefore, undeclared variables will be
treated as shared.
!$dir begin_tasks
<see parallel and
begin_tasks(dist)
clauses>
!$OMP parallel sections
<see parallel and sections
clauses>
!$dir
critical_section[(name)]
!$OMP critical[(name)]
!$dir wait_barrier !$OMP barrier
!$dir ordered_section !$OMP ordered
<none> !$OMP end parallel
!$dir end_tasks !$OMP end sections
!$dir end_tasks !$OMP end parallel sections
<none> !$OMP end parallel do
!$dir end_critical_secti
on
!$OMP end critical
!$dir end_ordered_sectio
n
!$OMP end ordered
<none> !$OMP end do
Table 4-2 OpenMP and HPPM Directives/Clauses (Continued)
HPPM OpenMP