uncomplicate

jduhamel 2017-06-26T16:02:42.201223Z

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

jduhamel 2017-06-26T16:02:49.203912Z

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

2017-06-26T16:29:19.781104Z

@jduhamel OSX users reported that putting libiomp5 into the global lib directory helps in such cases.

jduhamel 2017-06-26T16:29:53.793473Z

Thanks, I'll give that a shot although it's kinda an oddity. It should pick it up on the dyn load path.

2017-06-26T16:31:55.838971Z

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?

2017-06-26T16:32:01.841232Z

@jduhamel

jduhamel 2017-06-26T16:33:49.879143Z

Nope, I tested that because I thought I was being an idiot. but moving it into the system /usr/local/lib worked.

jduhamel 2017-06-26T16:34:24.891776Z

Which tends to infuriate me but that's why I use linux for most of my java development. 😉

jduhamel 2017-06-26T16:36:34.937035Z

thanks for replying. it works so I can move forward. Appreciate the reply.

2017-06-26T16:47:12.163034Z

@jduhamel you're welcome. please do give feedback!

jduhamel 2017-06-26T16:47:45.174947Z

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.