I am trying to compile my code using -fast and (-Qopt-report2 -Qopt-report-phase=vec -Qopenmp-simd).
I'd like to have auto-vectorization reports as well, however, I don't seem to get then neither in stderr nor in *.optrpt files. Although report files (*.optrpt) are generated, they are empty when using -fast or -Qip.
Any input is much appreciate it.
I am able to generate optimization report without issues on ubuntu machine with icc (ICC) 2021.1.2. Could you please share the code for which you are getting empty compiler reports. Also share with us your intel compiler version and operating system. So we could look into this further.
As we have not heard back from you, we assume your issue is resolved. We would discontinue monitoring this issue. Any further updates here would be considered community. If you need further assistance, please raise a new thread.