Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
74 Views

Cannot redefine mkl_progress with tbb and static linking on MacOS

We've spend several days trying to override "mkl_progress" function. It is absolutely crucial for us to be able to abort the calculation (our software appears hanged otherwise if the input matrix grows too large and user cannot stop the computation). Unfortunately, despite all the efforts, there appears to be no way to take over the "mkl_progress". Even when I call "mkl_progress" directly, my redefined version is not called. I'm linking statically with MKL on MacOS and we use tbb. Is there any information you could gives to overcome this? The "mkl_set_progress" function also does nothing. The documentations on the matter are also depressingly insufficient. 

0 Kudos
3 Replies
Highlighted
Employee
74 Views

Hi Bardia,

 

I see a note in the documentation about the mkl_progress feature and TBB. 

"WARNING: The mkl_progress function only supports OpenMP* threading and sequential execution."

https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-c/top/sup...

 

Please submit mkl_progress support for TBB as a feature request.

0 Kudos
Highlighted
Moderator
74 Views

here is the link to the Intel Online Service Center - https://supporttickets.intel.com/?lang=en-US

0 Kudos
Highlighted
Moderator
74 Views

>> "...The documentations on the matter are also depressingly insufficient. "

What do you like to see from the mkl documentation else regarding this part beyond warnings?

"WARNING: The mkl_progress function only supports OpenMP* threading and sequential execution."

https://software.intel.com/content/www/us/en/develop/documentation/mkl-d.

0 Kudos