ZCash Miner: nheqminer Tesla c1060: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
 
(12 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.


==Install CUDA 7.5==
* 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
  sudo su
  cd /usr/local/src/
  cd /usr/local/src/
  wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
  wget http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda_6.5.14_linux_64.run
  chmod 777 cuda*
  chmod 777 cuda*
  ./cuda_7.5.18_linux.run
  ./cuda_6.5.14_linux_64.run


  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  
 
ln -s /usr/lib/nvidia-340/bin/* /usr/bin/
ln -s /usr/lib/nvidia-340/lib* /usr/lib/
 
 
Lakukan
 
reboot
 
nvidia-detect


LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64/stubs"
cek apakah GPU terdetek
PATH="$PATH:/usr/local/cuda-7.5/"
PATH="$PATH:/usr/local/cuda-7.5/bin"


==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 00: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)