thanks. will do that (actually, i switched to intel since i am currently testg on cpu and that is fine).
in case it wasn't clear, it is installed in the standard location which, on linux, has changed to /opt. so in the future you might also want to support auto-detetcing there. andrew On Mon, Sep 26, 2011 at 01:48:28PM +0200, Tomasz Rybak wrote: > Dnia 2011-09-26, pon o godzinie 08:05 -0300, andrew cooke pisze: > > 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 > > gcc could not find the file CL/cl.h > It is in directory in which you have extracted AMD APP, e.g. > $ ls /usr/local/AMD-APP-SDK-v2.5-RC2-lnx64/include/ > CAL CL GL OVDecode > > You need to point this directory to PyOpenCL configure, like this: > ./configure.py --boost-python-libname=boost_python-py --cl-enable-gl > --cl-inc-dir=/usr/local/AMD-APP-SDK-v2.5-RC2-lnx64/include/ > > Warning - this is one long line! > > Hope it helps. > > Regards. > > -- > Tomasz Rybak <[email protected]> GPG/PGP key ID: 2AD5 9860 > Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 > http://member.acm.org/~tomaszrybak _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
