On Sat, 09 Apr 2011 20:44:56 +0400, akira <[email protected]> wrote: > Hi, > > I've a problem with installing pycuda-0.94.2 on Ubuntu10.10 > > Commands: > > $ ./configure.py --cuda-root=/usr/local/cuda --cudadrv-lib-dir=/usr/lib > --boost-inc-dir=/usr/include --boost-lib-dir=/usr/lib --cuda-enable-gl > --boost-compiler=gcc-4.4 --boost-python-libname=boost_python-mt > --boost-thread-libname=boost_thread-mt > $ make -j 4 > $ sudo make install > > complete successfully but the command `make tests` fails: > > echo "running tests" > running tests > find ./test -type f -name "*.py" -exec python {} \; > Traceback (most recent call last): > File "./test/test_driver.py", line 4, in <module> > from pycuda.tools import mark_cuda_test > File > "/usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/tools.py", > > line 30, in <module> > import pycuda.driver as cuda > File > "/usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/driver.py", > > line 1, in <module> > from pycuda._driver import * > ImportError: > /usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64. > egg/pycuda/_driver.so: undefined symbol: cuStreamDestroy_v2 > > Here's some additional info: > > $ ldd > /usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/_driver.so > linux-vdso.so.1 => (0x00007fff71fff000) > libcuda.so.1 => /usr/lib/libcuda.so.1 (0x00007f9828f3c000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9828c36000) > libm.so.6 => /lib/libm.so.6 (0x00007f98289b2000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f982879c000) > libpthread.so.0 => /lib/libpthread.so.0 (0x00007f982857f000) > libc.so.6 => /lib/libc.so.6 (0x00007f98281fb000) > libz.so.1 => /lib/libz.so.1 (0x00007f9827fe3000) > libdl.so.2 => /lib/libdl.so.2 (0x00007f9827ddf000) > /lib64/ld-linux-x86-64.so.2 (0x00007f9829d4b000) > > $ ls -l /usr/lib/libcuda.so.1 > lrwxrwxrwx 1 root root 20 2011-04-09 15:35 /usr/lib/libcuda.so.1 -> > libcuda.so.260.19.44 > > $ nm /usr/lib/libcuda.so.260.19.44 > 0000000000a75970 b cudbgIpcFlag > > > I've installed cudatoolkit and video driver using *.run files downloaded > from nvidia site: > > cudatoolkit_4.0.13_linux_64_ubuntu10.10.run > NVIDIA-Linux-x86_64-260.19.44.run
You're using 4.0 CUDA headers, but your libcuda.so is much older (260.19 is fairly ancient). That's the reason for the error you're getting. Upgrading your display driver should help. Andreas
pgpJlTeqQyrre.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
