The Oracle Solaris Studio compilers conform to the OpenMP 3.0 shared memory parallelization API specification. OpenMP consists of a set of compiler directives, library routines, and environment variables that you can use to develop multithreaded applications.
To take advantage of the compiler OpenMP support, use OpenMP directives and functions to parallelize sections of your code, and use the -xopenmp option when compiling. To run a parallelized program in a multithreaded environment, you must set the OMP_NUM_THREADS environment variable prior to execution to specify the number of threads the program can use. See the Oracle Solaris Studio 12.2: OpenMP API User’s Guide for details.