I think "--device" starts in 1, but you put 0, and then you got an error.
nope, there is no libopencl.so in /usr/lib but why?
I got this error (similar of yours):
File "poclbm.py", line 3, in
import pyopencl as cl
File "/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-x86_64.egg/pyopencl/__init__.py", line 3, in
import pyopencl._cl as _cl
ImportError: libOpenCL.so: cannot open shared object file: No such file or directory
when I made a script in ubuntu 11.04. But manually in the terminal its run normal. I do not kown why this happen. Maybe we need to put
echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
and
./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64
in other place too. Anyone can help?
o.0