Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so

前端 未结 12 1922
时光取名叫无心
时光取名叫无心 2021-01-30 00:27

I am running a python script and I get this error:

Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.

Both files are present

12条回答
  •  情深已故
    2021-01-30 00:38

    try export LD_DEBUG=libs and execute your program again.

    It will tell you which .so is causing the problem.

    Then you can do something, e.g. upgrading the package.

    For me, I find upgrade numexpr useful as it prints the following message just before the error:

    calling init: xxxxx/python3.6/site-packages/numexpr/interpreter.cpython-36m-x86_64-linux-gnu.so
    

提交回复
热议问题