nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 582 forks source link

use only cpu #384

Closed ghost closed 6 years ago

ghost commented 6 years ago

cmake : cmake CMakeLists.txt -- USE_CPU_XENONCAT DEFINED -- USE_CUDA_DJEZO DEFINED -- Boost version: 1.62.0 -- Found the following Boost libraries: -- system -- log_setup -- log -- date_time -- filesystem -- thread -- regex -- chrono -- atomic -- CXXFLAGS: -std=c++11 -m64 -msse2 -- LIBS: /usr/lib/x86_64-linux-gnu/libboost_system.a;/usr/lib/x86_64-linux-gnu/libboost_log_setup.a;/usr/lib/x86_64-linux-gnu/libboost_log.a;/usr/lib/x86_64-linux-gnu/libboost_date_time.a;/usr/lib/x86_64-linux-gnu/libboost_filesystem.a;/usr/lib/x86_64-linux-gnu/libboost_thread.a;/usr/lib/x86_64-linux-gnu/libboost_regex.a;/usr/lib/x86_64-linux-gnu/libboost_chrono.a;/usr/lib/x86_64-linux-gnu/libboost_atomic.a;/usr/lib/x86_64-linux-gnu/libpthread.a CUDA FOUND -- CUDA_NVCC_FLAGS: -D_FORCE_INLINES;--disable-warnings;--ptxas-options=-v;-Xptxas=-dlcm=ca;-Xptxas=-dscm=cs;-O3;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60 -- Configuring done -- Generating done -- Build files have been written to: /root/nhe/nheqminer-0.5c

make : [ 4%] Building NVCC (Device) object cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo_generated_equi_miner.cu.o In file included from /root/nhe/nheqminer-0.5c/cuda_djezo/equi_miner.cu:76:0: /root/nhe/nheqminer-0.5c/cuda_djezo/eqcuda.hpp:6:36: fatal error: device_functions_decls.h: No such file or directory

include "device_functions_decls.h"

                                ^

compilation terminated. CMake Error at cuda_djezo_generated_equi_miner.cu.o.cmake:222 (message): Error generating /root/nhe/nheqminer-0.5c/cuda_djezo/CMakeFiles/cuda_djezo.dir//./cuda_djezo_generated_equi_miner.cu.o

cuda_djezo/CMakeFiles/cuda_djezo.dir/build.make:63: recipe for target 'cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo_generated_equi_miner.cu.o' failed make[2]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo_generated_equi_miner.cu.o] Error 1 CMakeFiles/Makefile2:178: recipe for target 'cuda_djezo/CMakeFiles/cuda_djezo.dir/all' failed make[1]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

how to use only CPU (i have only CPU XEON)

Thanks

ghost commented 6 years ago

//#include "device_functions_decls.h"