Fork me on GitHub
#data-science
<
2022-05-14
>
rende1114:05:05

Are there any successful examples of using 'Neanderthal' with mkl as a dependency (deps.edn) on mac OS? I'm using Catalina 10.15.7 and getting an error like something is missing or image not found. Also I tried install mkl separately - it didn't help. Hello-world example also doesn't work for me. My deps.edn:

{:deps {io.github.nextjournal/clerk {:mvn/version "0.7.418"}
        org.clojure/clojure {:mvn/version "1.11.1"}
        uncomplicate/neanderthal {:mvn/version "0.43.3"
                                  :exclusions [org.jcuda/jcuda-natives
                                               org.jcuda/jcublas-natives]}
        org.bytedeco/mkl-platform-redist {:mvn/version "2020.3-1.5.4"}}

 :aliases
 {:cider {:extra-deps {cider/cider-nrepl {:mvn/version "0.28.3"}}
          :main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}}

 :jvm-opts ^:replace ["-Dclojure.compiler.direct-linking=true"
                      "-XX:MaxDirectMemorySize=16g" "-XX:+UseLargePages"
                      "--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED"
                      "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED"]}

Dumch18:05:01

When I used pre-m1-mac, I only managed to run it with docker https://github.com/uncomplicate/neanderthal/pull/101/files

blueberry21:05:26

@U4U68ADKR did you disable SIP (as per Getting Started and/or github macOS issues) and do you have an Intel-based mac?

rende1107:05:37

I have Intel-based mac but I wouldn't like to disable SIP