On Fri, 30 Dec 2011 12:57:18 -0800, Lewis Anderson <[email protected]> 
wrote:
> Hello,
> 
> In the interest of improved performance, I am moving to a desktop (running
> Ubuntu 11.10) with a Geforce 7600 GT. I installed the nvidia cuda toolkit
> 4.0 and PyOpenCL for Python2.7. However, when I import PyOpenCL, I get
> "undefined symbol: clGetProgramInfo". Any ideas on how to solve this?
> 
> landerson@lewis-anderson-desktop:~/Code$ python
> Python 2.7.2+ (default, Oct  4 2011, 20:03:08)
> [GCC 4.6.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyopencl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/pyopencl-2011.2-py2.7-linux-i686.egg/pyopencl/__init__.py",
> line 4, in <module>
>     import pyopencl._cl as _cl
> ImportError:
> /usr/local/lib/python2.7/dist-packages/pyopencl-2011.2-py2.7-linux-i686.egg/pyopencl/_cl.so:
> undefined symbol: clGetProgramInfo
> >>>

Sounds like a CL header/library mismatch. Make sure to 'rm -Rf build'
once you've fixed the root cause, before you rebuild pyopencl.

Andreas

Attachment: pgpcXgmJERzog.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to