Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2284 Diskussionen

Compiler Optimization Report unavailable.

gfichterpicometrix_c
3.525Aufrufe

It does not seem that the icpc compiler provides vectorization optimization reports like XE Compiler does.  This is the .optrpt file, which also is shown in the Compiler Optimization Report window in Visual Studio.  Is this reporting feature unavailable by design, or is it accessed in a new way?

0 Kudos
1 Lösung
Gopika_Intel
Moderator
3.493Aufrufe

Hi,

Thank you for reaching out. The issue is reproducible. In Visual studio, the compiler optimization report window is empty. Optimization report generation works in command prompt. Please follow the below steps.

In Linux:

 

icpc -qopt-report=1 -qopt-report-phase=vec test.cpp && cat test.optrpt
icc -qopt-report=1 -qopt-report-phase=vec test.c && cat test.optrpt

 

 

In Windows:

 

icl -Qopt-report:1 -Qopt-report-phase:vec test.cpp && cat test.optrpt

 

 

For more information : https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-auto-vectorization-tutorial/top/introduction-to-auto-vectorization.htmls

Hope this helps.

Regards

Gopika

 

Lösung in ursprünglichem Beitrag anzeigen

6 Antworten
Gopika_Intel
Moderator
3.494Aufrufe

Hi,

Thank you for reaching out. The issue is reproducible. In Visual studio, the compiler optimization report window is empty. Optimization report generation works in command prompt. Please follow the below steps.

In Linux:

 

icpc -qopt-report=1 -qopt-report-phase=vec test.cpp && cat test.optrpt
icc -qopt-report=1 -qopt-report-phase=vec test.c && cat test.optrpt

 

 

In Windows:

 

icl -Qopt-report:1 -Qopt-report-phase:vec test.cpp && cat test.optrpt

 

 

For more information : https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-auto-vectorization-tutorial/top/introduction-to-auto-vectorization.htmls

Hope this helps.

Regards

Gopika

 

gfichterpicometrix_c
3.485Aufrufe

Thanks.  I hope the Visual Studio integration will be fixed. Also, the /Qopt-report-phase:vec option is listed as available by the /Qnextgen-diag, but the option is ignored with a warning.

Alina_S_Intel
Moderator
3.425Aufrufe

Could you please indicate what version of Visual Studio you are using?

With oneAPI 2021.2, it seems that Visual Studio Version 16.7.2 works fine. The bug is reproducible with Version 16.8.3.


Alina_S_Intel
Moderator
3.420Aufrufe

This bug is escalated to the development team.


SantoshY_Intel
Moderator
3.296Aufrufe

Hi,


The version against which you reported your issue is no longer targeted for fixes. Please check out the new versions of Intel oneAPI Toolkits for the latest features.


Thanks & Regards,

Santosh


SantoshY_Intel
Moderator
3.232Aufrufe

Hi,


We are closing this thread for now. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Santosh


Antworten