hello all,
I have heard great things about the pycuda, if only it would run. Here
is the output to the test_driver.py
$ python ./test_driver.py
Traceback (most recent call last):
File "./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.1-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.1-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.1-py2.6-linux-x86_64.egg/pycuda/_driver.so:
undefined symbol: cuMemAllocPitch_v2
$ ldd ./_driver.so
linux-vdso.so.1 => (0x00007fff80f56000)
libcuda.so.1 => /usr/lib/nvidia-current/libcuda.so.1
(0x00007fc378457000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc378143000)
libm.so.6 => /lib/libm.so.6 (0x00007fc377ebf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fc377ca8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc377a8b000)
libc.so.6 => /lib/libc.so.6 (0x00007fc377707000)
libz.so.1 => /lib/libz.so.1 (0x00007fc3774f0000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fc3772ec000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc379030000)
There were a couple of warnings when compiling about undefined
functions similar to this:
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC
-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp
-Ibpl-subset/bpl_subset -I/usr/local/cuda/include
-I/usr/lib/python2.6/dist-packages/numpy/core/include
-I/usr/include/python2.6 -c
bpl-subset/bpl_subset/libs/python/src/converter/from_python.cpp -o
build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/converter/from_python.o
bpl-subset/bpl_subset/libs/python/src/converter/from_python.cpp: In
function ‘boost::python::converter::rvalue_from_python_stage1_data
boost::python::converter::rvalue_from_python_stage1(PyObject*, const
boost::python::converter::registration&)’:
bpl-subset/bpl_subset/libs/python/src/converter/from_python.cpp:42:
warning:
‘data.boost::python::converter::rvalue_from_python_stage1_data::construct’
may be used uninitialized in this function
I did make sure that the boost libraries are installed but it kept
giving me an error about failing to search for the boost libraries. I
think there may be a bug in the way the setup.py search to check for
the boost libraries.
Any help would be much appreciated! I am looking forward to playing
around with pycuda.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda