JuliaMath / IntelVectorMath.jl

Julia bindings for the Intel Vector Math Library
Other
73 stars 18 forks source link

Fix a bug on osx for julia 0.4 : needeed to load libmkl_rt #3

Closed lionpeloux closed 8 years ago

lionpeloux commented 8 years ago

Hello @simonster

I'm interested by the VML on mac, as far as Julia only ships with OpenBLAS, which as no element-wise functions.

I've tried to use is "as it" on v0.4 and went into troubles. Apparently, it's fixed if I dlopen the libmkl_rt when loading the module. (something to do with the single dynamic library system of intel I suppose).

Let me know if you think that can be fixed/merged in your main repo ?

Thanks, Lionel

PS : Uint has been depreciated to UInt ...

tkelman commented 8 years ago

This needs to use Compat to avoid breaking on 0.3

lionpeloux commented 8 years ago

Wow, I didn't know my little pull-request would be merged by you guys ! Thanks. Is there any intention to extend this to BLAS functions (building Julia with MKL is still difficult) ?

lionpeloux commented 8 years ago

This is still not working properly in Juno nor in Atom. You may want to have a look on this issue : https://github.com/JunoLab/atom-julia-client/issues/56 I think there's a problem while loading DYLD_LIBRARY_PATH.

Thanks, Lionel