Hi Rafael,

2 questions:
- Do you have CUDA setup? as in the driver installed and the Toolkit?
- Do you have an Optimus enabled card?  you may need to hit some magic bits
in the Bios and fuss around with Bumblebee, perhaps this may help:
http://cudageek.wordpress.com/2012/01/06/cuda-on-my-dell/

-Matthias.


On Sun, Feb 10, 2013 at 9:22 PM, Rafael Espericueta <
[email protected]> wrote:

> I used the ubuntu software center to install python-pycuda, but when I try
> to run:
>
>     examples/hello_gpu.py
>
> I get the error message:
>
>       cuda.init()
>       RuntimeError: cuInit failed: no device
>
> In trying to get to a starting point for programming the CUDA cores, I
> destroyed one Ubuntu system (I'll have to reinstall Ubuntu on that one).
> Now I don't want to mess up my new laptop too.  So this time I tried out
> the Ubuntu Software center instead of doing it all from the command line.
> I didn't really expect this to work (that would be too easy!), but it was
> worth a try.
>
> Any ideas?
>
> Thanks,
>
> -Rafael Espericueta
>  Professor of Mathematics
>  Bakersfield College
>
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://lists.tiker.net/listinfo/pycuda
>
>


-- 
Matthias Lee
IDIES/Johns Hopkins University
Performance @ Rational/IBM

[email protected]
[email protected]
(320) 496 6293

To know recursion, you must first know recursion.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to