[PyCuda] test_driver.py problem

Andreas Klöckner lists at informa.tiker.net
Mon Dec 15 05:53:06 PST 2008


Hi Jyh-Shyong,

first off, for your own benefit and that of "posterity", please keep the list 
cc'd on your replies.

On Sonntag 14 Dezember 2008, you wrote:
> Thanks for your reply, I removed the boost and boost-devel packages
> which come with
> OpenSuSE11.0 and installed boost_1.37 from source. I also downloaded and
> installed
> PyCuda 0.91.1. Here is the output of command
>
> ldd
> /usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg
>/pycuda/_driver.so
>
> libboost_python-gcc43-mt-1_37.so.1.37.0 =>
> /usr/local/lib/libboost_python-gcc43-mt-1_37.so.1.37.0 (0x00007fbbbf9a3000)
[snip]
> File
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.eg
>g/pycuda/driver.py", line 1, in <module>
> from _driver import *
> ImportError:
> /usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg
>/pycuda/_driver.so: undefined symbol:
> _ZN5boost6python9converter8registry9push_backEPFPvP7_objectEPFvS5_PNS1_30rv
>alue_from_python_stage1_dataEENS0_9type_infoE
>
> What might be the problem? I also replaced Cuda 2.1 beta with Cuda 2.0
> since we have S1060 and S1070
> GPU systems installed.

Weird. Quick request before we move into debugging mode: Please do 'rm -Rf 
build' in the PyCuda directory, then reinstall and try again. Distutils is not 
exactly good at figuring out when it needs to recompile stuff.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20081215/d39b69f9/attachment-0001.pgp>


More information about the PyCUDA mailing list