Title: Debian+poclbm+ATI+SDK - Fixing OPENCL errors while downgrading SDK 2.2 to 2.1 Post by: plarkplark on July 03, 2011, 07:17:42 AM I downgraded SDK 2.2 to 2.1, and got this
Code: Traceback (most recent call last): File "./poclbm.py", line 3, in <module> import pyopencl as cl File "/usr/local/lib/python2.6/dist-packages/pyopencl-0.92-py2.6-linux-x86_64.egg/pyopencl/__init__.py", line 3, in <module> import pyopencl._cl as _cl ImportError: /opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/libOpenCL.so: version `OPENCL_1.1' not found (required by /usr/local/lib/python2.6/dist-packages/pyopencl-0.92-py2.6-linux-x86_64.egg/pyopencl/_cl.so) There is a topic on the forum, but I can't reply there. Anyway, this is the solution: You need to run a make in the SDK folder, Code: cd /opt/ati-stream-sdk-v2.1-lnx64/ Code: cd pyopencl-0.92 Running version 2.1 takes only 1% CPU, while version 2.2 takes 100%. This saves my 25% (50watt) of power for every mining node. Hope this helps somebody. |