- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What optimization level are you using? -O2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using -O3, but I tried with -O2 as well. The result is the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you attach the report for -qopt-report=5 (don't use the vec-report-phase option) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well it appears that it does not optimization at all!
Can you provide a reproducer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 !
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page