Intel® Fortran Compiler 16.0 User and Reference Guide

Optimization Reports: Enabling in Visual Studio*

Optimization reports can help you to address vectorization and optimization issues that you may encounter.

When you build a solution or project and the compiler generates optimization diagnostics, you can view optimization reports in the following windows:

To enable viewing optimization reports:

  1. In your project's property pages, select Configuration Properties > Fortran > Diagnostics.

  2. Set a non-default value for any of the following options:

    • OpenMP Diagnostics Level

    • Auto-Parallelizer Diagnostics Level

    • Vectorizer Diagnostics Level

    • Optimization Diagnostics Level

    • Optimization Diagnostics Phase

    • Optimization Diagnostics Routine

  3. Interprocedural Optimization (IPO) is turned off by default. To view IPO diagnostics, set the property Fortran > Optimization > Interprocedural Optimization to Single-file or Multi-file.

  4. Build your project to generate an optimization report.

When the compiler generates optimization diagnostics, the Compiler Optimization Report and the Compiler Inline Report windows open, and optimization report annotations appear in the source editor.

Note

You can specify how you want optimization reporting to appear with the Optimization Reports dialog box. Access this dialog box by selecting Tools > Options > Intel Compilers and Tools > Optimization Reports.

See Also