Results 1 to 10 of 36

Thread: ATI-APP-SDK + Pyrit + Cal++ How-To Guide (BT5 KDE 64bit)

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    May 2011
    Posts
    5

    Default ATI-APP-SDK + Pyrit + Cal++ How-To Guide (BT5 KDE 64bit)

    This is a guide on the best way (I've found) to install ATI Driver, ATI APP SDK, Cal++ and pyrit.Some of the instructions are from the old how to for bt4, but edited for bt5 and some I just figured out on my own. Hope this helps some people:

    First prepare kernel sources by:

    Code:
    prepare-kernel-sources
    cd /usr/src/linux
    cp -rf include/generated/* include/linux/
    Now install ati driver by running:

    Code:
    sh  ati-driver-installer-11-5-x86.x86_64.run
    Follow install and then restart computer.

    Download the AMD-APP SDK from
    http://orwell.fiit.stuba.sk/~nou/amd-app_2.4_amd64.deb
    Install amd-app (SDK) by clicking on the
    amd-app_2.4_amd64.deb file and clicking install.
    *** Note this installs the amd app sdk with opencl support only ***

    Also download the AMD-APP-SDK-v2.4-lnx64.tgz (With CAL++ Libraries) from:
    http://developer.amd.com/gpu/AMDAPPS...s/default.aspx
    Untar by typing:
    Code:
    tar -xvzf AMD-APP-SDK-v2.4-lnx64.tgz
    Then go into the directory:
    Code:
    cd AMD-APP-SDK-v2.4-lnx64
    tar -xvzf icd-regisration.tgz
    make
    make install
    Install the boost library and dev tools by typing:
    Code:
    apt-get install libboost1.40-all-dev
    install cmake by typing:
    Code:
    apt-get install cmake
    Download cal++ to your root directory from:
    http://sourceforge.net/projects/calp...ar.gz/download

    Now untar calpp-0.90 by typing:
    Code:
    tar -xvzf calpp-0.90.tar.gz
    
    cd calpp-0.90
    First edit the CMakeLists.txt file in the cal++ directory so that it knows where ATI APP is installed.
    Open the file in nano by:

    Code:
    nano CMakeLists.txt
    Find the lines that start with FIND_LIBRARY() and edit to look like this:
    FIND_LIBRARY( LIB_ATICALCL aticalcl PATHS "/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" )
    FIND_LIBRARY( LIB_ATICALRT aticalrt PATHS "/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" )
    FIND_PATH( LIB_ATICAL_INCLUDE NAMES cal.h calcl.h PATHS "/root/AMD-APP-SDK-v2.4-lnx64/include/CAL" )

    Then edit the bashrc file by typing:
    Code:
    nano ~/.bashrc
    Go to the bottom and add this:

    ATISTREAMSDKROOT=/root/AMD-APP-SDK-v2.4-lnx64/
    ATISTREAMSDKSAMPLESROOT=/root/AMD-APP-SDK-v2.4-lnx64/samples
    LD_LIBRARY_PATH=opt/oracle/instantclient_10_2:$ATISTREAMSDKROOT/lib/x86_64
    export ATISTREAMSDKROOT
    export ATISTREAMSDKSAMPLESROOT

    Then install cal++ by going into the cal++ directory and typing:

    Code:
    cmake .
    once that's finished, type
    Code:
    make install
    cd into pyrit_svn/pyrit
    type:
    Code:
    python setup.py build install
    cd ..
    cd cpyrit_calpp
    python setup.py build install
    Now run pyrit list_cores (should show cal++ device & cpus) & then run pyrit benchmark

    *** Note, you may get an error about a version mismatch between cpyrit_calpp & cpyrit_cpu, you can just ignore that (or edit the version number in setup.py under the cpyrit_calpp directory to version 1.4.1-dev (I think it is) to match the version of pyrit's setup.py). ***

    Again hope this helps some people that want to use cal++ with pyrit and their ATI cards, feel free to comment and ask questions. This may also work for 32bit systems and possibly gnome, but some adjustments would have to be made to file paths and the files downloaded.
    Last edited by jeff2011; 05-25-2011 at 04:22 AM. Reason: Updated guide a little.

Similar Threads

  1. BT5 KDE 64bit - startx problem
    By fnord0 in forum BackTrack 5 Fixes
    Replies: 60
    Last Post: 12-24-2012, 03:15 PM
  2. BT5 KDE 64bit - Teensy/S.E.T.
    By ColForbin in forum BackTrack 5 Fixes
    Replies: 0
    Last Post: 05-13-2011, 07:19 AM
  3. Replies: 1
    Last Post: 05-11-2011, 05:03 AM
  4. 64bit
    By RageLtMan in forum OLD BackTrack 4 (pre) Final
    Replies: 6
    Last Post: 10-01-2009, 07:52 PM
  5. Error - Wireless Assistant , Guide Guide Guide ....
    By eliv3n in forum OLD Newbie Area
    Replies: 1
    Last Post: 10-08-2007, 07:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •