Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zulal_b
Beginner
208 Views

Empty Optimization Report

 

Hello everyone,

I am a new developer for MIC architecture and using xeon phi with icc.  I am currently compiling a basic native code with optimization report flags : "-qopt-report=3 -qopt-report-phase=vec". Although the optimization report is generated (.optrpt file is present) and the compilation is completed fine, the report files are completely empty. I get absolutely no warning but the size of the files is 0 bytes and there is not even a statement "Begin optimization report for ..." inside the file.

I was wondering what could be the possible reasons for this issue.

 

0 Kudos
6 Replies
Paulius_V_1
Beginner
208 Views

What optimization level are you using? -O2? 

zulal_b
Beginner
208 Views

I am using -O3, but I tried with -O2 as well. The result is the same. 

Paulius_V_1
Beginner
208 Views

Could you attach the report for -qopt-report=5 (don't use the vec-report-phase option)  ?

 

zulal_b
Beginner
208 Views

Of course, the report is in the attachment (without vec-report-phase option). 

File format is not supported, so I've changed it to .txt. I'm getting false for all of the Whole Program Analyses. 

Thank you for helping by the way. 

Paulius_V_1
Beginner
208 Views

Well it appears that it does not optimization at all! 

Can you provide a reproducer?

zulal_b
Beginner
208 Views

I think I solved the problem. When I changed the main source's name, I realized that the reports files were generated just fine. I am using multiple header files in the program. While compiling, the header files must have mixed up and the corresponding reports for the source files had overlapped. Maybe the reports were not generated individually for that reason. The compiler was still recognizing the files for forming the executable, so I didn't get any errors. I have fixed my compilation rules, now I can get the reports. 

Thank you Paulius ! 

Reply