My software seems to be 'randomly' deadlocking inside dcopy. I have lots of threads running. Is this a known issue? Running Intel Inspector XE always shows a litany of data race issues inside MKL but I have always been told 'don't worry, they are ok'.
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
xxxxx.dll!dcopy() + 0x7a bytes
Could you build a small test case to reproduce the problem?
I tried one small case, (with MKL dcopy call in MKL example folder). the inspector reports "No problem detected".
Intel inspector does not give specific warnings on DCOPY. I do find a number of warnings about data races on various LAPACK functions.
Anyway,this error occurred under very heavy threading conditions. Nested OMP threading , when called from separate threads. By reducing the # of threads the problem resolved itself. Upgrading to MKL 11.3.4 also corrected the issue.
Thanks for sharing the result.
There are some work between intel inspector and us to remove the MKL's warning in their report. So it was improved along later version.
Here is MKL bug fix.