NERSCPowering Scientific Discovery Since 1974

Compiling serial codes to run on login nodes in the Intel programming environment

April 24, 2014

This problem was fixed as of 4:00 pm PST 5/1/2014.


With CDT 1.15 upgrade, the serial codes compiled with the compiler wrappers under the Intel programming enviornment do not run on login nodes. You will see the following message if attempting to run serial codes on login nodes:

Please verify that both the operating system and the processor support Intel(R) F16C instructions.

If you want to compile serial codes to run on a login node, you can use one of the following workarounds:

  1. Do "module unload craype-ivybridge" before compiling
  2. Set environment variable, "CRAY_CPU_TARGET=sandybridge" before compiling.
  3. Use the compiler wrapper option -target-cpu=sandybridge with your serial code compilation
  4. You can use the native compiler calls, ifort, icc, icpc to compile your codes as well. You can add the -static option to build static binaries if preferred, otherwise the resuling binaries will be linked dynamically.

We are working with Cray to resolve this issue.