Saturday, 28 April 2012

pyrit on Fedora 16

So yeah... finally the new workstation arrived so let install pyrit and see what that GPU can do :) So lets go..



yum install make gcc-c++ freeglut-devel libXi-devel libXmu-devel

ln -s /usr/lib64/nvidia/libcuda.so /usr/lib64/libcuda.so && ln -s /usr/lib64/nvidia/libcuda.so.1 /usr/lib64/libcuda.so.1

export LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/local/cuda/lib64
echo $LD_LIBRARY_PATH

cd /etc/ld.so.conf.d/

echo "/usr/local/cuda/lib64" >> cuda.conf
echo "/usr/local/cuda/lib" >> cuda.conf

ldconfig

yum --enablerepo=updates-testing install pyrit

wget http://developer.download.nvidia.com/compute/cuda/4_2/rel/toolkit/cudatoolkit_4.2.9_linux_64_fedora14.run

chmod +x cudatoolkit_4.2.9_linux_64_fedora14.run

./cudatoolkit_4.2.9_linux_64_fedora14.run

cd /usr/local/src/

wget http://pyrit.googlecode.com/files/cpyrit-cuda-0.4.0.tar.gz

tar -zxvf cpyrit-cuda-0.4.0.tar.gz

rm -rf cpyrit-cuda-0.4.0.tar.gz

cd cpyrit-cuda-0.4.0/

python setup.py build

python setup.py install

pyrit list_cores
#1:  'CUDA-Device #1 'GeForce GTX 550 Ti''
#2:  'CPU-Core (SSE2)'
#3:  'CPU-Core (SSE2)'
#4:  'CPU-Core (SSE2)'
#5:  'CPU-Core (SSE2)'
#6:  'CPU-Core (SSE2)'
#7:  'CPU-Core (SSE2)'
#8:  'CPU-Core (SSE2)'

pyrit benchmark
Computed 14121.52 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce GTX 550 Ti'': 12473.9 PMKs/s (RTT 2.8)
#2: 'CPU-Core (SSE2)': 424.3 PMKs/s (RTT 3.0)
#3: 'CPU-Core (SSE2)': 428.5 PMKs/s (RTT 3.0)
#4: 'CPU-Core (SSE2)': 424.6 PMKs/s (RTT 3.1)
#5: 'CPU-Core (SSE2)': 428.2 PMKs/s (RTT 3.2)
#6: 'CPU-Core (SSE2)': 417.9 PMKs/s (RTT 3.0)
#7: 'CPU-Core (SSE2)': 409.9 PMKs/s (RTT 3.0)
#8: 'CPU-Core (SSE2)': 410.8 PMKs/s (RTT 3.1)


Not bad at all!! :) Stay tuned for more