Just to make sure: libcuda.so is provided along with the nvidia driver
while the other .so files (e.g. cudart, curand) are provided by
cudatoolkit, correct?

On Tue, May 22, 2012 at 3:54 PM, Thomas Wiecki <thomas_wie...@brown.edu> wrote:
> On Tue, May 22, 2012 at 2:04 PM, Andreas Kloeckner
> <li...@informa.tiker.net> wrote:
>> On Tue, 22 May 2012 13:55:36 -0400, Thomas Wiecki <thomas_wie...@brown.edu> 
>> wrote:
>>> Hi,
>>>
>>> I updated various packages (e.g. ugpraded cuda to 4, most recent
>>> pycuda, ubuntu nvidia-dev drivers) on ubuntu 11.10. Pycuda was working
>>> fine before, but after rebuilding and reinstalling the newest version
>>> I get:
>>>
>>> ImportError: 
>>> /usr/local/lib/python2.7/dist-packages/pycuda-2011.2.2-py2.7-linux-x86_64.egg/pycuda/_driver.so:
>>> undefined symbol: cuMemAllocPitch_v2
>>>
>>> When I import pycuda.gpuarray. Any ideas?
>>
>> Your CUDA headers don't match your installed libcuda.so. Check the
>> versions of both.
>
> Thanks, it was indeed caused by old cuda devel files floating around
> from a launchpad package I installed earlier. I think I cleaned all of
> that up and now only the cudatoolkit (4.1.28) is installed. However,
> now I get:
>
> ImportError: 
> /usr/local/lib/python2.7/dist-packages/pycuda-2011.2.2-py2.7-linux-x86_64.egg/pycuda/_driver.so:
> undefined symbol: cuTexRefSetAddress2D_v3
>
> /usr/lib/libcuda.so (which _driver.so is linked to) seems to have this
> symbol so I'm not sure why it can't be found. Any ideas?

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to