Nordlandia wrote:What to do with makefile in order to compile it?
Assuming you have a compiler and (the utility named) make installed (and have some idea what you're doing )
Type
make help
and read about the options.
It compiled with the original makefile without problem for TDM-GCC directly out of the 'box' Here is a BMI2 Windows compile. Ah, I see Ronald has provided his own compiles now.
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Do you know if we can build one for MacOS?
I just tried running "make build ARCH=x86-64-modern" (like I do for the master Stockfish) but I'm getting:
<...>
In file included from benchmark.c:30:
In file included from ./settings.h:4:
./numa.h:7:10: error: 'numa.h' file not found with <angled> include; use "quotes" instead
#include <numa.h>
^~~~~~~~
"numa.h"
1 error generated.
make[1]: *** [benchmark.o] Error 1
make: *** [build] Error 2
I see there's a Linux binary so I was hoping we could get one for MacOS
Surprisingly, the Stockfish compile seems to be clearly faster.
I never did this comparison till now and expected CFish to be faster, perhaps someone can cross check this.
Surprisingly, the Stockfish compile seems to be clearly faster.
I never did this comparison till now and expected CFish to be faster, perhaps someone can cross check this.
On Linux/Wine on my Sandy Bridge i7-3930K, the Cfish binary is faster.
On Linux/Wine on my Kaby Lake i7-7560U laptop, Cfish is again faster. Same for the bmi2 versions.
Andre wrote:Do you know if we can build one for MacOS?
I just tried running "make build ARCH=x86-64-modern" (like I do for the master Stockfish) but I'm getting:
You could try "make build ARCH=x86-64-modern numa=no".
Surprisingly, the Stockfish compile seems to be clearly faster.
I never did this comparison till now and expected CFish to be faster, perhaps someone can cross check this.
On Linux/Wine on my Sandy Bridge i7-3930K, the Cfish binary is faster.
On Linux/Wine on my Kaby Lake i7-7560U laptop, Cfish is again faster. Same for the bmi2 versions.
How are you measuring? Default bench?
Yes, Default bench, here are the results:
Core I7 4790k Haswell 4GHz Windows7:
cfish_9_x64_bmi2_windows.exe:
===========================
Total time (ms) : 1873
Nodes searched : 5023629
Nodes/second : 2682129
stockfish_9_x64_bmi2.exe
===========================
Total time (ms) : 1815
Nodes searched : 5023629
Nodes/second : 2767839
Core I7 3770k 3.5GHz Sandy Bridge Windows 7:
cfish_9_x64_modern_windows.exe
===========================
Total time (ms) : 2466
Nodes searched : 5023629
Nodes/second : 2037156
stockfish_9_x64_popcnt.exe
===========================
Total time (ms) : 2295
Nodes searched : 5023629
Nodes/second : 2188945