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.
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?
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?
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.