Is it possible to use both the single threaded version of mkl library and the multi threaded version of mkl in one application?
I need the single threaded version to use with PLASMA library, yet at some other part of my code, I need use mkl PARDISO, for which I need the multi threaded version.
Any help will be greatly appreciated.
I was able to fix the problem, by lining PLASMA with the multi threaded mkl. The crucial thing was to set
which makes PLASMA with multi threaded mkl only 2% slower than PLASMA with single threaded mkl. Without this option it is 3 times slower.
It means that I do not need to link to the single threaded library anymore.