Intel® Fortran Compiler 16.0 User and Reference Guide

About Building Native Intel® MIC Architecture Applications

This topic only applies to 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, 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.

Note

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® MIC Architecture on Windows*, you should use:

ifort /Qmic -g

The following information also applies to native Intel® MIC Architecture applications:

See Also