Fork me on GitHub
#uncomplicate
<
2018-03-14
>
rustam.gilaztdinov10:03:59

@blueberry hello! I want to run tests on clojurecuda library on ubuntu-machine with 9 cuda

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
but tests failed with this exception
Stack trace from the attempt to load the library as a resource:
java.lang.UnsatisfiedLinkError: /tmp/libJNvrtc-0.9.0-linux-x86_64.so: libnvrtc.so.9.1: cannot open shared object file: No such file or directory
Does that happen because of jcuda related to cuda 9.1 ? And if so — how can I fix that? thx

rustam.gilaztdinov10:03:43

In /usr/local/cuda-9.0/lib64/ I have libnvrtc.so -> libnvrtc.so.9.0*

rustam.gilaztdinov10:03:59

And I use clojurecuda-0.4.0-SNAPSHOT version from github

blueberry10:03:08

@rustam.gilaztdinov You'd have to install CUDA 9.1 for now. In a few days/weeks, there'd also be a way to also use it with CUDA 9.0, but for now you have to use 9.1 on Linux.