Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7678 Discussions

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

kalven
Beginner
201 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
Black Belt
201 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.
Om_S_Intel
Employee
201 Views

Could you please help with reproducer? I will investigate.

JenniferJ
Moderator
201 Views

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

Jennifer

Reply