After having gone through the pain of compiling and configuring cudaminer for Linux I thought I should put a little how to help those with Linux machines.
My set up is default Xubuntu 12.04 straight out of the box.
You will need CUDA framework and NVIDIA graphics drivers installed. Drivers in most cases recognised and installed automatically so you should not have any problems with that. Also CUDA software is now fully supporting 12.04 version of Ubuntu, so you should not have any problems either.
For the cudaminer bit you will need to have some packages installed. In my case it was automake tools and curl library.
Here are the steps that I had to take in order to get mine working:
Note, you should get the source code from github
https://github.com/cbuchner1/CudaMiner1. sudo apt-get instsall automake
2. sudo apt-get install libcurl
3. autoreconf --install or try ./autoconf.sh
4. ./configure
5. make
If you having issues with nvcc, you need to add LD_LIBRARY_PATH to your profile:
From
devtalk.nvidia.com:
In the file .bashrc in /home/username (in your home directory, google for what that is ..), add:
export LD_LIBRARY_PATH=/usr/local/cuda/lib
export PATH=$PATH:/usr/local/cuda/bin
You should be ready to launch your cudaminer.
I have Tesla C2075 and Quadro 600 both are Fermi architecture. Tesla C2075 is at device 0 location and Quadro 600 at device 1 location. Having played with some of the settings I recommend the following launch options:
./cudaminer -H 1 -d 0,1 -i 0,1 -l F56x16,F2x16 -C 2,2 -o your.stratum.server:port -O your_username.worker_name:worker_password
Here is my output:
[2013-11-20 15:30:35] Stratum detected new block
[2013-11-20 15:30:35] GPU #1: Quadro 600, 302080 hashes, 26.25 khash/s
[2013-11-20 15:30:35] GPU #0: Tesla C2075, 659456 hashes, 175.56 khash/s
[2013-11-20 15:30:50] GPU #1: Quadro 600, 400384 hashes, 26.25 khash/s
[2013-11-20 15:30:50] accepted: 419/419 (100.00%), 201.81 khash/s (yay!!!)
[2013-11-20 15:30:57] GPU #0: Tesla C2075, 4014080 hashes, 181.87 khash/s
[2013-11-20 15:30:57] accepted: 420/420 (100.00%), 208.13 khash/s (yay!!!)
[2013-11-20 15:30:59] GPU #0: Tesla C2075, 315392 hashes, 167.43 khash/s
[2013-11-20 15:30:59] accepted: 421/421 (100.00%), 193.69 khash/s (yay!!!)
[2013-11-20 15:31:01] GPU #0: Tesla C2075, 286720 hashes, 164.29 khash/s
[2013-11-20 15:31:01] accepted: 422/422 (100.00%), 190.54 khash/s (yay!!!)
[2013-11-20 15:31:05] GPU #0: Tesla C2075, 745472 hashes, 177.38 khash/s
[2013-11-20 15:31:05] accepted: 423/423 (100.00%), 203.64 khash/s (yay!!!)
Hope this helps someone.
Happy mining