Claymore

Claymore 的問題無法為 GPU 0 建構 OpenCL

  • March 7, 2018

目前我無法使用Claymores軟體開始挖礦。我完全遵循CryptoBadgers指南:

http://www.cryptobadger.com/2017/04/build-ethereum-mining-rig-linux/

當我嘗試通過鍵入此命令啟動我的礦工時,我不斷收到此錯誤

./miner.sh

ETH: 1 pool is specified
Main Ethereum pool is us1.ethermine.org:4444

Catalyst 15.12 is REQUIRED for best performance and compatibility
For Polaris cards, use latest drivers
At least 16 GB of Virtual Memory is required for multi-GPU systems
Make sure you defined GPU_MAX_ALLOC_PERCENT 100
Be careful with overclocking, use default clocks for first tests
Press "s" for current statistics, "0".."9" to turn on/off cards, "r" to reload pools, "e" or "d" to select current pool
OpenCL initializing...

AMD Cards available: 1
GPU #0: Pitcairn, 3072 MB available, 8 compute units
POOL/SOLO version
Cannot build OpenCL program for GPU 0
Segmentation fault (core dumped)

我目前正在使用Radeon R9 370作為 GPU,並安裝了以下驅動程序:

http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx

這也在Xubuntu 16.04.2上。

礦工設置:

#!/bin/sh
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100

./ethdcrminer64 -epool us1.ethermine.org:4444 -ewal 4d562bdab44696995251dd7bf743bbaf09b8b16e.Miner01 -epsw x -mode 1 -tt 68 -allpools 1

誰能解釋我必須做些什麼來解決以下錯誤?

Cannot build OpenCL program for GPU 0
Segmentation fault (core dumped)

我有同樣的問題,當我刪除這些問題時它起作用了:

export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100

我也沒有使用 start.sh,我使用了控制台:

./ethdcrminer64 -epool eth-eu1.nanopool.org:9999 -ewal 0x<wallet>.<rig>/<mail> -epsw x -mode 1 -ftime 10
  1. 確保從http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx安裝了 AMDPRO 驅動程序
  2. 通過執行測試您的驅動程序版本
dpkg -l amdgpu-pro
  1. 許多顯卡不支持 Ubuntu 下的GPU_FORCE_64BIT_PTR=0設置。

從您的環境或您的 miner.sh 文件中刪除此設置:

   #export GPU_FORCE_64BIT_PTR=0
   export GPU_MAX_HEAP_SIZE=100
   export GPU_USE_SYNC_OBJECTS=1
   export GPU_MAX_ALLOC_PERCENT=100
   export GPU_SINGLE_ALLOC_PERCENT=100
   ./ethdcrminer64 <your parameters here>

希望這可以幫助

引用自:https://ethereum.stackexchange.com/questions/18594