Bitcoin Forum
September 26, 2017, 07:47:41 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Any instructions for mining on Ubuntu with a HD 5970?  (Read 1737 times)
Fractality
Jr. Member
*
Offline Offline

Activity: 44



View Profile WWW
February 11, 2011, 07:31:17 PM
 #1

Hi,

since the instructions for poclbm seem to work only for NVidia, I wonder if anybody has instructions for ATI cards?

I think I successfully installed the driver from ATI, rather than the ones that come with Ubuntu. I tried Stream API 2.2, but I only had installation instructions for 2.3. Basically all there is to do (for 2.3) is to unzip the sdk into some dir and point a couple of environment variables to it. I did that (putting the environment stuff into .bashrc for lack of knowing better), but if I try to run an example (like "CLinfo") I get

Quote
samples/opencl/bin/x86_64/CLInfo: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory

Not even sure if that is relevant.

So now how do I get pyopencl? I found these instructions for an older version of Ubuntu, but I don't think they can be correct, as for example I don't  have an ati-strem-sdk dir below /etc

Edit: I just followed instructions from this blog and added values for LIBRARY_PATH and C_INCLUDE_PATH to .bashrc. Now CLInfo runs - somehow the instructions for stream sdk 2.3 didn't mention these two.

Any pointers?

Thanks!


Björn

1K4noMkNgrPztyqtHCYd2CevsZ72FeYUKF
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1506412061
Hero Member
*
Offline Offline

Posts: 1506412061

View Profile Personal Message (Offline)

Ignore
1506412061
Reply with quote  #2

1506412061
Report to moderator
1506412061
Hero Member
*
Offline Offline

Posts: 1506412061

View Profile Personal Message (Offline)

Ignore
1506412061
Reply with quote  #2

1506412061
Report to moderator
1506412061
Hero Member
*
Offline Offline

Posts: 1506412061

View Profile Personal Message (Offline)

Ignore
1506412061
Reply with quote  #2

1506412061
Report to moderator
Raulo
Full Member
***
Offline Offline

Activity: 238


View Profile
February 11, 2011, 08:34:47 PM
 #2

samples/opencl/bin/x86_64/CLInfo: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory

Either incorrectly installed SDK or unset or incorrectly set LD_LIBRARY_PATH. See, the tutorial I've just written:
http://bitcointalk.org/index.php?topic=3359.msg47174#msg47174

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
Mahkul
Sr. Member
****
Offline Offline

Activity: 434


Every saint has a past. Every sinner has a future.


View Profile
February 11, 2011, 09:49:43 PM
 #3

samples/opencl/bin/x86_64/CLInfo: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory

Either incorrectly installed SDK or unset or incorrectly set LD_LIBRARY_PATH. See, the tutorial I've just written:
http://bitcointalk.org/index.php?topic=3359.msg47174#msg47174

I was getting that when I didn't specify the LIBRARY PATH. Just double check it for typos.
Fractality
Jr. Member
*
Offline Offline

Activity: 44



View Profile WWW
February 11, 2011, 10:53:56 PM
 #4

Thanks, just found your tutorial and it worked for the most part. Only I am not yet seeing the performance I expected, but at least the miner runs.

1K4noMkNgrPztyqtHCYd2CevsZ72FeYUKF
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!