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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

qopt-report-file, Qopt-report-file

Specifies whether the output for the generated optimization report goes to a file, stderr, or stdout.

Syntax

Linux:

-qopt-report-file=keyword

Windows:

/Qopt-report-file:keyword

Arguments

keyword

Specifies where the output for the report goes. You can specify one of the following:

filename

Specifies the name of the file where the generated report should go.

stderr

Indicates that the generated report should go to stderr.

stdout

Indicates that the generated report should go to stdout.

On ifx, this setting can also be specified as -qopt-report-stdout (Linux) or /Qopt-report-stdout (Windows).

Default

OFF

No optimization report is generated.

Description

This option specifies whether the output for the generated optimization report goes to a file, stderr, or stdout.

If you use this option, you do not have to specify option [q or Q]opt-report.

When optimization reporting is enabled on ifort, the default is -qopt-report-phase=all (Linux*) or /Qopt-report-phase:all (Windows*).

Specifying -qopt-report-file=stdout (Linux) or /Qopt-report-file:stdout (Windows) is the same as specifying option -qopt-report-stdout (Linux) or /qopt-report-stdout (Windows).

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

Visual Studio: Diagnostics > Emit Optimization Diagnostics to File

Diagnostics > Optimization Diagnostic File

Alternate Options

None

See Also