Intel® Fortran Compiler 17.0 Developer Guide and Reference
Tells the compiler to generate an optimization report. Option -qopt-report is the replacement option for -opt-report, which is deprecated.
Linux and macOS: | -qopt-report[=n] |
Windows: | /Qopt-report[:n] |
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. |
OFF |
No optimization report is generated. |
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* and OS X*) 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.
Visual Studio: Diagnostics > Optimization Diagnostic Level
Eclipse: None
Xcode: Diagnostics > Optimization Diagnostic Level
None
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* and OS X*: -qopt-report -qopt-report-phase=par Windows*: /Qopt-report /Qopt-report-phase:par |
OpenMP parallelizer diagnostics |
Linux* and OS X*: -qopt-report -qopt-report-phase=openmp Windows*: /Qopt-report /Qopt-report-phase:openmp |
Vectorizer diagnostics |
Linux* and OS X*: -qopt-report -qopt-report-phase=vec Windows*: /Qopt-report /Qopt-report-phase:vec |