Primecoin XPM GPU Miner for xpmpool (aka. madPrimeMiner)
C++ C Other
Switch branches/tags
Clone or download
Pull request Compare This branch is 15 commits ahead of madMAx43v3r:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings open source release May 9, 2014
cmake Remove binaries from git; Use CMake build system; speedup to 13.xx CP… Jul 14, 2014
config4cpp Remove binaries from git; Use CMake build system; speedup to 13.xx CP… Jul 14, 2014
gpu Full NVidia Maxwell support; HD5xxx & HD6xxx cards compatible Jun 28, 2015
.cproject open source release May 9, 2014
.project open source release May 9, 2014
CMakeLists.txt Filter nonces by primorial multiplier size; remove protobuf generated… Oct 30, 2014
README.md Update README.md Nov 4, 2014
adl.cpp Fix ADL problems on Windows + some small optimizations Jul 20, 2014
adl.h Fix ADL problems on Windows + some small optimizations Jul 20, 2014
adl_defines.h open source release May 9, 2014
adl_functions.h open source release May 9, 2014
adl_sdk.h open source release May 9, 2014
adl_structures.h open source release May 9, 2014
baseclient.cpp Benchmark mode added; miner kernel parameters moved to config.txt Sep 23, 2014
baseclient.h Platform selection support (amd/nvidia) Oct 5, 2014
benchmarks.cpp Full NVidia Maxwell support; HD5xxx & HD6xxx cards compatible Jun 28, 2015
benchmarks.h Prepare for full NVidia Maxwell support Jun 23, 2015
compile.txt open source release May 9, 2014
cprotocol.proto open source release May 9, 2014
opencl.h Full NVidia Maxwell support; HD5xxx & HD6xxx cards compatible Jun 28, 2015
prime.cpp Fermat test fine tuning; Implement pre-calculations for SHA256; Using… Oct 22, 2014
prime.h Fermat test fine tuning; Implement pre-calculations for SHA256; Using… Oct 22, 2014
primes.cpp open source release May 9, 2014
primes.txt open source release May 9, 2014
protocol.proto Filter nonces by primorial multiplier size; remove protobuf generated… Oct 30, 2014
sha256.cpp Fermat test fine tuning; Implement pre-calculations for SHA256; Using… Oct 22, 2014
sha256.h Fermat test fine tuning; Implement pre-calculations for SHA256; Using… Oct 22, 2014
sysinfo.h open source release May 9, 2014
uint256.h open source release May 9, 2014
xpmclient.cpp Full NVidia Maxwell support; HD5xxx & HD6xxx cards compatible Jun 28, 2015
xpmclient.h Full NVidia Maxwell support; HD5xxx & HD6xxx cards compatible Jun 28, 2015

README.md

Primecoin XPM GPU Miner for xpmpool (aka. madPrimeMiner)

See: https://bitcointalk.org/index.php?topic=831708.0

The miner works with:

  • OpenCL (AMD or NVidia)
  • ZEROMQ message system & CZMQ library (+ libsodium on Linux)
  • Google protobuf protocol
  • GMP
  • CMake build system

How to compile:

  • Build dependencies
  • Create directory for build client
  • Run cmake and make:

cmake ../xpmclient -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

make -j5

"../xpmclient" - directory with client source;

/opt/AMDAPP/lib/x86_64/libOpenCL.so - path to OpenCL library in AMD APP SDK directory

For static build on linux (without additional dependencies) run:

cmake ../xpmclient -DInstallPrefix=/opt/x86_64-Linux-static -DSTATIC_BUILD=1 -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

/opt/x86_64-Linux-static - directory with static builds of ZMQ, CZMQ, GMP, protobuf

For cross-compiling for Windows using mingw:

cmake ../xpmclient -DCMAKE_TOOLCHAIN_FILE=../xpmclient/cmake/Toolchain-cross-mingw32-linux.cmake -DInstallPrefix=/opt/mingw32 -DOPENCL_LIBRARY=/opt/mingw32/lib/x86/OpenCL.lib

/opt/mingw32 - install directory for mingw builds of libraries ZMQ, CZMQ, GMP, protobuf

/opt/mingw32/lib/x86/OpenCL.lib - path to OpenCL library for Win32