Re: [PyCUDA] ImportError: No module named _driver

2012-05-27 Thread maxrider11
Download the 64-bit CUDA toolkit. Andreas Thanks for response. I see file cudatoolkit_4.1.28_linux_64_rhel6.x.run in directory 'Downloads' of prof's account. So, i guess its 64 bit. -- View this message in context:

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-27 Thread Apostolis Glenis
After google searching i found no -lboost_python-gcc43-mt so I suspect that if I change that in the linking command it would work without any problems. Did I do anything wrong with the installation of pycuda or codePy? (I think that codePy was installed when i installed copperhead). So I have two

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-27 Thread Thomas Wiecki
On Sun, May 27, 2012 at 1:25 PM, Apostolis Glenis apostgle...@gmail.com wrote: After google searching i found no -lboost_python-gcc43-mt so I suspect that if I change that in the linking command it would work without any problems. Did I do anything wrong with the installation of pycuda or

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-27 Thread Apostolis Glenis
I have no file or folder named ~/.aksetup-defaults.py. Maybe it is not installed in the home directory as Thomas suggested in my case. Maybe it has to do with the fact that I installed codepy with copperhead and not as a standalone. Maybe Bryan has some extra insight as to what might have

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-27 Thread Thomas Wiecki
You'll have to create it by copying it to that place, see my previous email: I fixed this by copying the site-config.py from the pycuda directory (created by configure.py) to ~/.aksetup-defaults.py On Sun, May 27, 2012 at 2:57 PM, Apostolis Glenis apostgle...@gmail.com wrote: I have no file or

Re: [PyCUDA] Compiling thrust code in pyCUDA

2012-05-27 Thread Bryan Catanzaro
The aksetup-defaults.py file is just a bunch of config information - where is the boost-python library, where are the boost include files, where is the CUDA compiler, etc. You can update/create it automatically when installing PyCUDA by using the --update-user (puts it in ~) or --update-global

Re: [PyCUDA] Memory error when running program more than once

2012-05-27 Thread Andreas Kloeckner
On Thu, 24 May 2012 09:57:38 -0700 (PDT), ErisDyschordia ki4...@gmail.com wrote: I have a program that I am running written in PyCuda, that works correctly the first time I run it. Because I am using a lot of fast little gpuarray functions, on a TON of different arrays, every time I finish