Andreas Klöckner 提到:
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

Dear Andreas,

I found that I made a mistake in defining the boost include directory, with the correct directory
path, now the test_driver.py works normally.  Thanks.

Jyh-Shyong Ho


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

Reply via email to