Title: Any instructions for mining on Ubuntu with a HD 5970? Post by: Fractality on February 11, 2011, 07:31:17 PM 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 (http://wiki.tiker.net/PyOpenCL/Installation/Linux/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 (http://mathnathan.com/2010/08/30/opencl/comment-page-1/) 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 Title: Re: Any instructions for mining on Ubuntu with a HD 5970? Post by: Raulo on February 11, 2011, 08:34:47 PM 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 Title: Re: Any instructions for mining on Ubuntu with a HD 5970? Post by: Mahkul on February 11, 2011, 09:49:43 PM 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. Title: Re: Any instructions for mining on Ubuntu with a HD 5970? Post by: Fractality on February 11, 2011, 10:53:56 PM 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.
|