Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-26 Thread Thomas Wiecki
I can't get the CodePy Thrust example to work: Traceback (most recent call last): File thrust_demo.py, line 95, in module c = module.host_entry(b) TypeError: No registered converter was able to produce a C++ rvalue of type unsigned int from this Python object of type DeviceAllocation I

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-26 Thread Thomas Wiecki
I tried using the shipped version (bpl_subset) but couldn't get it to work somehow (how is one supposed to get the lib files?). I now set USE_SHIPPED_BOOST = False and that seems to do the trick with the ubuntu 11.10 boost packages 1.46.1 Thanks, Thomas P.S. I found the whole bpl_subset not

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-26 Thread Andreas Kloeckner
On Sat, 26 May 2012 14:59:28 -0400, Thomas Wiecki thomas_wie...@brown.edu wrote: I tried using the shipped version (bpl_subset) but couldn't get it to work somehow (how is one supposed to get the lib files?). I now set USE_SHIPPED_BOOST = False and that seems to do the trick with the ubuntu

Re: [PyCUDA] ImportError: No module named _driver

2012-05-26 Thread Andreas Kloeckner
On Fri, 25 May 2012 13:46:53 -0700 (PDT), maxrider11 ssethi...@gmail.com wrote: hi blahblahblah, I had same error, and tried your way. /I did this :/ user@ubuntu:~/pycuda-2011.2.2$ python Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 import pycuda.driver as cuda

Re: [PyCUDA] ImportError: No module named _driver

2012-05-26 Thread maxrider11
Thanks for response. CUDA was already installed in machine which i got. But, I see cudatoolkit_4.1.28_linux_64_rhel6.x.run in directory Downloads of prof's account. So, i guess its 64 bit. additional info: I just used GUI, and this happened: import pycuda.driver as cuda Traceback (most