Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version 15.0 and newer of the Intel compilers can generate these instructions if you specify for KNL nodes the "-xMIC-AVX512" flag (which generates specific AVX512 instructions, hence the binary will not work on the Broadwell partition) or the -axMIC-AVX512 flag (which generates optimized executables for both AVX2 and AVX512 ISA):

module load intel
icc -aMICaxMIC-AVX512 -O3 -o executable source.c
icpc -aMICaxMIC-AVX512 -O3 -o executable source.cc
ifort -aMICaxMIC-AVX512 -O3 -o executable source.f

...