繁体   English   中英

Intel Inspector:“找不到源文件。建议:在项目属性对话框搜索选项卡中指定位置。”

[英]Intel Inspector: "Source file not found. Suggestion: Specify locations in a Project Properties dialog box search tab."

我正在为我的博士研究构建一个小型应用程序。 由于应用程序出现了一些未定义的行为,我决定使用 Intel Inspector 独立 GUI 来定位 memory 问题,它设法找到了大量问题,如下图所示:

在此处输入图像描述

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

我阅读了文档并在 google 上进行了一些挖掘,但我无法找到如何让 Intel Advisor 指出我的源代码中有问题的行。 我在这里想念什么?

主要项目属性: 在此处输入图像描述

要在 Inspector 或 Vtune 中查看源代码,请使用调试符号。

例子:

而不是使用以下命令

 g++ test cpp-o test

利用:

 g++ test.cpp -g -o test

然后将该可执行文件或二进制文件提供给 Intel Inspector 以查看源代码。 在此处输入图像描述

此外,在开始任何分析之前,请提供源目录的路径。 在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM