It seems that the import error was similar to what was happening here:

http://pycuda.2962900.n2.nabble.com/ImportError-No-module-named-driver-td4099529.html

Changing out of the install director seems to have fixed the issue and it
seems I can run the demo examples.

For posterity, what I did was:

Following these instructions:
http://sn0v.wordpress.com/2012/12/07/installing-cuda-5-on-ubuntu-12-04/

- Upgrade drivers
- Upgrade to Cuda 5.0
- Installed pycuda using this configuration:
./configure.py --python-exe=/usr/bin/python --cuda-root=/usr/local/cuda
--cudadrv-lib-dir=/usr/lib --boost-inc-dir=/usr/include
--boost-lib-dir=/usr/lib --boost-python-libname=boost_python-mt-py27
--boost-thread-libname=boost_thread-mt --no-use-shipped-boost
- Changed out of the install directory and ran demo.py and gpu_hello.py




--
View this message in context: 
http://pycuda.2962900.n2.nabble.com/PyCuda-Ubuntu-12-04-issues-tp7575064p7575068.html
Sent from the PyCuda mailing list archive at Nabble.com.

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to