Parallel Studio Inspect reports data race where there is none

Vladimir Tsymbal (Intel)
Total Points:
8,903
Status Points:
8,403
Brown Belt
September 16, 2009 5:05 AM PDT
Rate
 
#4 Reply to #3

Hi

Were you able to reproduce this problem ? Can you please update.

Thanks,
Deepak

Hi,

 

I'm so sorry, this case slipped my attention (probably, because we had some problems w/ forum notifications). Thanks for pinging me.

 

I checked your test case with all levels ti2-ti4 (Inspector v1.0 Update 1).

 

Intel Compiler v.11.1

Inspector detects a data race on ti2 level but within each function (function1 and fuction2). If selected higher levels (t3-t4), it recognizes that the accesses to the buffer are not overlapped and does not report errors.

 

MSFT Compiler 8.0

Quite the opposite results

Inspector doesn't detect data races on ti2

On ti3-ti4 it detects race condition in accessing buffer memory in fucnction1 and function2.

 

It quite strange and I can't say for sure who is the culprit here, MSFT omp or Inspector. I'll submit this issue to Inspector developers for further investigation.

I'll let you know the results.

Thanks.


--------
-Vladimir


Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100770 posts to date.
In the past 24 hours, we have 28 new thread(s) 120 new posts(s), and 168 new user(s).

In the past 3 days, the most popular thread for everyone has been Implicite multithreading ??? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99