On Sonntag 10 Mai 2009, Vincent Favre-Nicolin wrote:
>       Hi,
>
>   I'm trying this on kubuntu 9.04 with stock gcc 4.3 (which so far has
> worked for me), boost 1.37 and CUDA 2.2.
>
>   I configured using:
>
> python configure.py --boost-python-libname=boost_python-mt
> --boost-thread-libname=boost_thread-mt
>
>   Compilation & installation are OK, but there seems to be a problem with
> _driver.so:
>
> vinc...@quad:~/linux/pycuda-0.93rc1$ python test/test_driver.py
> Traceback (most recent call last):
>   File "test/test_driver.py", line 3, in <module>
>     import pycuda.autoinit
>   File
> "/usr/local/lib/python2.6/dist-packages/pycuda-0.93rc1-py2.6-linux-x86_64.e
>gg/pycuda/autoinit.py", line 1, in <module> import pycuda.driver as cuda
>   File
> "/usr/local/lib/python2.6/dist-packages/pycuda-0.93rc1-py2.6-linux-x86_64.e
>gg/pycuda/driver.py", line 1, in <module> from _driver import *
> ImportError:
> /usr/local/lib/python2.6/dist-packages/pycuda-0.93rc1-py2.6-linux-x86_64.eg
>g/pycuda/_driver.so: undefined symbol: cuMemHostAlloc

Try the command

$ ldd /usr/local/lib/python2.6/dist-packages/pycuda-0.93rc1-py2.6-linux-
x86_64.egg/pycuda/_driver.so

and see if you're inadvertently linking against a CUDA 2.1 library. That 
symbol *should* be there in 2.2.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to