mine doge

How to mine bitcoin with NVIDIA card and Ubuntu 16.04 using ccminer

ccminer is a NVIDIA-CUDA GPU miner, based on the old CudaMiner which allegedly was discontinued in 2014.

ccminer has support for pretty much all of the popular hashing algorithms, except ethash as far as I can tell, so you can mine not only Bitcoin, but also pretty much any other coin.

I found a few guides out there, but none were complete in the sense that if I simply followed them to the point I could compile ccminer. This here is a sort of compilation of the resources that I used to get ccminer by tpruvot to work, with a bit of explanation in steps. You should probably be a little familiar with the terminal because it's not 100% accurate in terms of the commands to write.

Please keep in mind that GPU mining is not really profitable unless you have free electricity, or you mine a coin that is favored by GPU (and it hasn't become popular yet).

Step 1: install the newest NVIDIA driver in Additional Drivers

Step 2: Install CUDA Toolkit using run-file downloaded from NVIDIA newbsite
sudo chmod +x ./Downloads/cuda_*.run
sudo ./cuda_*.run
Don't install the driver as we just installed it in Additional Drivers, but accept everything else (samples, toolkit..)
It might warn that you are running on an unsupported platform, but it worked fine for me, so just say yes.

Here 6.5 is used because that's what tpruvot specified in ccminer, but you can try newer versions. Older no. I couldn't get it to work with 9.1.
According to NVIDIA it should work: https://devtalk.nvidia.com/default/topic/1027578/cuda-setup-and-installation/does-later-versions-of-cuda-support-older-gpus-/post/5226822/#5226822

add -override compiler if it complains

add cuda to environment variables:
gedit ~/.bashrc
Add the following to the end of the document – “
PATH=$PATH:/usr/local/cuda-6.5/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-6.5/lib64:/lib “

https://d3adbra1n.wordpress.com/2014/05/03/cuda-miner-installation-on-a-fresh-ubuntu-14-04-lts/

then either close and reopen the terminal, or write "source .bashrc".
write echo $PATH to make sure it contains the cuda directory.

mine doge
wow

Step 3: install ccminer https://github.com/tpruvot/ccminer/blob/linux/INSTALL
ccminer is based on CudaMiner

TL;DR install ccminer
git clone https://github.com/tpruvot/ccminer.git
sudo apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential

gedit Makefile.am
Around line 85 find this.
nvcc_ARCH = -gencode=arch=compute_50,code=\"sm_50,compute_50\"
nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\"
#nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\"
#nvcc_ARCH += -gencode=arch=compute_35,code=\"sm_35,compute_35\"
#nvcc_ARCH += -gencode=arch=compute_30,code=\"sm_30,compute_30\"
#nvcc_ARCH += -gencode=arch=compute_20,code=\"sm_21,compute_20\"

If you only have one graphics card, comment each line with # except the one corresponding to your GPU. Find out which one is for you here: https://github.com/tpruvot/ccminer/wiki/Compatibility
Make sure it doesn't say +=, but = after nvcc_ARCH at your first instance of the line. Only the equals sign.

./build.sh
./ccminer --version

now sign up at multipool.us or anywhere else and do something like:
./ccminer -o stratum+tcp://us.multipool.us:3334 -a scrypt -u simernes.1 -p myPassword
where simernes is the login to the site, and 1 is the worker name. So basically the entered username is the worker to use. This varies from pool to pool how it's done, and some pools don't even require registration -- and maybe the password is your bitcoin address.



Troubleshooting:
Installing CUDA Toolkit:
"
Hello! i have same problem and decide theese next decisions:
unfortunately try export PERL5LIB and see in log whatever installer not seem file InstallUtils.pm
1. unpack .run file ./cuda*.run --tar mxvf
2. copy InstallUtils.pm to /usr/lib/x86_64-linux-gnu/perl-base
3. export $PERL5LIB
enjoy
"

https://devtalk.nvidia.com/default/topic/983777/can-t-locate-installutils-pm-in-inc/

compiling ccminer
sudo apt-get install gcc-4.8 g++-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

Dogecoin is funny and that’s why it will succeed

In my continous empirical study of asking people about their thoughts and impressions of Bitcoin, I can't help but notice that most people have no faith in its success. That is if they at all have ever heard about it. Most of the people I ask -- especially the ones that are not in IT -- still think of it as silly internet money that can't be used to buy anything.

First of all I want to clarify that this text is purely an opinion. That opinion is that Dogecoin will make it simply because it is exactly what people think Bitcoin is. Silly Internet money. Think about it. One day someone makes an altcoin based on a meme as a joke, and suddenly Dogecoin has a market cap of more than 14 million US dollars. That's hilarious. It still can't be used for very much (at least in terms of buying groceries and such), but for now it allows people to play around with crypto currencies without having to invest large amounts of money.

That's where I see the real value of Dogecoin. In being the gateway drug of crypto currencies. For not-so-technical people I think Bitcoin can be confusing at first, and I think it can be frightening that you have to invest so much money (~USD 290 = BTC 1) to get even one bitcoin. With Dogecoin on the other hand where 1 USD currently approximates to 7,000 Doge (March 15, 2015), it's possible to play around with something that feels like a real amount without having to risk your life savings.

Anyways. The reason why I love Bitcoin based currencies is because of the security and simplicity it offers. That said, it does undoubtedly take some time to get used to, and I understand that it may seem complicated at first. Dogecoin is fun and simple, and it let's people get familiar with the technology with close to zero risk. That's where I think its potential lies, and I think that's why it will succeed and grow alongside other blockchains. At least it's how I got introduced to and fell in love with Bitcoin.

Very doge
Nice.

If you want to check out the community you can visit the Dogecoin subreddit.

Why this site exists

I made this site just because I wanted to have a website, so I don't really know exactly what to put here yet. I've done some app development, so I put that up and chances are that if you're visiting this site, you're either a robot or you came across one of my apps. Anyways, I'm glad you're here -- artificial or not -- so please, enjoy your stay.

Who knows, maybe when you read this the site has become copious in content.