Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: linenoise on June 22, 2011, 06:51:04 PM



Title: opensuse 11.4 issues with opencl
Post by: linenoise on June 22, 2011, 06:51:04 PM
I have set up ubuntu for mining before but I needed an opensuse system for work.
The system has dual 6970s with a MSI board. I installed AMD SDK 2.4 and the latest catalyst drivers. As opensuse is a default supported platform for ATI drivers it was a piece of cake.

The system works alright for X, web browser, etc.
aticonfig --list-adapters shows the cards.
clinfo only shows the CPU.  I thought this must be a driver issue so I tried the last few catalyst drivers but same issues.

It's a head scratcher and any suggestions would be helpful.


Title: Re: opensuse 11.4 issues with opencl
Post by: indicasteve on June 23, 2011, 09:56:21 AM
I'm running opensuse 11.4 too...I installed that webcl firefox addon and used the web based miner at kradminer.com.  Maybe try that.


Title: Re: opensuse 11.4 issues with opencl
Post by: nomnomnom on June 23, 2011, 11:07:26 AM
I am not running suse, but I would check if the needed enviroment variables for the SDK are set.
If they are not set you need to add something like this to your .bashrc or whatever shell you use:

(This is for 64bit, you have to adjust this for a 32bit system)
Code:
export AMDAPPSDKROOT=/path/to/your/AMD-APP-SDK-v2.4-lnx64
export AMDAPPSDKSAMPLEROOT=/path/to/your/AMD-APP-SDK-v2.4-lnx64
export LD_LIBRARY_PATH=$AMDAPPSDKROOT/lib/x86_64:

Not sure what the AMDAPPSDKROOT is for, the most important thing is that LD_LIBRARY_PATH contains the sdk path.




Title: Re: opensuse 11.4 issues with opencl
Post by: linenoise on June 26, 2011, 09:27:57 PM
I've got it working, so thought I'd post my experience

I ended up updating the entire system and then the driver worked fine. I did run into a few other problems I'll comment on here.

In order to install pyopencl I had to manually configure,compile,install the numpy lib. The prepacked python-numpy did not include everything for some reason.  If you install the package, be sure to remove it before installing it yourself. It will not necessarily overwrite the package files.

Some of the package names differ from ubuntu if you're used to those directions but that's not a huge deal.