Eric Larson <[email protected]> writes:

> PyCUDA worked perfectly on Ubuntu 14.04, but after upgrade to 14.10 I get
> the following in both Python 2 and Python 3:
>
>>>> import pycuda.autoinit
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/home/larsoner/.local/lib/python2.7/site-packages/pycuda-2014.1-py2.7-linux-x86_64.egg/pycuda/autoinit.py",
> line 4, in <module>
>     cuda.init()
> pycuda._driver.Error: cuInit failed: unknown
>
> This is the same on latest `master` (shown above) and using the version in
> the Ubuntu repos. I can manually compile and run at least this example
> (devicequery):
>
> http://www.cac.cornell.edu/vw/gpu/example_submit.aspx
>
> and my system is using the proprietary NVIDIA drivers, so CUDA appears to
> be configured properly. Has anyone else experienced this? I've reported the
> bug here as well:
>
> https://bugs.launchpad.net/ubuntu/+source/pycuda/+bug/1388217

Check if 'dmesg' reveals anything. You might have a mismatch between
libcuda.so and you driver. (If so, good job, Ubuntu.)

Andreas

Attachment: pgpf5szjtriOB.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to