user11623586
user11623586

Reputation:

Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib. in Julia Pluto Notebook in MacOS M1

I am getting Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib. a message every time I run a Pluto notebook in Julia. I updated Julia to 1.6 and Pluto to a newer version but no changes. I have tried everything that comes to my mind and query results on the internet but it is really frustrating not to find any solution to this problem. I am adding screenshots to a clear understanding of the problem. I use macOS Big Sur version 11.2.3 on Apple M1 Macbook. enter image description here

Upvotes: 1

Views: 3076

Answers (2)

logankilpatrick
logankilpatrick

Reputation: 14521

The other solution which worked for me as point out here: https://github.com/JuliaPy/PyPlot.jl/issues/315#issuecomment-814652753

using Conda
Conda.rm("mkl")
Conda.add("nomkl")

Upvotes: 0

xrisk
xrisk

Reputation: 3898

Try setting LD_LIBRARY_PATH like this:

LD_LIBRARY_PATH=$HOME/.julia/conda/3/lib julia

Relevant issue: https://github.com/ContinuumIO/anaconda-issues/issues/6423

Upvotes: 1

Related Questions