Greetings, I write to ask guidance with a problem I'm encountering in
running the test_driver.py. I've followed the excellent PyCUDA and
Boost installation instructions, with GCC 4.1.2 (which caused a minor
hiccup) and Python 2.5.2 provided by the Sage package, and everything
has compiled fine so far. Upon running test_driver.py (via "sage
-python test_driver.py"), I get the following error:
Traceback (most recent call last):
File "test_driver.py", line 3, in <module>
import pycuda.autoinit
File
"/nfs/14/osu5244/sage-3.2.2-ubuntu64bit-opteron-x86_64-Linux/local/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux-x86_64.egg/pycuda/autoinit.py",
line 1, in <module>
import pycuda.gpuarray as gpuarray
File
"/nfs/14/osu5244/sage-3.2.2-ubuntu64bit-opteron-x86_64-Linux/local/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux-x86_64.egg/pycuda/gpuarray.py",
line 3, in <module>
import pycuda.elementwise as elementwise
File
"/nfs/14/osu5244/sage-3.2.2-ubuntu64bit-opteron-x86_64-Linux/local/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux-x86_64.egg/pycuda/elementwise.py",
line 1, in <module>
import pycuda.driver as drv
File
"/nfs/14/osu5244/sage-3.2.2-ubuntu64bit-opteron-x86_64-Linux/local/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux-x86_64.egg/pycuda/driver.py",
line 1, in <module>
from _driver import *
ImportError:
/nfs/14/osu5244/bin/boost/lib/libboost_python-gcc41-mt-1_38.so.1.38.0:
undefined symbol: Py_InitModule4
and I am unable to find any reference to CUDA/PyCUDA and this
Py_InitModule4. Any assistance is greatly appreciated, thank you!
Ahmed
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net