Open muellch opened 4 years ago
It may be useful to run a ThreadSanitizer build to see where exactly the data race is happening. I updated the standalone template to include sanitizer build support.
If you use the sanitizers.cmake
module you can enable TSAN by adding -DUSE_SANITIZER=Thread
to the CMake configuration.
I fixed a gcc issue in the the development branch. We should retest this as soon as we can merge back... Thanks for the pointer to the thread sanitizer (didn't know it exists)
does the problem still appear in the latest builds?
To reproduce:
The bug only appears sometimes. The bug goes away if multi threading is deactivated for OEC with --mlir-disable-threading
For error message see screenshot: