SVN Build Directions for Linux by Picch

Discussion and support for the CUDA Multiforcers (Windows and Linux)
  • Ads

SVN Build Directions for Linux by Picch

Postby Bitweasil » Fri Apr 15, 2011 1:48 pm

Copied these into their own thread... ~Bit

Compiling Cryptohaze Multiforcer
By: Picch

This guide is written with Ubuntu 10.04 LTS x64 in mind and assumes you already have the CUDA Developer Driver (260.19.26) and Toolkit (3.2.16) installed and working properly (ie you can already run CUDA based applications.)

1) Lets make sure we have all of our required dependencies installed. Some of these will probably already be installed.
Code: Select all
sudo apt-get install kernel-package libncurses5-dev wget bzip2 libboost-dev libboost-thread-dev libboost-system-dev libglu1-mesa-dev subversion libargtable2-dev libgd2-xpm-dev libargtable2-dev libxi-dev libxmu-dev libxmu6 freeglut3-dev


2) Download and install GPU Computing SDK code samples.
Code: Select all
wget http://developer.download.nvidia.com/compute/cuda/3_2_prod/sdk/gpucomputingsdk_3.2.16_linux.run
chmod a+x gpucomputingsdk_3.2.16_linux.run
./gpucomputingsdk_3.2.16_linux.run


3) We need to fix a couple of “issues” so everything compiles correctly.
Code: Select all
cd /usr/lib
sudo rm libGL.so
sudo ln -s libGL.so.260.19.26 libGL.so
sudo ln -s /usr/lib/libboost_thread.so /usr/local/lib/libboost_thread.so
sudo ln -s /usr/lib/libboost_system.so /usr/local/lib/libboost_system.so


4) Time to compile the SDK Tools (go grab a beer, this will take a few minutes)
Code: Select all
cd ~/NVIDIA_GPU_Computing_SDK/C
make


5) We need to checkout the Cryptohaze Multiforcer repository.
Code: Select all
cd ~/NVIDIA_GPU_Computing_SDK/C/src
svn checkout https://cryptohaze.svn.sourceforge.net/svnroot/cryptohaze/Cryptohaze-Multiforcer


6) Time to compile the mulitforcer (go grab another beer)
Code: Select all
cd ~/NVIDIA_GPU_Computing_SDK/C/src/Cryptohaze-Multiforcer
make –f Makefile-Linux


7) Browse to location where newly compiled executable is located
Code: Select all
cd ~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release
mv CUDA-Multiforcer-CPP <directory you want the executable to reside in>
Bitweasil
Site Admin
 
Posts: 912
Joined: Tue Jan 20, 2009 4:26 pm

Return to CUDA Multiforcers

Who is online

Users browsing this forum: No registered users and 1 guest

cron