Running the Folding@Home GPU client on Ubuntu 10.10

This is just a short howto, describing how to use the power of your computers NVIDIA GPU to help Folding@Home - as far as I know, this will NOT work with an ATI GPU!

First of, you need to install a couple of programs, including the newest Nvidia drivers:

sudo apt-get install wine nvidia-current

Now, restart your computer to make use of your shiny new drivers.
Next, you must install Nvidia's official CUDA toolkit:

cd ~
mkdir fahgpu
cd fahgpu/
chmod u+x
sudo ./ # Just press enter whenever you are prompted for something
sudo sh -c "echo PATH=/usr/local/cuda/bin:$PATH > /etc/profile.d/"
sudo sh -c "echo /usr/local/cuda/lib > /etc/"
sudo ldconfig

Get some wrappers for the windows CUDA DLL files and download the Folding@Home GPU client:

wget -O ~/.wine/drive_c/windows/system32/cudart.dll
cd ~/.wine/drive_c/windows/system32/
ln -s cudart.dll nvcuda.dll
ldd ~/.wine/drive_c/windows/system32/cudart.dll
cd ~/fahgpu/
cat << EOF >
wine Folding@home-Win32-GPU.exe -forcegpu nvidia_g80
chmod u+x

Now you only have to start the Folding@Home GPU client:


Of course, you can make a desktop shortcut or whatnot, but that's out of the scope of this howto. I hope you enjoy Folding!

Written by Jannich Brendle man 07 februar 2011 In How to

tags: folding@homehowtoubuntu

Related posts