Not sure if the problems I encountered was because of the cpu
model name : VIA Nano processor U2250 (1.6GHz)
but in the end I was able to get it to work (although 0 Sol/s). This is what happened and what I did.
Following the guide:
sudo apt-get install cmake build-essential libboost-all-dev
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 .
make -j $(nproc)
I encountered an issue when executing make -j $(nproc)
CPU you selected does not support x86-64 instruction set
I fixed this by changing
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") to
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=x86-64")
Everything compiled until reaching StratumClient.cpp where I got a bunch of errors relating to
undefined reference to boost::log::v2_mt_posix
I fixed this by changing
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -DBOOST_LOG_DYN_LINK) to
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -DBOOST_LOG_DYN_LINK=1)
StratumClient.cpp compiled without issues.
I get 0 Sol/s when I benchmark, I assume it's because of the cpu?
architecture : x86_64
CPU op-mode(s) : 32-bit, 64-bit
byte order : Little Endian
vendor_id : CentaurHauls
cpu family : 6
model : 15
model name : VIA Nano processor U2250 (1.6GHz Capable)
stepping : 3
cpu MHz : 1599.822
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm pbe syscall nx lm constant_tsc rep_good nopl pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en ace2 phe phe_en lahf_lm
bogomips : 3199.64
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
Not sure if the problems I encountered was because of the cpu
but in the end I was able to get it to work (although 0 Sol/s). This is what happened and what I did.
Following the guide:
I encountered an issue when executing
make -j $(nproc)
I fixed this by changing
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
toset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=x86-64")
Everything compiled until reaching
StratumClient.cpp
where I got a bunch of errors relating toI fixed this by changing
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -DBOOST_LOG_DYN_LINK)
toadd_definitions(-DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -DBOOST_LOG_DYN_LINK=1)
StratumClient.cpp
compiled without issues.I get 0 Sol/s when I benchmark, I assume it's because of the cpu?