GPU-CUDA Miner

📘

Windows and Linux Miners

This external miner assumes you will be mining with a Linux Ubuntu machine. Our community has developed other mining software compatible with both Windows and Linux. Links can be found in our external resources section.

Prerequisites

You will need:

Set-up

  1. Download the pre-built GPU miner binary aionminer_CUDA.tar.bz2 from the aion_miner release page
  2. Extract the aionminer folder to the desired location
  3. Run the aionminer file with the desired parameter values:
ParameterInputDescription
-hhelpPrint this help message and quits
-llocationStratum server:port
-uusernameUsername (aion address)
-aportLocal API port (default: 0 = do not bind)
-dlevelDebug print level (0 : print all, 5 : fatal only, default: 2)
-bbenchmark[=arg(=200)] Run in benchmark mode (default: 200 iterations)
ciinformationShow CUDA info
-cvsolverCUDA solver (0 = djeZo, 1 = tromp, default=1)
-cddevicesEnable mining on spec. devices
-cbblocksNumber of blocks (per device)
-ctthreadsNumber of threads per block (per device)

Please refer to the above GPU-CUDA Miner Parameters. The following example will run the AION CUDA miner with 64 blocks and 64 threads per block on device 0 using solver version 1 (CUDA Tromp):

./aionminer -cd 0 -cv 1 -cb 64 -ct 64 -u {0xacc}

Running a benchmark on your GPU (optional):

The benchmark will assess the performance of your GPU configuration by running 200 blocks.

This example will run a benchmark on your GPU using 64 blocks and 64 threads per block on device 0 and the CUDA-Tromp solver:

./aionminer -cd 0 -cv 1 -cb 64 -ct 64 -b