Oracle® Solaris Studio 12.4: Fortran User's Guide

Exit Print View

Updated: March 2015
 
 

3.4.101 –vpara

Show parallelization warning messages.

Issues warnings about potential parallel programming problems in OpenMP programs.

Use with the -xopenmp option.

The compiler issues warnings when it detects the following situations:

  • Loops are parallelized using OpenMP directives when there are data dependencies between different loop iterations.

  • OpenMP data-sharing attributes-clauses are problematic. For example, declaring a variable "shared" whose accesses in an OpenMP parallel region may cause data race, or declaring a variable "private" whose value in a parallel region is used after the parallel region.

No warnings appear if all parallelization directives are processed without problems.