Difference between revisions of "HowTo run vProgPoW GPU Miner"

From Veriblock Wiki
Jump to: navigation, search
Line 31: Line 31:
 
Binary:
 
Binary:
  
* https://mirror2.veriblock.org/vProgPoW_VBK-miner-windows-cuda10_2.zip
+
* https://github.com/VeriBlock/nodecore-releases/releases/download/vProgPoW-GPU-Miner/vProgPoW_VBK-miner-windows-cuda10_2.zip
* https://mirror2.veriblock.org/vProgPoW_VBK-miner-windows-cuda11.zip
+
* https://github.com/VeriBlock/nodecore-releases/releases/download/vProgPoW-GPU-Miner/vProgPoW_VBK-miner-windows-cuda11.zip
  
 
Compile from source:
 
Compile from source:

Revision as of 16:56, 21 September 2020

See: ProgPoW

Overview

vProgPoW operation information

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:

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 address (or leave default) and pool information (or leave on the default devpool option)
  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