|C H A P T E R 1|
Introducing the OpenMP API
The OpenMP Application Program Interface is a portable, parallel programming model for shared memory multiprocessor architectures, developed in collaboration with a number of computer vendors. The specifications were created and are published by the OpenMP Architecture Review Board.
The OpenMP API is the recommended parallel programming model for all Sun Studio compilers on Solaris OS platforms. See Chapter 6 for guidelines on converting legacy Fortran and C parallelization directives to OpenMP.
The material presented in this manual describes issues specific to the Sun Studio implementation of the OpenMP API. For complete details you must refer to the OpenMP specification documents. This manual makes direct references to sections in the OpenMP 2.5 API specification.
The OpenMP 2.5 specification for C, C++, and Fortran 95 can be found on the official OpenMP website, http://www.openmp.org/.
Additional information about OpenMP including tutorials and other resources for developers can be found on the cOMPunity website, http://www.compunity.org/
Latest information about the Sun Studio compiler releases and their implementation of the OpenMP API can be found on the Sun Developer Network portal, http://developers.sun.com/sunstudio
In the tables and examples that follow, Fortran directives and source code are shown in upper case, but are case-insensitive.
The term structured-block refers to a block of Fortran or C/C++ statements having no transfers into or out of the block.
Constructs within square brackets, [...], are optional.
Throughout this manual, "Fortran" refers to the Fortran 95 language and compiler, f95.
The terms "directive" and "pragma" are used interchangeably in this manual.