Sun Studio 12: Fortran Programming Guide

10.1.4 Compiling for Parallelization

The Sun Studio compilers support the OpenMP parallelization model natively as the primary parallelization model. For information on OpenMP parallelization, see the OpenMP API User’s Guide. Sun and Cray-style parallelization refer to legacy applications and are no longer supported by current Sun Studio compilers.

.

Table 10–1 Fortran 95 Parallelization Options

Option  

Flag  

Automatic (only)

-autopar

Automatic and Reduction 

-autopar -reduction

Show which loops are parallelized 

-loopinfo

Show warnings with explicit 

-vpara

Allocate local variables on stack 

-stackvar

Compile for OpenMP parallelization 

-xopenmp

Notes on these options: