Program Model Specific Options

Descriptions of program model specific options.

-h [no]acc

Default: -h acc

Enables or disables compiler recognition of OpenACC directives (!$acc sentinel).

-h [no]caf

Default: -h caf

Enable the compiler to recognize coarray syntax. The macro _CRAY_COARRAY will be defined as 1 if -hcaf is specified on the command line.

Note that -hnocaf is required for Fortran code when it will be linked with C++ code.

-h [no]caf is not supported in the Envoy environment.

-h mpin, -O mpin

Default: mpi0

Enables or disables optimization of MPI operations. mpi1 enables this option.

-h [no]omp, -O [no]omp

Default: -h omp if -O1 or higher is implied or specified.

Enables or disables compiler recognition of OpenMP directives. Using the -h [no]omp option is similar to the -h thread0 option, in that it disables OpenMP, but unlike -h thread0, it does not affect autothreading. The -h [no]omp option is identical to the -O [no]omp option and is provided for command-line compatibility with the Cray C compiler. If -O0 is implied or specified then -h noomp is implied.