The Intel® compiler provides the following options to generate and manage optimization reports:
Linux* and Mac OS* |
Windows* |
Description |
---|---|---|
-opt-report or -opt-reportN |
/Qopt-report or /Qopt-report:N |
Generates optimization report, with different levels of detail, directed to stderr. Valid values for N are 0 through 3. By default, when you specify this option the compiler will generate a report with a relative medium level of detail. For more information, see the following topic:
|
-opt-report-phase |
/Qopt-report-phase |
Specifies the optimization phase to use when generating reports. If you do not specify a phase the compiler defaults to all, which can adversely affect compile times. See Generating Reports or the following topic for more information about the supported phases:
|
-opt-report-file |
/Qopt-report-file |
Generates an optimization report and directs the report output to the specified file name. If the file is not in the local directory, supply the full path to the output file. This option overrides the opt-report option. For more information, see the following topic:
|
-opt-report-routine |
/Qopt-report-routine |
Generates reports from all routines with names containing a string as part of their name; pass the string as an argument to this option. If not specified, the compiler will generate reports on all routines. For more information, see the following topic:
|
-diag-<type> |
/Qdiag-<type> |
This option is not a compiler reports option; however, it controls the diagnostic message levels generated by the compiler, and it offers a means to provide useful information without needing to generate reports. <type> is a placeholder for several different values or lists. For examples on how to use the option and more information, see the following topic:
|
This quick reference does not list the options for the vectorization, parallelism, or OpenMP* reports.
Refer to Quick Reference Lists for a complete listing of the quick reference topics.