On Sat, 7 Jan 2012 18:15:19 +0000 (UTC), ZoltánVörös <[email protected]> wrote:
> 
> > > ----------------------------------------------------------------------------
> > > Sorry, your build failed. Try rerunning configure.py with different
> > > options.
> > 
> > Was that the entire error message? (It shouldn't be.)
> > 
> > Andreas
> 
> Thanks for the reply! I am one step further down the road now. The install
> script runs without errors, but when I try to load the module from python, it
> complains that libcurand is not found:
> 
> import pycuda.driver as pycuda
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/
> pycuda-2011.2.2-py2.7-linux-x86_64.egg/pycuda/driver.py",
> line 2, in <module>
>     from pycuda._driver import *
> ImportError: libcurand.so.4: cannot open shared object file: No such file or
> directory
> 
> I have the library in /usr/local/cuda/lib64, so I guess, I only need to 
> create a
> link to this file. Where should that link be located?

Simply say

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

and this particular issue should be solved.

HTH,
Andreas

Attachment: pgpgdkYTgj2hK.pgp
Description: PGP signature

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

Reply via email to