Title: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 10, 2011, 01:51:00 AM Code: 1) wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz 6) Add this to miner starting script: export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 1H9R8bkkPgmMkgiPEWPAZku4QM8nC6zvMW Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 10, 2011, 11:15:31 AM Anyone? :'(
Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: burtyb on June 10, 2011, 11:32:36 AM 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. Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 10, 2011, 11:53:02 AM It probably depends what else you're using. Ah, I think you're on to something,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. 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? :D Thanks Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: burtyb on June 10, 2011, 11:56:05 AM Do what it tells you to do and remove siteconf.py, then re-run configure.py/make/make install.
ChrisB. Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 10, 2011, 12:07:01 PM 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 Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 10, 2011, 05:50:59 PM If anyone can help me get this sorted I will offer a small bounty for your trouble.
Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 11, 2011, 07:16:35 PM Bump, I still cant it to work.
Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: MiningBuddy on June 12, 2011, 10:39:08 AM :D 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.
Title: Re: How to upgrade SDK from 2.1 to 2.4 Ubuntu Post by: minerX on June 12, 2011, 11:13:42 AM :D 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. |