My goal is to speed up my python FEA (finite elements analysis) with my
quadro GPU. I however have issues when I import pycuda.autoinit or
pycuda.driver into my python code. See the example from my Console:

**code
In [6] import pycuda.autoinit
Traceback (most recent call last):

  File "<ipython-input-7-78816ba4a0fc>", line 1, in <module>
    import pycuda.autoinit

  File
"/home/bram/.anaconda3/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/autoinit.py",
line 2, in <module>
    import pycuda.driver as cuda

  File
"/home/bram/.anaconda3/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/driver.py",
line 5, in <module>
    from pycuda._driver import *  # noqa

ImportError: libcurand.so.8.0: cannot open shared object file: No such file
or directory
/***code

Some details of my setup:
- HP Zbook Studio G3 (Quadro M1000M) Ubuntu 18.04
- Cuda 9.1 (.run installer)(I added the path variables to ~/.bashrc
- nvidia-driver-390 as driver
pycuda 2017.1 (from anaconda)

I've tried the solutions proposed by people encountering similar issues when
using tensorflow-gpu: It was proposed to make a softlink from
libcurand.se.8.0 to the libcurand.se.9.1 using the terminal: 
"user@device:~$ sudo ln -s libcublas.so.9.1 libcublas.so.8.0" This did not
help however.

I've checked the installation of CUDA by running a simple vectorAdd example
in Exlips. That worked without any issues and when profiling it showed that
the gpu was working as expected.

I probably made a mistake somewhere and tell me if you need more information





--
Sent from: http://pycuda.2962900.n2.nabble.com/

_______________________________________________
PyCUDA mailing list
[email protected]
https://lists.tiker.net/listinfo/pycuda

Reply via email to