PyCUDA fail and Cython win

I tried yet again to get PyCUDA working and failed. Getting an error that says the _driver module in pycuda is not there. The tips on installing that I’ve seen failed to solve the problem, so I’ll put this off for another time.

I can get CUDA working in C++ but I’m not too familiar with C++ and seem to always hit a wall when trying to use it. Always some package or library not found.

I did get Cython and scipy.weave working. If I need a speedup I guess this is the way to go for now.

When compiling the cython *.pyx file I got a error: Unable to find vcvarsall.bat
Typing SET VS90COMNTOOLS=%VS100COMNTOOLS% fixed this problem. A tip I found on stackoverflow that guides cython to my Visual C++ 2010 install instead of looking for 2008. After doing this, I got a different error, error: command ‘mt.exe’ failed with exit status 31 but it completed building the *.pyd file and I was then able to import and use it.

It works just like the tutorial at http://docs.cython.org/src/quickstart/build.html says except for having to enter the SET command before building.