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
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