On Mittwoch 29 April 2009, Brent Pedersen wrote: > hi, i've never tried cuda or pycuda before, but i'm trying now on a > clean system with ubuntu 9.04. > i downloaded the install script for linux-64 ubuntu 8.04 here: > http://www.nvidia.com/object/cuda_get.html > > will that work for 9.04? must one wait for the 9.04 version to appear? > or are sources available? > > for now, i get cuda and pycuda to install but when i try it out, i see > the output below. > any ideas on what i can try? > thanks, > -brent > > $ python -c "import pycuda.autoinit" > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/usr/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux-x86_64.egg/pycuda >/autoinit.py", line 5, in <module> > cuda.init() > Boost.Python.ArgumentError: Python argument types in > pycuda._driver.init() > did not match C++ signature: > init(unsigned int flags=0)
Something seems fishy here: That snippet says "python2.5" in various places, but I seem to recall that the default Python version in 9.04 should be 2.6. Can you shed some light here? This looks like an issue with Boost.Python--the flags argument default assignment isn't recognized somehow. Also, can you send the output of ldd /usr/lib/python2.5/site-packages/pycuda-0.92-py2.5-linux- x86_64.egg/pycuda/_internal.so What version of boost are you using? Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
