Compaq Fortran supplies parallel directives that comply with OpenMP Fortran Application Program Interface (API) specification Version 1.0.
Use these directives when writing new programs for parallel execution.
This section describes conditional compilation rules, nesting and binding rules, and the following directives:
Specifies that a specific memory location is to be updated dynamically.
Synchronizes all the threads in a team.
Restricts access for a block of code to only one thread at a time.
Specifies that the iterations of the immediately following DO loop must be executed in parallel.
Specifies synchronization points where the implementation must have a consistent view of memory.
Specifies a block of code to be executed by the master thread of the team.
Specifies a block of code to be executed sequentially.
Defines a parallel region.
Defines a parallel region that contains a single DO directive.
Defines a parallel region that contains SECTIONS directives.
Specifies a block of code to be divided among threads in a team (a worksharing area).
Specifies a block of code to be executed by only one thread in a team.
Makes named common blocks private to a thread but global within the thread.
The OpenMP parallel directives can be grouped into the categories shown in Table 15-3.
Table 15-3 Categories of OpenMP Fortran Parallel Directives (TU*X only)
Category | Description |
---|---|
Parallel region | Defines a parallel region: PARALLEL |
Work-sharing | Divide the execution of the enclosed block of code among the members of the team that encounter it: DO and SECTIONS |
Combined parallel work-sharing | Shortcut for denoting a parallel region that contains only one work-sharing construct: PARALLEL DO and PARALLEL SECTIONS |
Synchronization | Provide various aspects of synchronization; for example, access to a block of code, or execution order of statements within a block of code: ATOMIC, BARRIER, CRITICAL, FLUSH, MASTER, and ORDERED. |
Data Environment | Control the data environment during the execution of parallel constructs: THREADPRIVATE |
For More Information:
http://www.openmp.org/