This guide will teach you how to install ccminer tpruvot on Ubuntu 16.04
You must first run Install NVIDIA Driver and CUDA on Ubuntu 16.04 before proceeding.
[raw] #!/bin/bashmkdir tpruvot
cd tpruvot
git clone https://github.com/tpruvot/ccminer.git
cd ccminer/
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib
export PATH=$PATH:/usr/local/cuda-8.0/bin
echo ‘export PATH=/usr/local/cuda-8.0/bin:$PATH’ >> ~/.bashrc
./autogen.sh
./configure
make
echo “Finished”
[/raw]
To buy a pre-compiled Docker container with this image compatible with NVIDIA GPU’s check my selection of miner friendly Docker containers at https://cryptoandcoffee.com
WAITAMINUTE…THIS ACTUALLY WORKS!!!
Thank you so very much!
Hi there … I got this error:
nvcc -I./compat/jansson -I. -I/usr/local/cuda/include -gencode=arch=compute_20,code=”sm_21,compute_20″ -o scrypt/salsa_kernel.o -c scrypt/salsa_kernel.cu
nvcc fatal : Unsupported gpu architecture ‘compute_20’
Makefile:2717: recipe for target ‘scrypt/salsa_kernel.o’ failed
make[2]: *** [scrypt/salsa_kernel.o] Error 1
make[2]: Leaving directory ‘/home/mahuro/ccminer/ccminer’
Makefile:2196: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/home/mahuro/ccminer/ccminer’
Makefile:651: recipe for target ‘all’ failed
make: *** [all] Error 2
The error is Unsupported gpu architecture ‘compute_20’.
Replace compute_20 with compute_30 in all occurrences in Makefile. Also replace sm_21 with sm_30 in all occurrences in Makefile. Then run
sudo make
It should work.
Everything went great until the command to “make”.
Did not work.
Tried “./build” instead and then it completed.
Thanks for the instructions!
Morning! On a brand new Ubuntu 16.04LTS system I’ve installed the necessary packages to compile from source along with automake, autoconf etc. aclocal was giving me an issue at first but that’s been taken care of at this point. Here is the error I’m receiving when running the configure script. I’ve also install ssh which I’m assuming installs the openssl libraries?
checking for SSL_free in -lssl… no
configure: error: OpenSSL library required
What am I missing?