Bitcoin Forum
December 03, 2016, 01:52:21 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to upgrade SDK from 2.1 to 2.4 Ubuntu  (Read 2807 times)
MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 10, 2011, 01:51:00 AM
 #1

Code:
1) wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz

2) sudo tar xvfz AMD-APP-SDK-v2.4-lnx64.tgz -C /opt

3) sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz -C /

4) cd pyopencl-0.92

5) ./configure.py --cl-inc-dir=/opt/AMD-APP-SDK-v2.4-lnx64/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64


6) Add this to miner starting script:
export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64



1H9R8bkkPgmMkgiPEWPAZku4QM8nC6zvMW

1480773141
Hero Member
*
Offline Offline

Posts: 1480773141

View Profile Personal Message (Offline)

Ignore
1480773141
Reply with quote  #2

1480773141
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480773141
Hero Member
*
Offline Offline

Posts: 1480773141

View Profile Personal Message (Offline)

Ignore
1480773141
Reply with quote  #2

1480773141
Report to moderator
1480773141
Hero Member
*
Offline Offline

Posts: 1480773141

View Profile Personal Message (Offline)

Ignore
1480773141
Reply with quote  #2

1480773141
Report to moderator
MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 10, 2011, 11:15:31 AM
 #2

Anyone?  Cry

burtyb
Jr. Member
*
Offline Offline

Activity: 45



View Profile WWW
June 10, 2011, 11:32:36 AM
 #3

It probably depends what else you're using.

I use pyopencl which needs to be recompiled against the SDK when it's changed, but other than that I only change the path to the SDK.

ChrisB.

MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 10, 2011, 11:53:02 AM
 #4

It probably depends what else you're using.

I use pyopencl which needs to be recompiled against the SDK when it's changed, but other than that I only change the path to the SDK.

ChrisB.
Ah, I think you're on to something,
I tried to run configure.py on pyopencl-0.92 with ./configure.py --cl-inc-dir=/opt/AMD-APP-SDK-v2.4-lnx64/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
but it complained to me about already being configured, I assume from the previous version and I really don't know what to do... any suggestions for a noob?  Cheesy

Thanks

burtyb
Jr. Member
*
Offline Offline

Activity: 45



View Profile WWW
June 10, 2011, 11:56:05 AM
 #5

Do what it tells you to do and remove siteconf.py, then re-run configure.py/make/make install.

ChrisB.

MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 10, 2011, 12:07:01 PM
 #6

Thanks man, I did what you said above and it configured without errors (as far as I could see)

I replaced this: export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/
with: export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/

but for some reason my miner wont pickup the different SDK version giving me the errors below, any ideas?

Traceback (most recent call last):
  File "phoenix.py", line 123, in <module>
    miner.start(options)
  File "/home/buddy/phoenix-1.48/Miner.py", line 75, in start
    self.kernel = self.options.makeKernel(KernelInterface(self))
  File "phoenix.py", line 112, in makeKernel
    self.kernel = kernelModule.MiningKernel(requester)
  File "kernels/phatk/__init__.py", line 132, in __init__
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

thanks

MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 10, 2011, 05:50:59 PM
 #7

If anyone can help me get this sorted I will offer a small bounty for your trouble.

MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 11, 2011, 07:16:35 PM
 #8

Bump, I still cant it to work.

MiningBuddy
Moderator
Legendary
*
Offline Offline

Activity: 1058


฿itcoin ฿itcoin ฿itcoin


View Profile
June 12, 2011, 10:39:08 AM
 #9

 Cheesy Well don't I feel silly, after looking at it again I got it to work and have updated OP with a short guide on how others can do the same.

minerX
Jr. Member
*
Offline Offline

Activity: 56


View Profile
June 12, 2011, 11:13:42 AM
 #10

Cheesy Well don't I feel silly, after looking at it again I got it to work and have updated OP with a short guide on how others can do the same.

I just used the instructions from the 11.04 guide.  I went back and did the steps that were missing.   However you need to use --platform when using POCLBM. 

Not sure if other miners support --platform though.
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!