Difference between revisions of "Ethereum: Git Clone Genoil"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
sumber: https://github.com/nanopool/genoil-ethereum
 
sumber: https://github.com/nanopool/genoil-ethereum
  
 +
sudo su
  
 
  wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
 
  wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
 
  sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
 
  sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
 
  add-apt-repository -y ppa:ethereum/ethereum
 
  add-apt-repository -y ppa:ethereum/ethereum
  sudo apt-get update
+
  apt update
  sudo apt-get -y install software-properties-common git
+
  apt-get -y install software-properties-common git
  sudo apt-get install git libcryptopp-dev libleveldb-dev libjsoncpp-dev libjson-rpc-cpp-dev \
+
  apt-get install git libcryptopp-dev libleveldb-dev libjsoncpp-dev libjson-rpc-cpp-dev \
 
  libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 \
 
  libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 \
 
  opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y
 
  opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y

Revision as of 16:50, 19 November 2017

sumber: https://github.com/nanopool/genoil-ethereum

sudo su
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
add-apt-repository -y ppa:ethereum/ethereum
apt update
apt-get -y install software-properties-common git
apt-get install git libcryptopp-dev libleveldb-dev libjsoncpp-dev libjson-rpc-cpp-dev \
libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 \
opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y
cd /usr/local/src
apt remove --purge cmake
wget http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar -xvzf cmake-3.4.1.tar.gz
cd cmake-3.4.1/
./configure
make 
make install
cd /usr/local/src/
git clone https://github.com/Genoil/cpp-ethereum/
cd /usr/local/src/cpp-ethereum/
mkdir build
cd build
cmake -DBUNDLE=miner ..
make -j8


Saat menjalankan coba tambahkan

For OpenCL: --cl-global-work 16384
For CUDA: --cuda-grid-size 8192 --cuda-block-size 128 --cuda-schedule auto

Referensi