Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5104 Discussions

Poor OpenMP scaling trying to understand "Manual Reset Event"

AndrewC
New Contributor III
323 Views

I am using VTune threading to understand why some computationally intensive code that calls MKL is scaling poorly. I am using OpenMP tasks with the Intel 2023.2 compiler. Running on a 28 core i7 laptop ( Windows 11)

Threading analysis in VTune shows my threads  in a "Waiting" state with the hover bubble showing
Sync Object: Manual Reset Event

If I then switch to "Bottom Up" with a grouping by Sync Object, I see at the top "Manual Reset Event" inside mkl_intel_thread.2 with a "wait time by utilization" of "poor" ( aka red)


I am not sure I understand, I am calling MKL 2022.2 LAPACK functions ( e.g. zggev) , but I would expect they can be called from multiple threads without blocking or causing these kind of issues.

Any suggestions?

0 Kudos
1 Solution
AndrewC
New Contributor III
246 Views

Hi ,

After some a lot of work digging into this, I will have to declare a "mea culpa". We have a conan/cmake/artifactory build solution and the  CMake generation step for a visual studio project had a bug, the -Qiopenmp flag was not being set.

 

Andrew

View solution in original post

2 Replies
yuzhang3_intel
Moderator
260 Views

Could you share the MKL build options and VTune threading data as well?

0 Kudos
AndrewC
New Contributor III
247 Views

Hi ,

After some a lot of work digging into this, I will have to declare a "mea culpa". We have a conan/cmake/artifactory build solution and the  CMake generation step for a visual studio project had a bug, the -Qiopenmp flag was not being set.

 

Andrew

Reply