Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

with compiler option /Qtcheck, the original openmp program no longer parallelized, what's the reason?

kalven
Beginner
374 Views
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?
0 Kudos
3 Replies
TimP
Honored Contributor III
374 Views
/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.
0 Kudos
Om_S_Intel
Employee
374 Views

Could you please help with reproducer? I will investigate.

0 Kudos
JenniferJ
Moderator
374 Views

When /Qtcheck is used, the optimization will be turned off. so you won't get auto-parallelization etc.

Jennifer

0 Kudos
Reply