Oracle® Solaris Studio 12.4: Fortran User's Guide

Exit Print View

Updated: March 2015
 
 

2.3.2 Parallelization Directives

OpenMP parallelization directives are only recognized when compiling with -openmp. Details regarding OpenMP parallelization can be found in the OpenMP API User's Guide.

The Fortran compiler supports the OpenMP API for shared memory parallelism, Version 4.0. Legacy Sun and Cray parallelization directives are now deprecated and should not be used.

2.3.2.1 OpenMP Parallelization Directives

The Fortran compiler recognizes the OpenMP API for shared memory parallelism as the preferred parallel programming model. The API is specified by the OpenMP Architecture Review Board (http://www.openmp.orghttp://www.openmp.org).

You must compile with the command-line option -xopenmp, to enable OpenMP directives. (see –xopenmp[={parallel|noopt|none}].)

For more information about the OpenMP directives accepted by f95, see the OpenMP API User’s Guide.

2.3.2.2 Legacy Sun/Cray Parallelization Directives


Note -  Legacy Sun and Cray style parallelization directives are now deprecated. The OpenMP parallelization API is preferred.