请问有关Intel thread profiler的问题

qgdbr08 2009-05-11 03:57:44
我在 Microsoft Visual 2005里 使用 Intel C++ Compiler编译,
在 属性里的 C/C++->Language->OpenMP Support,我选择了No,在C/C++->Command Line->Additional Options中增添了/Qopenmp_profile;
编译运行后,将.exe载入到Intel thread profiler中,选择OpenMP*-specific之后 finish,却出现了
An unhandled exception occured while processing the command
的错误提示
请问这是什么原因呢?
拜托了...
...全文
116 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
qgdbr08 2009-05-14
  • 打赏
  • 举报
回复
我试过了~ 编译发生了这样的warning:
icl: command line warning #10121: overriding '/Qopenmp_profile' with '/Qopenmp'

载入.exe后 还是这样的问题
qgdbr08 2009-05-14
  • 打赏
  • 举报
回复
恩~ 谢谢您~ 呵呵 我用过Microsoft* Visual Studio*来编译~ 只是想试一下Intel C++ compiler,不知道哪里出错了,看来我要好好再看看,呵呵...
很奇怪的是,用Intel thread checker分析两个编译器生成的.exe文件,显示的结果不一样,对于Microsoft* Visual Studio*生成的执行文件,分析有读写错误,可是对于Intel C++ compiler的,就没有这类错误,难道我又是哪里弄错了??...
intel_zhenyuwang 2009-05-14
  • 打赏
  • 举报
回复
这个Warning没有关系的:"/Qopenmp_profile" covers "/Qopenmp"

参考工具自带的例子 - C:\Program Files\Intel\VTune\tprofile\samples\ompPrime。

Don't use "OpenMP*-specici", use "Instrumentation" option.

Run Thread Profiler in Microsoft* Visual Studio*
intel_zhenyuwang 2009-05-12
  • 打赏
  • 举报
回复
"在 属性里的 C/C++->Language->OpenMP Support,我选择了No" - Please select "Yes":-)

567

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧