Bitcoin Forum
December 10, 2016, 08:58:33 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Debian+poclbm+ATI+SDK - Fixing OPENCL errors while downgrading SDK 2.2 to 2.1  (Read 1299 times)
plarkplark
Newbie
*
Offline Offline

Activity: 5


View Profile
July 03, 2011, 07:17:42 AM
 #1

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/
make
Now you can rebuild pyopencl

Code:
cd pyopencl-0.92
rm siteconf.py
./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64
make
sudo make install


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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!