Difference between revisions of "ZCash Miner: nheqminer Tesla c1060"

From OnnoWiki
Jump to navigation Jump to search
Line 35: Line 35:
 
  apt install qt5-default
 
  apt install qt5-default
 
  apt install cmake build-essential libboost-all-dev git
 
  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==
 
==Compile nheqminer==
  
  export CUDA_CUDART_LIBRARY="/usr/local/cuda/lib64/libcudart.so"
+
  cd /usr/local/src/
  cd /usr/local/src
+
  git clone -b Linux https://github.com/nicehash/nheqminer.git
chmod -Rf 777 nheqminer/
+
  cd nheqminer/Linux_cmake/nheqminer_cuda_tromp && cmake . && make
  cd nheqminer
 
 
 
mkdir build
 
cd build
 
cmake -DCUDA_CUDART_LIBRARY=CUDA_CUDART_LIBRARY ..
 
make
 
  
  

Revision as of 07:03, 29 September 2017

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"


Lakukan

reboot
nvidia-detect

cek apakah GPU terdetek

Install Aplikasi Pendukung

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

Compile nheqminer

cd /usr/local/src/
git clone -b Linux https://github.com/nicehash/nheqminer.git
cd nheqminer/Linux_cmake/nheqminer_cuda_tromp && cmake . && 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)