Discussion:
[PyCUDA] Error after Updating from Ubuntu 13.10 to 14.04
elodw
2014-07-25 12:29:55 UTC
Permalink
Hello,

after updating
i get the following errror runing a pycuda-program

import pycuda.autoinit
File "/usr/lib/python2.7/dist-packages/pycuda/autoinit.py", line 4,
in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device

Ernst
Bruce Labitt
2014-07-25 13:06:06 UTC
Permalink
For what it is worth, my 13.10 working pycuda install failed after
upgrading to 14.04. Ubuntu's and Debian's installation directories do
not match nvidias so it is hard to unravel what's missing.

Autoinit fails for me in the same way. The version of cuda on 1404 is
5.5.

Bruce
Post by elodw
Hello,
after updating
i get the following errror runing a pycuda-program
import pycuda.autoinit
File "/usr/lib/python2.7/dist-packages/pycuda/autoinit.py", line 4, in
<module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Ernst
_______________________________________________
PyCUDA mailing list
PyCUDA at tiker.net
http://lists.tiker.net/listinfo/pycuda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20140725/cd3fd3b7/attachment.html>
Lev Givon
2014-07-25 15:18:19 UTC
Permalink
Post by elodw
Hello,
after updating
i get the following errror runing a pycuda-program
import pycuda.autoinit
File "/usr/lib/python2.7/dist-packages/pycuda/autoinit.py", line
4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Ernst
Check whether the system is running the nouveau drivers rather than the nvidia
ones; I've been able to successfully use the stock Ubuntu python-pycuda package
with the nvidia-331-updates driver package installed.
--
Lev Givon
Bionet Group | Neurokernel Project
http://www.columbia.edu/~lev/
http://lebedov.github.io/
http://neurokernel.github.io/
elodw
2014-07-27 09:30:55 UTC
Permalink
On 25.07.2014 17:18, Lev Givon wrote:

Thank You very much Lev
Post by Lev Givon
Check whether the system is running the nouveau drivers rather than
the nvidia ones; I've been able to successfully use the stock Ubuntu
python-pycuda package with the nvidia-331-updates driver package
installed.
Upgrading Nvidia-driver from 304.117 to 331.38
solves the pyCUDA-Problem
but now there are light Graphic-Problems.

Ernst
Lev Givon
2014-07-27 11:41:27 UTC
Permalink
Post by elodw
Thank You very much Lev
Post by Lev Givon
Check whether the system is running the nouveau drivers rather
than the nvidia ones; I've been able to successfully use the stock
Ubuntu python-pycuda package with the nvidia-331-updates driver
package installed.
Upgrading Nvidia-driver from 304.117 to 331.38
solves the pyCUDA-Problem
but now there are light Graphic-Problems.
You may need to play around with the driver settings using nvidia-settings.
--
Lev Givon
Bionet Group | Neurokernel Project
http://www.columbia.edu/~lev/
http://lebedov.github.io/
http://neurokernel.github.io/
Loading...