Sun Studio 12: C User's Guide

B.2.154 -xvpara

Show parallelization warning messages.

Issues warnings about potential parallel programming related problems that may cause incorrect results when using OpenMP or Sun parallel directives and pragmas.

Use with -xopenmp and OpenMP API directives, or with -xexplicitpar and MP parallelization directives.

Warnings are issued when the compiler detects the following situations:

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

Example:


cc -xopenmp -vpara any.c

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.