Linux
如何用 CPU 配置 CGMiner?
我想開始在 CPU 上探勘比特幣以進行測試。我已經下載了 CGMiner,編譯它並創建了一個配置文件,沒有任何問題,但是啟動它會導致錯誤消息:
所有設備都被禁用,不能我的!
為了讓 CGMiner 將我的 CPU 視為設備,我需要做什麼?
建構源時使用:
./configure --enable-cpumining && make
在配置階段結束時,您將看到已啟用的列表,如下所示:
------------------------------------------------------------------------ cgminer 2.9.6 ------------------------------------------------------------------------ Configuration Options Summary: curses.TUI...........: FOUND: -lncurses OpenCL...............: NOT FOUND. GPU mining support DISABLED scrypt...............: Disabled (needs OpenCL) ADL..................: SDK NOT found, GPU monitoring support DISABLED BitForce.FPGAs.......: Disabled Icarus.FPGAs.........: Disabled ModMiner.FPGAs.......: Disabled Ztex.FPGAs...........: Disabled CPU Mining...........: Enabled ASM.(for CPU mining).: true Compilation............: make (or gmake) CPPFLAGS.............: CFLAGS...............: -g -O2 LDFLAGS..............: -lpthread LDADD................: -lcurl compat/jansson/libjansson.a -lpthread -lm Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr/local
您可以使用 ./configure –help 獲取支持的選項列表(配置的標準行為)