Fork me on GitHub
#uncomplicate
<
2020-11-29
>
Tyler Hanks18:11:33

Hi, I'm not sure if this is the place to ask but I'm having some difficulty getting neanderthal to run on CUDA. Everything is working fine for native and OpenCL backends, but when I try to use CUDA, I get a java.lang.UnsatisfiedLinkError: /tmp/libJNvrtc-11.0.0-linux-x86_64.so: libnvrtc.so.11.0: cannot open shared object file: No such file or directory I'm on arch so I have nvidia and cuda installed through pacman and neanderthal added through lein. I also tried cloning clojurecuda and running the vector_add_test.clj example and got the same error. Hopefully someone knows what's going on, or let me know if I need to provide some more info. Thanks!

blueberry21:11:10

@teh.hanks You need to install CUDA 11.0 until neanderthal is upgraded to the latest CUDA 11.1 (which is the default on Arch Linux). ignore the cuda and cudnn packages in pacman.conf, and install the exact version 11.0 from the arch repository archive.

Tyler Hanks22:11:06

Ah that makes sense. All is working now, thank you!