>> (p.1)
    Author Topic: CentOS 5.5 Mining Guide for ATI/poclbm  (Read 19526 times)
    stickman (OP)
    Newbie
    *
    Offline Offline

    Activity: 18
    Merit: 0


    View Profile
    May 08, 2011, 02:34:29 AM
    Last edit: May 08, 2011, 08:10:23 AM by stickman
     #1

    So I've had a text file I've been using when setting up new miners under CentOS 5.5, and I figured I'd share it with the community.  Everyone seems to be using Ubuntu, which is great, but I've only run into problems when trying to get everything configured in Ubuntu.  For me, CentOS has been much easier than Ubuntu, so here goes:

    First off, when I install CentOS I choose only the Server GUI package group which I then customize by clicking the Customize Now radio button.  I then deselect everything under the Servers group, and make sure I select Development Libraries and Development Tools (or something like that).  This guide starts off after logging into the system after a fresh install.

    Install ATI Drivers:
    wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-4-x86.x86_64.run
    sh ati-driver-installer-11-4-x86.x86_64.run
    <go through the install process>
    aticonfig --adapter=all --initial --force


    Install and configure AMD APP SDK
    wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz
    tar -xf AMD-APP-SDK-v2.4-lnx64.tgz
    cd AMD-APP-SDK-v2.4-lnx64
    cp lib/x86_64/*lib64/
    cp icd-registration.tgz
    cd
    tar -xf icd-registration.tgz
    rm -f icd-registration.tgz
    cd ~
    echo AMDAPPSDKROOT=/root/AMD-APP-SDK-v2.4-lnx64 >> .bashrc
    echo AMDAPPSDKSAMPLESROOT=/root/AMD-APP-SDK-v2.4-lnx64 >> .bashrc
    echo LD_LIBRARY_PATH=/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 >> .bashrc

    Install Python 2.7
    wget http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz
    tar -xf Python-2.7.1.tgz
    cd Python-2.7.1
    ./configure
    make && make install
    cd ~

    Install NumPy
    wget http://downloads.sourceforge.net/project/numpy/NumPy/1.6.0b1/numpy-1.6.0b1.tar.gz
    tar -xf numpy-1.6.0b1.tar.gz
    cd numpy-1.6.0b1
    python setup.py install
    cd ~

    Install PyOpenCL
    wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-2011.1beta3.tar.gz
    tar -xf pyopencl-2011.1beta3.tar.gz
    cd pyopencl-2011.1beta3/
    python configure.py \
      --cl-inc-dir=/root/AMD-APP-SDK-v2.4-lnx64/include \
      --cl-lib-dir=/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 \
      --cl-libname=OpenCL
    python setup.py install
    cd ~

    Install JSON-RPC
    svn co http://svn.json-rpc.org/trunk/python-jsonrpc
    cd python-jsonrpc/
    python setup.py install
    cd ~

    Install Git
    wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    rpm -i epel-release-5-4.noarch.rpm
    yum install git -y

    Clone latest poclbm
    git clone git://github.com/m0mchil/poclbm.git
    -or-
    git clone https://github.com/m0mchil/poclbm.git

    REBOOT
    reboot

    TA DA!  After you reboot, you should be able to run poclbm and start mining!  Please let me know if there's anything I can change here to improve this guide, or if anyone has any problems when using this.  Using this method I'm currently able to mine at 375 Mh/s on a 5870 clocked @ 900 MHz.
Page 1
Viewing Page: 1