The C compiler accepts the OpenMP API for shared memory parallelization natively. The API consists of a set of parallelization pragmas. Information on the OpenMP API specification is at the OpenMP web site, http://www.openmp.org/.
To enable the compiler’s OpenMP support and recognition of the OpenMP pragmas, compile with the -xopenmp option. Without -xopenmp, the compiler treats the OpenMP pragmas as comments. See B.2.123 -xopenmp[=i].
See the Solaris Studio OpenMP API User’s Guide for details.
You can access the prototype for this function by issuing a #include preprocessor directive for <sunw_mp_misc.h>.
If you do not want to register a function, set the environment variable SUNW_MP_WARN to TRUE and the warning messages are sent to stderr. For more information on SUNW_MP_WARN, see 3.3.3 SUNW_MP_WARN.
For information specific to this implementation of OpenMP, see the Solaris Studio OpenMP API User’s Guide.