My original openmp code compiled with intel c++ complier parallelized well, but after i add compiler option /Qtcheck , the code no longer parallelized. I confirmed with debugging.
Can someone tell me what maybe the reason?
/Qtcheck option was set up for slow emulation runs in a debug build to check for threading consistency. It's intended to help you correct threading problems and achieve performance when you return to a release build. Thread checker has improved enough that you may not find any advantage in /Qtcheck.
Could you please help with reproducer? I will investigate.
When /Qtcheck is used, the optimization will be turned off. so you won't get auto-parallelization etc.