Oracle Solaris SPEC CPU Flags


Oracle Solaris Studio 12.5

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

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


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

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.

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.

Specifies whether idle threads should SLEEP or SPIN.

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).