Author

Topic: How to upgrade SDK from 2.1 to 2.4 Ubuntu (Read 3055 times)

newbie
Activity: 56
Merit: 0
June 12, 2011, 06: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.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
 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.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
Bump, I still cant it to work.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
If anyone can help me get this sorted I will offer a small bounty for your trouble.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
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
    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
newbie
Activity: 45
Merit: 0
Do what it tells you to do and remove siteconf.py, then re-run configure.py/make/make install.

ChrisB.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
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
newbie
Activity: 45
Merit: 0
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.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
Anyone?  Cry
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
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
Jump to: