Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

m32, m64, Qm32, Qm64

Tells the compiler to generate code for a specific architecture. Option m32 (and Qm32) is deprecated and will be removed in a future release. 32-bit options are only available for ifort.

Syntax

Linux:

-m32 (ifort only)

-m64

macOS:

-m32 (ifort only)

-m64

Windows:

/Qm32 (ifort only)

/Qm64

Arguments

None

Default

ifort: OFF

The compiler's behavior depends on the host system.

On ifx: -m64 or /Qm64

The compiler generates code for Intel® 64 architecture.

Description

These options tell the compiler to generate code for a specific architecture.

Option

Description

-m32 or /Qm32

Tells the compiler to generate code for IA-32 architecture. IA-32 support is deprecated and will be removed in a future release. 32-bit options are only available for ifort.

-m64 or /Qm64

Tells the compiler to generate code for Intel® 64 architecture.

For ifort, the -m64 option is the same as macOS option -arch x86_64. This option is not related to the Intel® Fortran Compiler option arch.

On Linux* systems, these options are provided for compatibility with gcc.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

IDE Equivalent

None

Alternate Options

None