ZCash Miner: nheqminer Tesla c1060

From OnnoWiki
Revision as of 06:26, 29 September 2017 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Untuk nvidia tesla c1060 tampaknya tidak bisa di jalankan di ubuntu 16.04 karena card-nya sudah terlalu lama. nheqminer sebaiknya di jalankan di arsitektur 64bit.

Install CUDA 6.5

sudo su
cd /usr/local/src/
wget http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda_6.5.14_linux_64.run
chmod 777 cuda*
./cuda_6.5.14_linux_64.run
apt update
# apt install cuda
apt install nvidia-cuda-toolkit
apt install nvidia-340   # untuk Tesla c1060 
# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64/stubs"
# PATH="$PATH:/usr/local/cuda-7.5/"
# PATH="$PATH:/usr/local/cuda-7.5/bin"

Install Aplikasi Pendukung

sudo su
apt update
apt install qt5-default
apt install cmake build-essential libboost-all-dev git

Download Source Code

cd /usr/local/src
git clone https://github.com/nicehash/nheqminer.git
chmod -Rf 777 nheqminer/

Compile Assembler

cd /usr/local/src
chmod -Rf 777 nheqminer/
cd nheqminer/cpu_xenoncat/asm_linux/
sh assemble.sh

Compile nheqminer

export CUDA_CUDART_LIBRARY="/usr/local/cuda/lib64/libcudart.so"
cd /usr/local/src
chmod -Rf 777 nheqminer/
cd nheqminer
mkdir build
cd build
cmake -DCUDA_CUDART_LIBRARY=CUDA_CUDART_LIBRARY ..
make


Contoh menjalankan

/usr/local/src/nheqminer/build/nheqminer -l zec.slushpool.com:4444 -u username.worker -p password
/usr/local/src/nheqminer/build/nheqminer -l zec.slushpool.com:4444 -u username.worker -p password -t 2 (utk 2 thread)