Public bug reported:

Hi,

I am using 21.10 with intel-mkl 2020.4.304-2.

When I try to use a program that was built with intel-mkl libraries from
Ubuntu, I get the error:

---------
INTEL MKL ERROR: /usr/lib/x86_64-linux-gnu/libmkl_avx512.so: undefined symbol: 
mkl_sparse_optimize_bsr_trsm_i8.
Intel MKL FATAL ERROR: Cannot load libmkl_avx512.so or libmkl_def.so.
---------

It seems that it is associated with some error with "static linkage".
See: https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-
Library/mkl-fails-to-load/m-p/1155538

In fact, if I define LD_PRELOAD (as suggested in the above page) to:

export LD_PRELOAD=/usr/lib/x86_64-linux-
gnu/libmkl_def.so:/usr/lib/x86_64-linux-
gnu/libmkl_avx2.so:/usr/lib/x86_64-linux-
gnu/libmkl_core.so:/usr/lib/x86_64-linux-
gnu/libmkl_intel_lp64.so:/usr/lib/x86_64-linux-
gnu/libmkl_intel_thread.so:/usr/lib/x86_64-linux-gnu/libiomp5.so

The error goes away.

** Affects: intel-mkl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947626

Title:
  Undefined symbol: mkl_sparse_optimize_bsr_trsm_i8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-mkl/+bug/1947626/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to