Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

pardiso in multi thread mode

Alexey1978
New Contributor I
1,053 Views
Good day.

I have encountered with the folowing problem.

A have Qt C++ on Win 64, MSVC2019 64bit

LIBS += -L'C:\Program Files (x86)\Intel\oneAPI\mkl\2021.2.0\lib\intel64'\
-lmkl_core_dll -lmkl_intel_thread_dll -lmkl_intel_lp64_dll

I run my program with the following dll:
mkl_core.1.dll
mkl_def.1.dll
mkl_intel_thread.1.dll
mkl_sequential.1.dll

it doesn't work without mkl_sequential.1.dll

Im solving sparse complex matrix
PARDISO (pt, &maxfct, &mnum, &mtype, &phase,
&n, a, ia, ja, &idum, &nrhs, iparm, &msglvl, b, x, &error);

it works only in sequential mode. It uses only 25% of my processor Intel i5-6400.

Why id doesn't work in parallel mode?

Thanks a lot
0 Kudos
5 Replies
VidyalathaB_Intel
Moderator
1,023 Views

Hi,

 

Thanks for reaching out to us.

 

>>Why id doesn't work in parallel mode?

 

We tried executing a sample code using pardiso in Visual Studio 2019 in parallel mode and it is working fine.

 

>>A have Qt

 

Please refer the below link for system requirements of Intel oneMKL 

https://software.intel.com/content/www/us/en/develop/articles/oneapi-math-kernel-library-system-requirements.html

 

>>Intel\oneAPI\mkl\2021.2.0

 

Also please try with the latest mkl version 2021.3.0

We suggest you to try compiling the code in Visual studio by following the below link 

 https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc.html

 

Hope the provided information might help you

 

Regards,

Vidya.

 

0 Kudos
Alexey1978
New Contributor I
976 Views

Thank you, Vidya.

 

As I realised, the problem in Qt. It cannot compile (both MSVC, MinGW) program with #include <omp.h> and gives an error. Withot omp.h it works good in sequential mode.

 

Alexey.

0 Kudos
VidyalathaB_Intel
Moderator
936 Views

Hi,

 

>>As I realised, the problem in Qt

 

Since the issue is related to Qt, we won't be able to provide support on it.

Do let us know if you need any other help. If not could you please confirm us whether we can close this thread from our end?

 

Regards,

Vidya.

 

0 Kudos
Alexey1978
New Contributor I
910 Views
Yes, I think it is Qt problem. Thank you very much.
0 Kudos
VidyalathaB_Intel
Moderator
896 Views

Hi,


Thanks for the confirmation.

If you need any additional information from intel, please post a new question as this thread will no longer be monitored.


Regards,

Vidya.


0 Kudos
Reply