Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Linux > Tip of the day > Intel compilation for MIC architecture KNL Knights Landing

Intel compilation for MIC architecture KNL Knights Landing

Since Intel 16 versions, you can compile source code with -xMIC-AVX512 options.

For Intel C compiler:

icc -xMIC-AVX512 -o executable code.c

for Intel C++ compiler:

icpc -xMIC-AVX512 -o executable code.cpp

For Intel Fortran compiler:

ifort -xMIC-AVX512 -o executable code.f

Any message or comments?

comments powered by Disqus