Before I left work on Friday I checked to ensure that the packages in
Synaptic were all NVIDIA version 331 (I think). Even if the numbers are
right in Synaptic, I suppose there could still be a version mismatch
somewhere, so I'll check "dmesg" specifically on Monday.

FWIW I am pretty sure that the CUDA version jumped up from 5.5 (or 5.0?) in
14.04 up to CUDA 6.0 in 14.10. But I assume that PyCUDA is designed (and
tested) to be forward-compatible, so I doubt that's the problem.

Eric


On Fri, Oct 31, 2014 at 11:40 PM, Andreas Kloeckner <[email protected]
> wrote:

> 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
>
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to