Intel® Fortran Compiler 17.0 Developer Guide and Reference
This topic only applies when targeting Intel® Many Integrated Core Architecture (Intel® MIC Architecture).
You can build a binary to run natively on Intel® MIC Architecture, without building one to run on the CPU at all.
To build a native Intel® MIC Architecture binary for the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), include the mmic (Linux*) or Qmic (Windows*) compiler option when you invoke the compiler. You can use the MIC_LIBRARY_PATH environment variable to add additional paths to search for libraries needed to build the native binary.
When you specify Windows* option /Qmic, you must specify any other options on the command line in the Linux* form. This is because all other options are passed directly to the native compiler for Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), which is a Windows*-hosted Linux* compiler.
For example, when debugging applications for Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner) on Windows*, you should use:
ifort /Qmic -g
And when debugging applications for Intel® Xeon Phi™ product family x200 (formerly code name Knights Landing) on Windows*, you should use:
ifort /Qmic-avx512 -g
The following information also applies to native Intel® MIC Architecture applications:
Setting the compiler environment.
Debugging native Intel® MIC Architecture applications. See debugger documentation.
Class Libraries for Intel® Many Integrated Core (Intel® MIC) Architecture.
Intrinsics Supporting Intel® Initial Many Core Instructions (Intel® IMCI).