On Tue, 2 Aug 2011 19:05:33 -0400, "M.Gelman" <[email protected]> wrote: Non-text part: multipart/alternative > I have been trying to get pyopencl to work with my ati card and ati stream > for awhile. I followed the tutorial an was able to get a good compilation > using this script: > > python configure.py \ > --boost-inc-dir=/usr/include/boost \ > --boost-lib-dir=/usr/lib \ > --boost-python-libname=boost_python-mt-py26 \ > --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include \ > --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64 \ > --cl-libname=OpenCL > > However when I import pyopencl, I get: > > >>> import pyopencl > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/usr/local/lib/python2.6/dist-packages/pyopencl-2011.1.2-py2.6-linux-x86_64.egg/pyopencl/__init__.py", > line 4, in <module> > import pyopencl._cl as _cl > ImportError: > /usr/local/lib/python2.6/dist-packages/pyopencl-2011.1.2-py2.6-linux-x86_64.egg/pyopencl/_cl.so: > symbol clEnqueueWriteBufferRect, version OPENCL_1.1 not defined in file > libOpenCL.so with link time reference > > Its something probably simple however, I cannot get passed it. > > Here are my env vars: > export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.3-lnx64 > export ATISTREAMSDKSAMPLEROOT=/opt/ati-stream-sdk-v2.3-lnx64 > export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86_64:$LD_LIBRARY_PATH
Your OpenCL header does not match your OpenCL library. Check with $ ldd /usr/local/lib/python2.6/dist-packages/pyopencl-2011.1.2-py2.6-linux-x86_64.egg/pyopencl/_cl.so (one line) to see whether the library is the one you expect. HTH, Andreas PS: Please send email to pyopencl@, not pyopencl-owner@.
pgpXW3iWDTWhH.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
