Results 1 to 8 of 8

Thread: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

  1. #1
    Join Date
    Jun 2011
    Posts
    84

    Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    Please help me. I want to install ATI APP SDK, Cal++ and Pyrit on Backtrack 5 in my Linux operating system. Actually I am new to it so thought of asking you experts so that I don’t land with troubleshoot. Please give me the steps for the same. Is it ok for my system If I install them. All your replies will be appreciated.

  2. #2
    Join Date
    Nov 2009
    Posts
    758

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    I am sure it installing them won’t affect your system. You can install them in you Linux operating system and enjoy their use. I can only help you with the ATI driver since I am familiar to it. Just do as I say:

    Open the console and first prepare Kernel sources in the same by using the below code:

    Code:
    prepare-kernel-sources
    cd /usr/src/linux
    cp -rf include/generated/* include/linux/
    After that install the ATI driver by running the following code:
    sh ati-driver-installer-11-5-x86.x86_64.run

    Then restart your computer.

  3. #3
    Join Date
    Apr 2009
    Posts
    970

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    To install the AMD- APP SDK follow as I recommend. Before installing download AMD- APP SDK from official website. Then perform Installing amd-app (SDK) by clicking on the amd-app_2.4_amd64.deb file and then click install. Also note that the amd app sdk installs with opencl support only. After that download AMD-APP-SDK-v2.4-lnx64.tgz with CAL++ Libraries and then type:

    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

  4. #4
    Join Date
    Nov 2009
    Posts
    1,416

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    Since I have tried CAL++ in my Linux operating system so, I can guide you to install CAL++ properly. Search on internet and download properly CAL++ in your root directory.
    Now type:

    Code:
    tar -xvzf calpp-0.90.tar.gz
    
    cd calpp-0.90
    After that, edit the CMakeLists.txt file in the cal++ directory. This is because it knows where ATI APP is installed. Open the file in nano by using:

    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" )
    Following with editing the bashrc file:

    Code:
    nano ~/.bashrc

  5. #5
    Join Date
    Nov 2009
    Posts
    1,269

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    If your CAL++ is not installed then do the below advanced step because in some system it happens and then its necessary to do the below step.
    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


    After that 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 you can run pyrit list_cores by showing cal++ device & cpus, then atlast run pyrit benchmark. Hope this advice helps you.

  6. #6
    Join Date
    Apr 2009
    Posts
    1,107

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    While trying the above steps if you get error same as:
    • root@bt:~/pyrit_svn/cpyrit_calpp# ./setup.py build
    • running build
    • running build_ext
    • Building modules...
    • building 'cpyrit._cpyrit_calpp' extension
    • gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/root/AMD-APP-SDK-v2.4-lnx64/include -I/usr/include/python2.6 -c _cpyrit_calpp.cpp -o build/temp.linux-x86_64-2.6/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION="0.4.0-dev (svn r308)"
    • cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    • In file included from _cpyrit_calpp.cpp:38:
    • /usr/local/include/cal/cal.hpp:26:17: error: cal.h: No such file or directory
    • /usr/local/include/cal/cal.hpp:27:19: error: calcl.h: No such file or directory

  7. #7
    Join Date
    Nov 2009
    Posts
    1,292

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    The easiest code for same error is as follows:

    • root@bt:~/cpyrit_calpp# pyrit benchmark
    • /usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py:63: UserWarning: WARNING: Version mismatch between <module 'cpyrit._cpyrit_cpu' from '/usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_cpu.so'> ('0.4.1-dev (svn r308)') and <module 'cpyrit._cpyrit_calpp' from '/usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_calpp.so'> ('0.4.0-dev (svn r304)')
    • "('%s')\n" % (_cpyrit_cpu, _cpyrit_cpu.VERSION, mod, ver))
    • Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    • This code is distributed under the GNU General Public License v3+
    • Running benchmark (13251.7 PMKs/s)... -

    Code:
    Computed 13251.72 PMKs/s total.
    #1: 'CAL++ Device #1 'AMD REDWOOD'': 12922.5 PMKs/s (RTT 1.5)
    #2: 'CPU-Core (SSE2)': 324.1 PMKs/s (RTT 3.2)
    #3: 'CPU-Core (SSE2)': 335.9 PMKs/s (RTT 3.0)
    #4: 'CPU-Core (SSE2)': 332.2 PMKs/s (RTT 2.9)

  8. #8
    Join Date
    Apr 2009
    Posts
    1,107

    Re: Installing ATI APP SDK, Cal++ and Pyrit on Backtrack 5

    If your problem is still not fixed then fix it by doing the below steps:

    • cal.h: No such file or directory
    • calcl.h: No such file or directory
    • cal_ext.h: No such file or directory


    Then edit the setup.py in pyrit_svn/cpyrit_calpp and change it to the below code:
    CALPP_INC_DIRS.append(os.path.join(CALPP_INC_DIR, 'include'))

    Or

    CALPP_INC_DIRS.append(os.path.join(CALPP_INC_DIR, 'include/CAL'))

Similar Threads

  1. Replies: 7
    Last Post: 20-10-2011, 07:42 PM
  2. Pyrit doesnt recognize GPU at backtrack 5
    By iraqiboy90 in forum Operating Systems
    Replies: 6
    Last Post: 14-09-2011, 07:30 PM
  3. Backtrack 5-Nvidia 64 drivers / Cuda and pyrit
    By Chahel in forum Operating Systems
    Replies: 4
    Last Post: 19-06-2011, 04:42 AM
  4. Backtrack 5 - How to install pyrit
    By Haleema in forum Operating Systems
    Replies: 4
    Last Post: 18-06-2011, 04:38 AM
  5. Installing Backtrack with Windows
    By Y2kCyK in forum Operating Systems
    Replies: 7
    Last Post: 12-01-2009, 11:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,526,258.01552 seconds with 17 queries