Difference between revisions of "Ethereum: Git Clone Genoil"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
  sudo apt-get update
 
  sudo apt-get update
 
  sudo apt-get -y install software-properties-common git
 
  sudo apt-get -y install software-properties-common git
  sudo apt-get install git cmake libcryptopp-dev libleveldb-dev libjsoncpp-dev libjson-rpc-cpp-dev \
+
  sudo 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
 +
 +
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
 +
  
 
  cd /usr/local/src/
 
  cd /usr/local/src/

Revision as of 16:48, 19 November 2017

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


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
sudo apt-get update
sudo apt-get -y install software-properties-common git
sudo 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 


cd /usr/local/src/
git clone https://github.com/Genoil/cpp-ethereum/
cd 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