Visible to Intel only — GUID: GUID-BF508348-05E0-4AE8-80FB-326294283609
Visible to Intel only — GUID: GUID-BF508348-05E0-4AE8-80FB-326294283609
qopt-report, Qopt-report (ifort only)
Tells the compiler to generate an optimization report. This description is only for ifort.
Syntax
Linux: |
-qopt-report[=n] |
macOS: |
-qopt-report[=n] |
Windows: |
/Qopt-report[:n] |
Arguments
n |
(Optional) Indicates the level of detail in the report. You can specify values 0 through 5. If you specify zero, no report is generated. For levels n=1 through n=5, each level includes all the information of the previous level, as well as potentially some additional information. Level 5 produces the greatest level of detail. If you do not specify n, the default is level 2, which produces a medium level of detail. |
Default
OFF |
No optimization report is generated. |
Description
This option tells the compiler to generate a collection of optimization report files, one per object; this is the same output produced by option [q or Q]opt-report-per-object.
If you prefer another form of output, you can specify option [q or Q]opt-report-file.
If you specify a level (n) higher than 5, a warning will be displayed and you will get a level 5 report.
When optimization reporting is enabled, the default is -qopt-report-phase=all (Linux* or macOS) or /Qopt-report-phase:all (Windows*).
For a description of the information that each n level provides, see the Example section in option [q or Q]opt-report-phase.
IDE Equivalent
Visual Studio: Diagnostics > Optimization Diagnostic Level
Alternate Options
None
Example
If you only want reports about certain diagnostics, you can use this option with option [q or Q]opt-report-phase. The phase you specify determines which diagnostics you will receive.
For example, the following examples show how to get reports about certain specific diagnostics.
To get this specific report |
Specify |
---|---|
Auto-parallelizer diagnostics |
Linux* or macOS: -qopt-report -qopt-report-phase=par Windows*: /Qopt-report /Qopt-report-phase:par |
OpenMP parallelizer diagnostics |
Linux* or macOS: -qopt-report -qopt-report-phase=openmp Windows*: /Qopt-report /Qopt-report-phase:openmp |
Vectorizer diagnostics |
Linux* or macOS: -qopt-report -qopt-report-phase=vec Windows*: /Qopt-report /Qopt-report-phase:vec |