Oracle Solaris SPEC CPU Flags

Compilers

Oracle Developer Studio 12.6

  • "cc": Oracle Developer Studio C
  • "CC": Oracle Developer Studio C++
  • "f95": Oracle Developer Studio Fortran
Operating systems: Solaris 10 and 11
Copyright:

The text for many of the descriptions below was excerpted from the Oracle Developer Studio Compiler Documentation, which is copyright © 2016 Oracle Corporation. The original documentation can be found at http://docs.oracle.com/.

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

MTEXCLUSIVE
If set to "Y", additional memory allocation buckets will be created, so that threads will not need to share buckets unless more than 2*NCPUS threads are created. This variable is used by mtmalloc.

SUNW_MP_PROCBIND
Binds threads in an OpenMP program to the virtual processors enumerated in the assignment. Can also be set to TRUE, which casues threads to be bound in a round-robin fashion.

SUNW_MP_THR_IDLE
Specifies whether idle threads should SLEEP or SPIN.

STACKSIZE=<n>
Set the size of the stack (temporary storage area) for each slave thread of a multithreaded program.

ulimit -s <n>
Sets the stack size to n kbytes, or "unlimited" to allow the stack size to grow without limit.
Note that the "heap" and the "stack" share space; if your application allocates large amounts of memory on the heap, then you may find that the stack limit should not be set to "unlimited". A commonly used setting for SPEC CPU2006 purposes is a stack size of 128MB (131072K).