Discussion:
RuntimeError: cuInit failed: no device
(too old to reply)
jade mackay
2010-03-18 23:44:33 UTC
Permalink
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device


Thanks,

Jade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100319/631e3a76/attachment.htm>
Mike Sarahan
2010-03-18 23:46:51 UTC
Permalink
Are you sure you have the CUDA driver installed? I don't think PyCUDA
would have successfully been built without it, but it's a start. Can
you run any of the NVIDIA CUDA test programs?
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
??File "<stdin>", line 1, in <module>
??File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
line 4, in <module>
?? ?cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Thanks,
Jade
_______________________________________________
PyCUDA mailing list
PyCUDA at host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
jade mackay
2010-03-23 01:37:27 UTC
Permalink
Hmm, yes, it's something like that. There appears to be a problem with my
CUDA install (or worse). The CUDA device query returns "There is no device
supporting CUDA.", entirely consistent with the pycuda.autoinit error
message. Thanks for your time.

Jade
Post by Mike Sarahan
Are you sure you have the CUDA driver installed? I don't think PyCUDA
would have successfully been built without it, but it's a start. Can
you run any of the NVIDIA CUDA test programs?
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
Post by jade mackay
line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Thanks,
Jade
_______________________________________________
PyCUDA mailing list
PyCUDA at host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100323/5b9209fc/attachment.htm>
jade mackay
2010-03-23 01:37:27 UTC
Permalink
Hmm, yes, it's something like that. There appears to be a problem with my
CUDA install (or worse). The CUDA device query returns "There is no device
supporting CUDA.", entirely consistent with the pycuda.autoinit error
message. Thanks for your time.

Jade
Post by Mike Sarahan
Are you sure you have the CUDA driver installed? I don't think PyCUDA
would have successfully been built without it, but it's a start. Can
you run any of the NVIDIA CUDA test programs?
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
Post by jade mackay
line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Thanks,
Jade
_______________________________________________
PyCUDA mailing list
PyCUDA at host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100323/5b9209fc/attachment-0001.htm>
Andreas Klöckner
2010-03-19 01:01:49 UTC
Permalink
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/
pycuda/autoinit.py", line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Permissions on the CUDA devices? /dev/nvidia*

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100318/d8ab91bc/attachment.pgp>
jade mackay
2010-03-18 23:44:33 UTC
Permalink
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device


Thanks,

Jade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100319/631e3a76/attachment-0001.htm>
Mike Sarahan
2010-03-18 23:46:51 UTC
Permalink
Are you sure you have the CUDA driver installed? I don't think PyCUDA
would have successfully been built without it, but it's a start. Can
you run any of the NVIDIA CUDA test programs?
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
??File "<stdin>", line 1, in <module>
??File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/pycuda/autoinit.py",
line 4, in <module>
?? ?cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Thanks,
Jade
_______________________________________________
PyCUDA mailing list
PyCUDA at host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
Andreas Klöckner
2010-03-19 01:01:49 UTC
Permalink
Post by jade mackay
I get the following error. Can anyone point me in the right direction to
resolve this?
import pycuda.autoinit
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/pycuda-0.93-py2.6-linux-x86_64.egg/
pycuda/autoinit.py", line 4, in <module>
cuda.init()
pycuda._driver.RuntimeError: cuInit failed: no device
Permissions on the CUDA devices? /dev/nvidia*

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100318/d8ab91bc/attachment-0001.pgp>
Loading...