Sun Studio 12 Update 1: C++ User's Guide

A.2.189 -xvpara

Issues warnings about potential parallel-programming related problems that may cause incorrect results when using OpenMP. Use with -xopenmp and OpenMP API directives.

The compiler issues warnings when it detects the following situations:

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

Example:


CC -xopenmp -xvpara any.cc

Note –

Sun Studio compilers support OpenMP 2.5 API parallelization. Consequently, the MP pragmas directives are deprecated and are no longer supported. See the OpenMP API User’s Guide for information on migrating to the OpenMP API.