Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
17 Views

icpc and gprof

Hi

I am using icpc compiler to run my C++ code on Linux. I am trying to use gprof for profiling the code. I
have used the "-p" option with icpc while compiling the code. I have then executed the code which apart from its own
output also creates a gmon.out file. In order to interpret the profiling information, I need to run gprof. I
am doing this as follows: gprof myExecutable gmon.out > profiling.txt
However I get an error: myExecutable not in a.out format.

Any pointers on what could be going wrong? Is icpc compatible with gprof?

Thanks.
0 Kudos
0 Replies