Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Compiler optimization report

Sandeep-Agrawal-CDAC
798 Views

Hi,

     I can generate compiler optimization report with "-qopt-report=5" compiler switch. It generates individual report for each individual source file compiled. I want to generate a common report file for all the compilations of different source files present within an HPC application software.  Please find environment information below:

icc/icpc version: 19.1.3.304
Intel Xeon CSL
CentOS Linux 7.9


 I will appreciate any guidance on this.


Thanks, 
Sandeep

0 Kudos
3 Replies
AishwaryaCV_Intel
Moderator
760 Views

Hi Sandeep,

 

Thank you for posting in Intel Communities.

 

Please find the below command line to generate a common report file for all the compilations:

 icpc file1.cpp file2.cpp -qopt-report-file=stdout &> file_name

All the details or report of all  files will be generated in the specified file_name.

 

Please find the link  for more details.

 

Thanks And Regards,

Aishwarya

 

0 Kudos
AishwaryaCV_Intel
Moderator
718 Views

Hi,

 

Could you please let us know whether your issue is resolved or not.If yes,make sure to accept this as a solution.

 

Thanks & Regards

Aishwarya



0 Kudos
AishwaryaCV_Intel
Moderator
662 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks and Regards,

Aishwarya


0 Kudos
Reply