Difference between revisions of "ZCash Miner: nheqminer CUDA"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
nheqminer sebaiknya di jalankan di arsitektur 64bit.
 
nheqminer sebaiknya di jalankan di arsitektur 64bit.
 +
 +
==Install CUDA==
 +
 +
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
 +
  
 
  LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/local/cuda-8.0/lib64/stubs"
 
  LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/local/cuda-8.0/lib64/stubs"
Line 5: Line 10:
 
  PATH="$PATH:/usr/local/cuda-8.0/bin"
 
  PATH="$PATH:/usr/local/cuda-8.0/bin"
  
 +
==Install Aplikasi Pendukung==
  
 
  sudo apt update
 
  sudo apt update
 
  sudo apt install qt5-default
 
  sudo apt install qt5-default
 
  sudo apt install cmake build-essential libboost-all-dev git
 
  sudo apt install cmake build-essential libboost-all-dev git
 +
 +
==Download Source Code==
  
 
  cd /usr/local/src
 
  cd /usr/local/src
 
  git clone https://github.com/nicehash/nheqminer.git
 
  git clone https://github.com/nicehash/nheqminer.git
 +
 +
==Compile Assembler==
  
 
  cd /usr/local/src
 
  cd /usr/local/src
Line 17: Line 27:
 
  sh assemble.sh
 
  sh assemble.sh
  
 +
==Compile nheqminer==
  
 
  cd /usr/local/src
 
  cd /usr/local/src

Revision as of 16:15, 26 September 2017

nheqminer sebaiknya di jalankan di arsitektur 64bit.

Install CUDA

wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb


LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/local/cuda-8.0/lib64/stubs"
PATH="$PATH:/usr/local/cuda-8.0/"
PATH="$PATH:/usr/local/cuda-8.0/bin"

Install Aplikasi Pendukung

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

Download Source Code

cd /usr/local/src
git clone https://github.com/nicehash/nheqminer.git

Compile Assembler

cd /usr/local/src
cd nheqminer/cpu_xenoncat/asm_linux/
sh assemble.sh

Compile nheqminer

cd /usr/local/src
cd nheqminer/nheqminer
mkdir build
cd build
cmake ..
make


Contoh menjalankan

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