Hi Freddie, Freddie Witherden <[email protected]> writes: > On 30/11/15 04:43, Andreas Kloeckner wrote: >> I believe I've just fixed building against CL 1.1 in git master. It'd be >> great if you could try and let me know how it goes. > > Using e12f38a and inside of a Python 3.4 virtualenv and doing: > "[snip]/pyfr-venv/lib/python3.4/site-packages/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/compyte/ndarray/test_gpu_ndarray.py", > line 314 > print shp, dtype, offseted, order1, order2 > ^ > SyntaxError: Missing parentheses in call to 'print'
These are harmless--this part of compyte is part of Fréderic and Arnaud's array code generation bits and is not used in PyOpenCL. > Despite these errors it does appear to install. However, upon importing: > >>>> import pyopencl as cl > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "[snip]/pyfr-venv/lib/python3.4/site-packages/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/__init__.py", > line 35, in <module> > import pyopencl.cffi_cl as _cl > File > "[snip]/pyfr-venv/lib/python3.4/site-packages/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/cffi_cl.py", > line 36, in <module> > from pyopencl._cffi import ffi as _ffi > ImportError: > [snip]/pyfr-venv/lib/python3.4/site-packages/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/_cffi.cpython-34.so: > undefined symbol: create_image_from_desc Should be fixed. Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
