rprechelt / Vectorize.jl

Cross-platform vectorization of Julia code using Accelerate, VML, and Yeppp!
http://vectorizejl.readthedocs.io/en/latest/
Other
19 stars 7 forks source link

Install on MacOS fails because MKL is missing #12

Open ArchRobison opened 8 years ago

ArchRobison commented 8 years ago

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 commented 8 years ago

The install did succeed after I installed MKL.

rprechelt commented 8 years ago

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 commented 8 years ago

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?