How to use nheqminer in RedHat based systems (CentOS/Fedora)

This is actually a how to, please add to your project.
This is to solve a problem with the boost_log in some systems, and actually to solve to any system with problems with boost libraries.

You must download:
http://downloads.sourceforge.net/project/boost/boost/1.62.0/boost_1_62_0.tar.gz

And then place it somewhere that makes sense, like /opt, and run:

  • tar -xzvf boost_1_62_0.tar.gz
  • cd boost_1_62_0
  • ./bootstrap.sh
  • ./b2

I do particularly recommend to use a symbolic link, to avoid future problems with library actualization, so use something like: /opt/boost

And then run the comands:

  • git clone -b Linux https://github.com/nicehash/nheqminer.git
  • cd nheqminer/cpu_xenoncat/Linux/asm/
  • sh assemble.sh
  • cd ../../../Linux_cmake/nheqminer_cpu_xenoncat
  • cmake . -DBOOST_ROOT=/opt/boost -DBOOST_LIBRARYDIR=/opt/boost/libs
  • make -j $(nproc)

Run using:

  • nheqminer/Linux_cmake/nheqminer_cpu/./nheqminer_cpu -t 4 -l pool:port -u user.worker -p pass

Change the -t parameter (4) to your number of CPU cores.

转载于:https://my.oschina.net/renliangrong/blog/920160

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值