PGI for Linux, Release 2017. Optimization, Compiler, and Other flags for use by SPEC

Sections

Selecting one of the following will take you directly to that section:


Optimization Flags


Portability Flags


Compiler Flags


Other Flags


Shell, Environment, and Other Software Settings

OMP_STACKSIZE
Specify stack size to be allocated for each thread.
OMP_SCHEDULE
For loops running with OpenMP schedule "static", this results in (#iterations/#threads) iterations--rounded to the next lower integer--being allocated to most threads, with at most one additional iteration being allocated to some threads. Although the largest number of iterations assigned to any thread remains the same, this results in a more even sharing of iterations between threads, which may sometimes lead to a performance improvement relative to the default static thread distribution.
OMP_DYNAMIC
Currently has no effect. Typically enables (TRUE) or disables (FALSE) the dynamic adjustment of the number of threads.
OMP_NESTED
Enables (TRUE) or disables (FALSE) nested parallelism.
Set stack size to unlimited
The command "ulimit -s unlimited" is used to set the stack size limit to unlimited.