Download PGI 5 User's Guide

Transcript
Examples of the use of OMP_SCHEDULE are as follows:
$ setenv OMP_SCHEDULE “static, 5”
$ setenv OMP_SCHEDULE “guided, 8”
$ setenv OMP_SCHEDULE “dynamic”
OMP_DYNAMIC - currently has no effect.
OMP_NESTED - currently has no effect.
MPSTKZ - increase the size of the stacks used by threads executing in parallel regions. For use with
programs that utilize large amounts of thread-local storage in the form of private variables or local
variables in functions or subroutines called within parallel regions. The value should be an integer
<n> concatenated with M or m to specify stack sizes of n megabytes. For example:
$ setenv MPSTKZ 8M
Optimization MP Pragmas for C and C++
149