Looks like it is a Ubuntu packaging problem. PyCUDA again worked once I did `sudo apt-get install nvidia-modprobe` as suggested here:


Thanks for your help Tomasz and Andreas, I'll try those debugging lines first if anything else comes up.


On Sun, Nov 2, 2014 at 1:46 AM, Tomasz Rybak <tomasz.rybak@post.pl> wrote:
Dnia 2014-11-01, sob o godzinie 17:01 -0700, Eric Larson pisze:
> 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.

It depends on how Ubuntu builds PyCUDA.
Check pycuda package dependencies:
$ apt-cache show python-pycuda
whether there is any dependency on package
with 5.5 in its name, or only 6.0 packages.


Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860