Comments (8)
core2 arch isn't supported, xmr-stak-cpu requires CPUs with AES instructions. It won't work.
X5690 does say it has AES-NI support, so not sure why it's getting "Illegal instruction".
Did you compile on the X5690 using the default CmakeList.txt ?
from xmr-stak-cpu.
My server does not have gcc-5, so I compile it on my own computer. My computer is Ubuntu 14.04 with gcc-5.4 and g++-5.4. When I use the default CMakeList.txt, everything is OK, but if I add "-march=core2" or "-march=core-avx" to CMAKE_C_FLAGS, the compiler print error msgs I showed above. I think you can reproduce this error by just adding "-march=core2" to CMAKE_C_FLAGS.
from xmr-stak-cpu.
About my server, I does support SSE2 and AES.
Part of /proc/cpuinfo:
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
The output of cpuminer-multi compiled with "-march=core2" option:
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
Modified by NiceHash (www.nicehash.com)
[2017-01-08 15:45:01] Using JSON-RPC 2.0
[2017-01-08 15:45:01] CPU Supports AES-NI: YES
[2017-01-08 15:45:01] 12 miner threads started, using 'cryptonight' algorithm.
BTW, is there any difference between AES and AES-NI ?
from xmr-stak-cpu.
See the newest changes, there is a static build option now. Use that on your gcc 5.x+ machine to compile and copy binary over. Don't change march, it should be 'westmere' (default).
from xmr-stak-cpu.
The 'westmere' works~ Thank you!
BTW, why the default option is '-march=westmere'? Is it the minimum requirement to compile this program?
from xmr-stak-cpu.
Yes, Westmere is the mininmum core that has AES. Keep in mind if you have a motherboard that was built for Nehalem you will need to update BIOS.
from xmr-stak-cpu.
Get it. Thanks a lot!
from xmr-stak-cpu.
This can be closed.
from xmr-stak-cpu.
Related Issues (20)
- Getting only 140 h/s with AMD Threadripper 1950x HOT 1
- The program locks on this part HOT 1
- Can't enable all logical processors on multi cpu
- SOCKET ERROR - [pool.sumokoin.com:443] SEND error: An established connection was aborted by the software in your host machine. HOT 5
- We can doante it,Can you updata this version xmr-stak-cpu for us to mine xmr v7?thank you HOT 1
- Panda Antivirus showing xmr-stak-cpu.exe as trojan HOT 2
- cent os 7 , Result rejected by the pool. HOT 3
- Low hashrate on Xeon E5-2620 HOT 2
- remote throttling ? HOT 2
- Invalid config file 'config.txt'. Missing value "print_m otd". HOT 2
- stak crashes on one rig HOT 1
- hwloc: can't bind memory on linux
- Anybody who know how I can update to hardforked monero algorithm? HOT 3
- [2019-07-17 09:04:46] : JSON config parse error(offset 6151): Invalid escape character in string. HOT 1
- Linux how to compile all dependencies in the executable HOT 1
- [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-rx-win64-1.0.1/xmrstak/blackend/nvidia/RandomX/randomx.cu>:33
- [xmr-stak-rx-linux-1.0.5-cpu] hwloc 2.2.0 received invalid information from the operating system.
- xmr-stak flowchart
- error with httpd? during build and compile HOT 2
- Error gpu, can't use more than 4 gpu.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmr-stak-cpu.