Target Options
Details options for targetting.
-h cpu=target_system
Specifies the Cray system on which the absolute binary file is to be executed, where target_system can be either x86-64 or opteron (single or dual-core), barcelona or shanghai (quad-core), istanbul (6-core), mc8 (8-core), mc12 (12-core), interlagos (16-core), interlagos-cu (8-compute unit), abudhabi (16-core) , abudhabi-cu (8-compute unit), ivybridge, sandybridge, haswell, broadwell, mic-knl, and arm-thunderx.
The interlagos and abudhabi processors contain up to 8 compute units, each of which contains two integer cores and a shared FPU. These targets assume that the user intends to run with one thread per core (up to 16 per processor), while the cpu-cu target assumes that the user intends to run with one thread per compute unit (up to 8 per processor or one thread per FPU).
Rather than setting this option directly, users should load one of the targeting modules (craype-mc12 or craype-interlagos-cu, for example). The targeting modules set CRAY_CPU_TARGET and define paths to the corresponding libraries. The compiler driver script translates CRAY_CPU_TARGET to the corresponding cpu= option when calling the compiler.
If the target_system is set during compilation of any source file, it must also be set to that same target during linking and loading. If a user wishes to override the current target_system value set by the module environment (via the CRAY_CPU_TARGET definition), they should do so by specifying -hcpu=target_system on the compiler command line.
-h network=nic
Specifies the target machine's system interconnection network. Currently, supported values for nic are gemini and aries.
Rather than setting this option directly, users should load one of the network modules (craype-network-aries for example). The network modules cause the corresponding compiler option to be set and define paths to the corresponding libraries.