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

Intel MKL FATAL ERROR: Cannot load symbol MKLMPI_Get_wrappers.

lynn68
Beginner
1,196 Views

Hi everyone,

I had a very similar problem to the previous post(https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Cannot-load-symbol-MKLMPI-Get-wrappers/td-p/1505762) while using Intel MKL. As suggested, I set the MKL_VERBOSE=1 environment variable and got the following error message:

MKL_VERBOSE DAXPY(18624,0x7ffee8f6af58,0x965e2a0,1,0x95f6810,1) 248.35ms CNR:OFF Dyn:1 FastMM:1 TID:0  NThr:1Intel MKL FATAL ERROR: Cannot load symbol MKLMPI_Get_wrappers.


Additionally, I noticed the following during the PETSc compilation process:

mkl_cpardiso:  Includes:   -I/share/oneapi/mkl/2023.1.0/include

mkl_pardiso:
  Includes:   -I/share/oneapi/mkl/2023.1.0/include
  uses OpenMP; use export OMP_NUM_THREADS=<p> or -omp_num_threads <p> to control the number of threads

 

Problem description:

Strangely, mkl_pardiso works fine and passes the test, but mkl_cpardiso fails with the above error. I have checked the library path and environment variables, but the problem persists.

My environment configuration:

Operating system: Ubuntu 22

Compiler: GNU

MKL version: 2023.1.0

PETSc version: 3.19.1

MPI version: OPENMPI4.1.5

Hope to get some suggestions or solutions, thanks a lot!

0 Kudos
3 Replies
Mark_L_Intel
Employee
1,092 Views

Hello @lynn68,

 

         So, have you followed the advice from the link you are citing? Like checking that you are setting the correct library path and linking the correct libraries. Have you tried to use MKL Link Line Advisor? Could you provide specific instructions on how you built your code? Also, print out the environment. So I can reproduce the error on my end.  

0 Kudos
Mark_L_Intel
Employee
1,028 Views

Hello @lynn68,

 

     Any updates? Please look at this link, where a similar issue was reported. How have you configured PETc with MKL (exact syntax of the command used to configure PETc).

0 Kudos
Mark_L_Intel
Employee
905 Views

Hello @lynn68,

 

    Intel will no longer monitor this post due to no responses. Thank you for participating in the oneMKL Forum.   

0 Kudos
Reply