I'm still getting the can't find libiomp5.dylib I've copied it into /opt/intel/mkl/lib which is referenced by
export DYLD_LIBRARY_PATH=/opt/intel/mkl/lib
any ideas on how to debug. the actual error message is
CompilerException java.lang.UnsatisfiedLinkError: /private/var/folders/76/ydx4vlz14k1d8lnkvctlm03r0000gp/T/libneanderthal-mkl-0.12.06365990791847296364.jnilib: dlopen(/private/var/folders/76/ydx4vlz14k1d8lnkvctlm03r0000gp/T/libneanderthal-mkl-0.12.06365990791847296364.jnilib, 1): Library not loaded: @rpath/libiomp5.dylib
Referenced from: /private/var/folders/76/ydx4vlz14k1d8lnkvctlm03r0000gp/T/libneanderthal-mkl-0.12.06365990791847296364.jnilib
Reason: image not found, compiling:(uncomplicate/neanderthal/internal/host/mkl.clj:98:5
@jduhamel OSX users reported that putting libiomp5 into the global lib directory helps in such cases.
Thanks, I'll give that a shot although it's kinda an oddity. It should pick it up on the dyn load path.
I'm not sure how that works on OSX, but did you make sure that the export that you did is visible to your development environment. Maybe you did the classic mistake of setting that in one terminal window, and then trying to do the work in completely unrelated proccess?
Nope, I tested that because I thought I was being an idiot. but moving it into the system /usr/local/lib worked.
Which tends to infuriate me but that's why I use linux for most of my java development. 😉
thanks for replying. it works so I can move forward. Appreciate the reply.
@jduhamel you're welcome. please do give feedback!
Will do, I'm working through a bunch of the blog posts in the hope that I can use clojure as a quick prototyping lang for some machine learning.