On Sonntag 14 Dezember 2008, Jyh-Shyong Ho wrote:
I just installed pycuda-0.90.2 on my computer and I got the
error message when I ran the program test_drive.py:
Traceback (most recent call last):
File "test_driver.py", line 2, in <module>
import pycuda.driver as drv
egg/pycuda/driver.py", line 1, in <module> from _driver import *
gg/pycuda/_driver.so: undefined symbol:
Likely you have system boost headers installed (like in /usr/include). These
probably got picked up for the build and then ended up mismatching those of a
separately installed newer boost. Just deinstall the system-wide boost dev
stuff using rpm.
If that's not the case, then check with
that the right boost library is getting picked up and report back.
Also, why use an old version (0.90.2) of PyCuda? 0.91.1 is out and fixes
numerous bugs. (and has more features)