User and Reference Guide for the Intel® Fortran Compiler 14.0

mmic, Qmic

Builds an application that runs natively on Intel® MIC Architecture. This option only applies to Intel® MIC Architecture.

Architecture Restrictions

Only available on Intel® 64 architecture targeting Intel® MIC Architecture

Syntax

Linux OS:

-mmic

OS X:

None

Windows OS:

/Qmic

Arguments

None

Default

OFF

The compiler builds a heterogeneous application. You must specify this option to build an application that runs natively on Intel® MIC Architecture.

Description

This option enables the cross compiler to build an application that runs natively on Intel® MIC Architecture. It is only available on the command line.

When you use this option, the compiler defines the macro __MIC__.

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 Intel® MIC Architecture compiler, which is a Windows*-hosted Linux* compiler.

IDE Equivalent

None

Alternate Options

None

Example

The following option generates the object file a.out, which only runs on Intel® MIC Architecture:

ifort -mmic hello.f90

The following shows that when you use option /Qmic, you must specify any other options in Linux form:

ifort /Qmic -vec-report=3 -c example.F90

When debugging applications for Intel® MIC Architecture on Windows* OS, you should use:

ifort /Qmic -g

See Also


Submit feedback on this help topic