Vectorize.jl icon indicating copy to clipboard operation
Vectorize.jl copied to clipboard

Install on MacOS fails because MKL is missing

Open ArchRobison opened this issue 9 years ago • 3 comments

I tried to install Vectorize.jl on my Mac (running MacOS El Capitan), and the build failed because MKL was missing. Shouldn't it have just omitted MKL from consideration since it was missing? See here for transcript.

ArchRobison avatar Aug 28 '16 21:08 ArchRobison

The install did succeed after I installed MKL.

ArchRobison avatar Aug 28 '16 21:08 ArchRobison

You're correct - it should just not load/use any MKL instructions - I'll take a look at why the MKL detection is failing and get back to you ASAP. Thanks for trying it out!

rprechelt avatar Aug 29 '16 02:08 rprechelt

This is strange - the error is caused by the lack of libmkl_intel_thread.dylib. However, libmkl_intel_thread.dylib is only loaded during MKL initialization which is guarded with a if (Libdl.find_library(["libmkl_rt"], ["/opt/intel/mkl/lib"]) != "" statement. Were the MKL files on your system but not installed (added to PATH etc.) such that Libdl may have been able to find the files?

rprechelt avatar Aug 29 '16 02:08 rprechelt