[PyOpenCL] Install failure with AMD APP 2.5
andrew cooke
andrew at acooke.org
Mon Sep 26 04:05:11 PDT 2011
Hi,
I've not used pyopencl before, and have little experience with AMD's OpenCL
(more with Nvidia's) so forgive me if I'm mistake here, but it seems that the
most recent AMD release has chnaged location and, as a consequence, pyopencl
fails to install (can't find the header files).
For more information from AMD see here -
http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx - where
it says
The new OpenCL™ ICD model changes the locale for vendor-specific libraries
under Linux® from /usr/lib/OpenCL/vendors to /etc/OpenCL/vendors. If you are
upgrading from ATI Stream SDK v2.0, note this important change.
And this is the error I am seeing on install:
Installing collected packages: pyopencl
Running setup.py install for pyopencl
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
building '_cl' extension
gcc -pthread -fwrapv -Wall -O3 -DNDEBUG -fPIC -DPYGPU_PACKAGE=pyopencl
-DBOOST_PYTHON_SOURCE=1 -DPYOPENCL_USE_DEVICE_FISSION=1
-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Dboost=pyopenclboost
-DPYGPU_PYOPENCL=1 -Ibpl-subset/bpl_subset
-I/home/andrew/projects/personal/kultrung/env/lib/python3.2/site-packages/numpy/core/include
-I/home/andrew/projects/personal/kultrung/env/lib/python3.2/site-packages/numpy/core/include
-I/usr/local/include/python3.2m -c src/wrapper/wrap_cl.cpp -o
build/temp.linux-x86_64-3.2/src/wrapper/wrap_cl.o
In file included from src/wrapper/wrap_cl.cpp:1:0:
src/wrapper/wrap_cl.hpp:22:19: fatal error: CL/cl.h: No such file or
directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Any suggestions?
Thanks,
Andrew
More information about the PyOpenCL
mailing list