Bitcoin Forum
May 08, 2024, 04:37:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Any instructions for mining on Ubuntu with a HD 5970?  (Read 1899 times)
Fractality (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0



View Profile WWW
February 11, 2011, 07:31:17 PM
Last edit: February 11, 2011, 07:49:21 PM by Fractality
 #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
1715143021
Hero Member
*
Offline Offline

Posts: 1715143021

View Profile Personal Message (Offline)

Ignore
1715143021
Reply with quote  #2

1715143021
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715143021
Hero Member
*
Offline Offline

Posts: 1715143021

View Profile Personal Message (Offline)

Ignore
1715143021
Reply with quote  #2

1715143021
Report to moderator
1715143021
Hero Member
*
Offline Offline

Posts: 1715143021

View Profile Personal Message (Offline)

Ignore
1715143021
Reply with quote  #2

1715143021
Report to moderator
1715143021
Hero Member
*
Offline Offline

Posts: 1715143021

View Profile Personal Message (Offline)

Ignore
1715143021
Reply with quote  #2

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

Activity: 238
Merit: 100


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
Merit: 250


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 (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0



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

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!