- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have noted the following in my code and was wondering whether it is a bug or working as intended.
I have some code that is within a single parallel region.
SB(i)=SIN(BETA(i))
Now SB is a module variable that is threadprivate on creation.
Beta is a variable that is shared, but has intent(in) into the subroutine where this is happening.
Yet I consistently get read/write dataraces on this line according to intel inspector.
Does anyone know why exactly I get this read/write data race here? and what I can do to remove it?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it is a threadprivate valuable, inspector should not report data race on it, in my view. Could you please provide a simple test case so I can produce this problem in Inspector 2017 beta?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The code I'm in is quite massive and old, with a lot of Fortran 77 without interfaces. But I will try to get it cut down and send you a working example within the next week or so.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page