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

From OnnoWiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Untuk nvidia tesla c1060 tampaknya tidak bisa di jalankan di ubuntu 16.04 karena card-nya sudah terlalu lama.
+
==Catatan untuk nVidia Tesla c1060==
nheqminer sebaiknya di jalankan di arsitektur 64bit.
+
 
 +
* tidak bisa di jalankan di ubuntu 16.04 karena card-nya sudah terlalu lama (tua).
 +
* nvcc fatal  : Unsupported gpu architecture 'compute_50' '''TIDAK BISA DI COMPILE'''
 +
* ujicoba di ubuntu 14.04
 +
* nvidia driver 340
 +
* nheqminer sebaiknya di jalankan di arsitektur 64bit.
 +
 
  
 
==Install CUDA 6.5==
 
==Install CUDA 6.5==
Line 12: Line 18:
  
 
  apt update
 
  apt update
# apt install cuda
 
 
  apt install nvidia-cuda-toolkit
 
  apt install nvidia-cuda-toolkit
 
  apt install nvidia-340  # untuk Tesla c1060  
 
  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"
+
  ln -s /usr/lib/nvidia-340/bin/* /usr/bin/
  # PATH="$PATH:/usr/local/cuda-7.5/"
+
  ln -s /usr/lib/nvidia-340/lib* /usr/lib/
# PATH="$PATH:/usr/local/cuda-7.5/bin"
+
 
 +
 
 +
Lakukan
 +
 
 +
reboot
 +
 
 +
nvidia-detect
 +
 
 +
cek apakah GPU terdetek
  
 
==Install Aplikasi Pendukung==
 
==Install Aplikasi Pendukung==
Line 26: Line 39:
 
  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
 
 
 
  
 +
Kalau berhasil di compile.
 
Contoh menjalankan
 
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
 
  /usr/local/src/nheqminer/build/nheqminer -l zec.slushpool.com:4444 -u username.worker -p password -t 2 (utk 2 thread)
 
  /usr/local/src/nheqminer/build/nheqminer -l zec.slushpool.com:4444 -u username.worker -p password -t 2 (utk 2 thread)

Latest revision as of 07:46, 29 September 2017

Catatan untuk nVidia Tesla c1060

  • tidak bisa di jalankan di ubuntu 16.04 karena card-nya sudah terlalu lama (tua).
  • nvcc fatal : Unsupported gpu architecture 'compute_50' TIDAK BISA DI COMPILE
  • ujicoba di ubuntu 14.04
  • nvidia driver 340
  • 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 nvidia-cuda-toolkit
apt install nvidia-340   # untuk Tesla c1060 
ln -s /usr/lib/nvidia-340/bin/* /usr/bin/
ln -s /usr/lib/nvidia-340/lib* /usr/lib/


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

Kalau berhasil di compile. 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)