Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4992 Discussions

Cannot find more than one thread?

rudaho
Beginner
387 Views
Hi there~

I used inspector XE to test my binary in -O1 version and -g version in linux system. In -g version, it reported a race condition in which will run in single thread section (is strange but I'll check it later). But, in -O1 version, it just reported analysis fail, cannot find more than one thread. So no error is detected. However, when running -O1 binary, I can see 200 CPU usage in top command. Why does the inspector said that only one thread is detected? Thanks...

Best Regards

Yi-Ju

0 Kudos
2 Replies
Ravi_V_Intel
Employee
387 Views
Hello Yi-Ju,

If the application built with "-O1" is not running successfully within Intel Inspector XE 2011 (for example, if it exists prematurely due to say incorrect command line options), then it is possible for Inspector XE to report that only one thread was found. So, to eliminate this problem, please ensure that your application can run successfully outside of Inspector XE and only then run the application within Inspector XE (please be sure to provide all necessary command line arguments to your application and also double check to make sure that your application is running properly).

If the suggestion above does not help, please provide a reproducible test case which demonstrates this problem and I will be happy to escalate the issue.

Sorry for the inconvenience.

Ravi
0 Kudos
Not applicable
386 Views
 
0 Kudos
Reply