I'm building a small application to my phd research. As the application is presenting some undefined behavior, I decided to use the Intel Inspector standalone GUI to locate memory problems and it manage to find a considerably amount of problems as shown in the image below:
I'm using intelOneAPI compiler with the following options: icx /Qstd:c17 /Zi /DEBUG /Qopenmp /O3 /Ot /Qipo src/main.c src/libs/edosystems.c src/libs/nldyn.c src/libs/iofiles.c src/libs/interface.c src/modules/time_series.c src/modules/poinc_map.c src/modules/lyap_exp_wolf.c src/modules/ftime_series.c
I read the documentation and did some digging on google and I could not manage to find how to make the Intel Advisor to point the problematic lines in my source code. What am I missing here?
In order to view the source code in Inspector or Vtune, use debugging symbols.
example:
Instead of using the below command
g++ test cpp-o test
use:
g++ test.cpp -g -o test
Then give that executable or binary to the Intel Inspector to view the source code.
Also, give a path to the source directory before starting any analysis.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.