The old howtos don't work anymore, and the wiki article only uses plain OpenCL
CAL++ is up to 2x faster in pyrit, so here's how to get it working on RadeonHD cards.
This should work well for HD4000/HD5000/HD6000 series.
Unfortunately, HD7000 series are not supported.
For HD7000s, use ut0ugh1's updated OpenCL guide here
If you have already tried to get this working on your current install, the "leftovers" will cause this to fail.
Only works consistently on a CLEAN FRESH BT5R2/R3 install.
0.5: fix for libs install errors (thanks to adriancard) & update system
1: preparation - remove pre-installed Pyrit, update system, kernel sources & libs/toolsCode:echo "deb http://updates.repository.backtrack-linux.org revolution main microverse non-free testing" >> /etc/apt/sources.list apt-get update apt-get dist-upgrade reboot
2: download & install 09/11 drivers (dont use newer drivers, the SDKs we install after this will not like it)Code:apt-get purge pyrit rm -r /usr/local/lib/python2.6/dist-packages/cpyrit prepare-kernel-sources cd /usr/src/linux cp -rf include/generated/* include/linux/ apt-get install libroot-python-dev libboost-python-dev zlib1g-dev libssl-dev cmake libboost1.40-all-dev
3: after reboot, install SDKs.Code:wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-9-x86.x86_64.run chmod +x ati-driver-installer-11-9-x86.x86_64.run ./ati-driver-installer-11-9-x86.x86_64.run reboot
AMD added an "accept license" page to the SDK download, so first download SDK to default (home) directory from here:
http://developer.amd.com/Downloads/A...v2.5-lnx64.tgz
4: installing CAL++Code:wget http://orwell.fiit.stuba.sk/~nou/amd-app_2.5_amd64.deb dpkg -i amd-app_2.5_amd64.deb tar -xvzf AMD-APP-SDK-v2.5-lnx64.tgz ./Install-AMD-APP.sh echo "ATISTREAMSDKROOT=/opt/AMDAPP export ATISTREAMSDKROOT" >> ~/.bashrc source ~/.bashrc
5: and finally PyritCode:svn co https://calpp.svn.sourceforge.net/svnroot/calpp calpp cd calpp/trunk cmake . make make install
there will be a bunch of warnings during complie, so long as there are no ERRORs all is fine.Code:svn checkout http://pyrit.googlecode.com/svn/trunk/ /tmp/pyrit cd /tmp/pyrit/pyrit && python setup.py build && python setup.py install cd /tmp/pyrit/cpyrit_calpp && python setup.py build && python setup.py install
test with:
ignore any Pyrit warnings, your RadeonHD devices should show up as something like:Code:pyrit list_cores pyrit benchmark
#1: 'CAL++ Device #1 'AMD REDWOOD''
Happy crunching!


