|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3 Overview Oracle Solaris Studio 12.3 Information Library|
The Oracle Solaris Studio compilers conform to the OpenMP 3.1 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. The default is 2 if OMP_NUM_THREADS is not specified. See the Oracle Solaris Studio 12.3: OpenMP API User’s Guide for details.