Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: OpenMP API User's Guide Oracle Solaris Studio 12.3 Information Library |
2.2 OpenMP Environment Variables
2.2.1 OpenMP Environment Variables Defaults
2.2.2 Oracle Solaris Studio Environment Variables
2.2.2.5 SUNW_MP_MAX_POOL_THREADS
2.2.2.6 SUNW_MP_MAX_NESTED_LEVELS
2.3.1 Virtual and Logical Processor IDs
2.3.2 Interpreting the Value Specified for SUNW_MP_PROCBIND
2.3.3 Interaction With OS Processor Sets
2.5 Checking and Analyzing OpenMP Programs
3. Implementation-Defined Behaviors
6. Automatic Scoping of Variables
This chapter describes compiler options and runtime settings affecting programs that utilize the OpenMP API.
Note - Starting with Oracle Solaris Studio 12.3, the default number of threads used for an OpenMP program is 2 instead of 1. This number can be changed by setting the OMP_NUM_THREADS environment variable prior to running the program, or by calling the omp_set_num_threads() routine, or by using the num_threads clause on a PARALLEL directive.