Difference between revisions of "HowTo run vProgPoW GPU Miner"

From Veriblock Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
vProgPoW operation information  
 
vProgPoW operation information  
  
Source code: https://github.com/VeriBlock/ProgPoW-miner
+
'''List of community pools:''' [https://wiki.veriblock.org/index.php/List_of_mining_pools Community Pool List]
 +
 
 +
'''Source code:''' https://github.com/VeriBlock/ProgPoW-miner
  
 
Please share issues and feedback: https://github.com/VeriBlock/ProgPoW-miner/issues
 
Please share issues and feedback: https://github.com/VeriBlock/ProgPoW-miner/issues
  
Download NodeCore 0.4.10 package:
+
Download NodeCore 0.4.10 package (if you want to run your own pool or solo mine):
  
 
https://github.com/VeriBlock/nodecore-releases/releases/download/v0.4.10/veriblock-nodecore-all-0.4.10.zip
 
https://github.com/VeriBlock/nodecore-releases/releases/download/v0.4.10/veriblock-nodecore-all-0.4.10.zip
Line 22: Line 24:
  
 
# Download package for CUDA 10.2 or CUDA 11, depending on your system.
 
# Download package for CUDA 10.2 or CUDA 11, depending on your system.
# Update `miner-veriblock-*.bat` with your address (or leave default) and pool information (or leave on the default devpool option)  
+
# Update `miner-veriblock-*.bat` with your:
# Run `miner-veriblock-*.bat`  
+
## '''VeriBlock Address''' ('''NOTE: Make sure you change the default testing address to your address, or you will not receive the VBK that you mine!''')  
 +
## '''Pool information''' (or leave on the default devpool option)
 +
## (If you have more than one card, or want to mine on specific cards) the '''GPUs configured for mining on''' (ex: --cuda-devices 0 1 2)
 +
# Run `miner-veriblock-*.bat`
  
 
== Package ==
 
== Package ==
Line 81: Line 86:
 
Binary:
 
Binary:
  
* https://mirror2.veriblock.org/vProgPoW_VBK-miner-linux-cuda10_2.tar.gz
+
* https://github.com/VeriBlock/nodecore-releases/releases/download/vProgPoW-GPU-Miner/vProgPoW_VBK-miner-linux-cuda10_2.tar.gz
* https://mirror2.veriblock.org/vProgPoW_VBK-miner-linux-cuda11.tar.gz
+
* https://github.com/VeriBlock/nodecore-releases/releases/download/vProgPoW-GPU-Miner/vProgPoW_VBK-miner-linux-cuda11.tar.gz
  
 
Compile from source:
 
Compile from source:

Latest revision as of 20:32, 21 September 2020

See: ProgPoW

Overview

vProgPoW operation information

List of community pools: Community Pool List

Source code: https://github.com/VeriBlock/ProgPoW-miner

Please share issues and feedback: https://github.com/VeriBlock/ProgPoW-miner/issues

Download NodeCore 0.4.10 package (if you want to run your own pool or solo mine):

https://github.com/VeriBlock/nodecore-releases/releases/download/v0.4.10/veriblock-nodecore-all-0.4.10.zip

Explorer:

https://explore.veriblock.org/network-stats

Quick Start for Windows

  1. Download package for CUDA 10.2 or CUDA 11, depending on your system.
  2. Update `miner-veriblock-*.bat` with your:
    1. VeriBlock Address (NOTE: Make sure you change the default testing address to your address, or you will not receive the VBK that you mine!)
    2. Pool information (or leave on the default devpool option)
    3. (If you have more than one card, or want to mine on specific cards) the GPUs configured for mining on (ex: --cuda-devices 0 1 2)
  3. Run `miner-veriblock-*.bat`

Package

Windows

Binary:

Compile from source:

Building ProgPoW on Windows:
Install Visual Studio 2017 (With C++ Build Requirements)
Install CUDA Toolkit 10.2 or 11.0 (If 10.2, remove the line "-gencode arch=compute_80,code=sm_80" in ProgPoW-miner/libethash-cuda/CMakeLists.txt)
Install CMake for Windows (put on path when prompted during the installation, or manually add C:\Program Files\CMake\bin to %PATH%)
Install Strawberry Perl (installer should automatically add to path)
git clone https://github.com/VeriBlock/ProgPoW-miner
cd ProgPoW-miner
git submodule update --init --recursive
Put compile script (see below) outside of the ProgPoW-miner directory (ex: if ProgPoW-miner is in C:/User/You/ProgPoW-miner, then compile script goes in C:/User/You/compile.bat)
Execute compile script (it may take up to 1 hr the first time it runs!)
Open ProgPoW-miner/build/ethminer.sln in Visual Studio, change from 'Debug' to 'Release' (Make sure it's on x64)
Build -> All
Binaries (ethminer.exe) should appear in ProgPoW-miner\build\ethminer\Release

Windows compile script (put this in a file compile.bat directly above the ProgPoW-miner directory and run it):

@echo off
setlocal

rem add MSVC in PATH
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"

rem add Perl in PATH; it's needed for OpenSSL build
set "PERL_PATH=C:\Strawberry\perl\bin"
set "PATH=%PERL_PATH%;%PATH%"

rem switch to ethminer's source folder
cd "%~dp0\ProgPoW-miner\"

if not exist "build\" mkdir "build\"

rem For CUDA 9.x pass also `-T v140`
cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" -H. -Bbuild -DETHASHCL=ON -DETHASHCUDA=ON -DAPICORE=ON ..
cmake -Thost=x64 --build . --config Release --target package

endlocal
pause

Linux

Binary:

Compile from source:

git clone https://github.com/VeriBlock/ProgPoW-miner
cd ProgPOW-miner
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DETHASHCUDA=ON
make -sj8

Pool

If anyone is interested in making their own pool, it is the same steps as before:

HowTo_run_and_connect_to_PoW_Miner_pool

This will need an updated NodeCore instance, which will be provided.

List of Pools

Also see:

https://wiki.veriblock.org/index.php/List_of_mining_pools