Crafty 25.6

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty 25.6

Post by Dann Corbit »

I just switched from the MS intrinsics to the gcc intrinsics and compiled with gcc under MSYS2.
There is an older binary in a subfolder, but the binary I just built is called crafty-windows-gcc.exe.
You can find it in here in the src folder:
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty 25.6

Post by Dann Corbit »

Some xboard output:

Code: Select all

F:\project\dcorbit\Crafty-master\src>crafty-windows-gcc.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is SMP, not NUMA.

Crafty v25.6

machine has 12 processors

White(1): uci
Illegal move: uci
White(1): xboard

tellicsnoalias set 1 Crafty v25.6 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.6! (1 cpus)
new
NOTICE:  new command not implemented, please exit and
restart crafty to re-initialize everything for a new game
post
autotune
ERROR: smpmt must be set to > 1 for tuning to work
smpmt=11
Warning--  xboard 'cores' option disabled
st 99
go
      19     22     105 18808242 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4 (s=2)
      19     22     121 21257394 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4
      20     25     179 34088446 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      20     25     183 34748582 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      21     25     207 39833432 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      21     25     219 42919557 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      22     29     268 56109593 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      22     29     275 57999339 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      23     30     339 76419641 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      23     30     350 79562652 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      24     29     614 157275861 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      24     29     636 163402748 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      25     20     789 208119348 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3 (s=2)
      26     20    1875 535113983 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      26     20    2075 585647261 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      27     24    2396 685169883 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      27     24    2532 716111442 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      28     26    3110 889429743 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7 (s=2)
      28     26    3377 958869893 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7
      29     23    4252 1242098274 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
      29     23    4991 1472784458 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
move e4
feature done=1
quit
I compiled static so it does not need any DLL files.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
Graham Banks
Posts: 41424
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Crafty 25.6

Post by Graham Banks »

Dann Corbit wrote: Tue Feb 11, 2020 9:48 pm I just switched from the MS intrinsics to the gcc intrinsics and compiled with gcc under MSYS2.
There is an older binary in a subfolder, but the binary I just built is called crafty-windows-gcc.exe.
You can find it in here in the src folder:
Thanks, Dann.
gbanksnz at gmail.com
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB »

Dann Corbit wrote: Tue Feb 11, 2020 9:50 pm Some xboard output:

Code: Select all

F:\project\dcorbit\Crafty-master\src>crafty-windows-gcc.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is SMP, not NUMA.

Crafty v25.6

machine has 12 processors

White(1): uci
Illegal move: uci
White(1): xboard

tellicsnoalias set 1 Crafty v25.6 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.6! (1 cpus)
new
NOTICE:  new command not implemented, please exit and
restart crafty to re-initialize everything for a new game
post
autotune
ERROR: smpmt must be set to > 1 for tuning to work
smpmt=11
Warning--  xboard 'cores' option disabled
st 99
go
      19     22     105 18808242 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4 (s=2)
      19     22     121 21257394 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4
      20     25     179 34088446 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      20     25     183 34748582 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      21     25     207 39833432 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      21     25     219 42919557 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      22     29     268 56109593 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      22     29     275 57999339 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      23     30     339 76419641 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      23     30     350 79562652 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      24     29     614 157275861 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      24     29     636 163402748 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      25     20     789 208119348 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3 (s=2)
      26     20    1875 535113983 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      26     20    2075 585647261 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      27     24    2396 685169883 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      27     24    2532 716111442 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      28     26    3110 889429743 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7 (s=2)
      28     26    3377 958869893 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7
      29     23    4252 1242098274 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
      29     23    4991 1472784458 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
move e4
feature done=1
quit
I compiled static so it does not need any DLL files.
I'm getting some impressive bench numbers here - totally untuned

Code: Select all

# crafty.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is NUMA. 2 nodes reported by Windows
Node 0 CPUs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Node 1 CPUs:
Current ideal CPU is 34

Crafty v25.6

machine has 64 processors

White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): mt = 48 >> crafty is known to play better with threads set to real cores
max threads set to 48.
White(1): crafty.exe
Illegal move: crafty.exe
White(1): bench +12  >> . . .  to increase depth
Running serial benchmark (modifying depth by 12 plies)  
pos:  1(49.7M)  2(80.7M)  3(74.5M)  4(89.8M)  5(75.4M)  6(139.4M)  7(38.8M)
pos:  8(43.7M)  9(133.1M) 10(63.2M) 11(40.9M) 12(134.7M) 13(42.7M) 14(177.7M)
pos: 15(213.5M) 16(74.0M) 17(41.8M) 18(215.1M) 19(194.9M) 20(16.9M) 21(79.7M)
pos: 22(109.8M) 23(34.7M) 24(176.0M) 25(210.0M) 26(14.6M) 27(45.4M) 28(132.5M)
pos: 29(58.7M) 30(102.2M) 31(215.4M) 32(196.5M) 33(162.3M) 34(46.7M) 35(34.2M)
pos: 36(156.5M) 37(46.2M) 38(102.9M) 39(150.4M) 40(44.4M) 41(130.7M) 42(161.1M)
pos: 43(83.2M) 44(202.3M) 45(61.9M) 46(248.8M) 47(132.6M) 48(64.0M) 49(5.7M)
pos: 50(147.2M) 51(146.8M) 52(149.4M) 53(129.7M) 54(2.1M) 55(82.7M) 56(53.5M)
pos: 57(15.4M) 58(103.9M) 59(60.6M) 60(151.9M) 61(101.9M) 62(27.9M) 63(213.2M)
pos: 64(134.3M)


Total nodes: 193779512040
Raw nodes per second: 206273497
Total elapsed time: 939.43


White(1):
for anybody who wants to try this Windows exe

https://www.dropbox.com/s/656h98y7k028p ... y.zip?dl=0
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB »

MikeB wrote: Wed Feb 12, 2020 4:29 am
Dann Corbit wrote: Tue Feb 11, 2020 9:50 pm Some xboard output:

Code: Select all

F:\project\dcorbit\Crafty-master\src>crafty-windows-gcc.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is SMP, not NUMA.

Crafty v25.6

machine has 12 processors

White(1): uci
Illegal move: uci
White(1): xboard

tellicsnoalias set 1 Crafty v25.6 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.6! (1 cpus)
new
NOTICE:  new command not implemented, please exit and
restart crafty to re-initialize everything for a new game
post
autotune
ERROR: smpmt must be set to > 1 for tuning to work
smpmt=11
Warning--  xboard 'cores' option disabled
st 99
go
      19     22     105 18808242 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4 (s=2)
      19     22     121 21257394 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4
      20     25     179 34088446 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      20     25     183 34748582 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      21     25     207 39833432 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      21     25     219 42919557 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      22     29     268 56109593 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      22     29     275 57999339 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      23     30     339 76419641 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      23     30     350 79562652 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      24     29     614 157275861 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      24     29     636 163402748 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      25     20     789 208119348 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3 (s=2)
      26     20    1875 535113983 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      26     20    2075 585647261 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      27     24    2396 685169883 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      27     24    2532 716111442 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      28     26    3110 889429743 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7 (s=2)
      28     26    3377 958869893 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7
      29     23    4252 1242098274 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
      29     23    4991 1472784458 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
move e4
feature done=1
quit


I compiled static so it does not need any DLL files.
I'm getting some impressive bench numbers here - totally untuned

Code: Select all

# crafty.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is NUMA. 2 nodes reported by Windows
Node 0 CPUs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Node 1 CPUs:
Current ideal CPU is 34

Crafty v25.6

machine has 64 processors

White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): mt = 48 >> crafty is known to play better with threads set to real cores
max threads set to 48.
White(1): crafty.exe
Illegal move: crafty.exe
White(1): bench +12  >> . . .  to increase depth
Running serial benchmark (modifying depth by 12 plies)  
pos:  1(49.7M)  2(80.7M)  3(74.5M)  4(89.8M)  5(75.4M)  6(139.4M)  7(38.8M)
pos:  8(43.7M)  9(133.1M) 10(63.2M) 11(40.9M) 12(134.7M) 13(42.7M) 14(177.7M)
pos: 15(213.5M) 16(74.0M) 17(41.8M) 18(215.1M) 19(194.9M) 20(16.9M) 21(79.7M)
pos: 22(109.8M) 23(34.7M) 24(176.0M) 25(210.0M) 26(14.6M) 27(45.4M) 28(132.5M)
pos: 29(58.7M) 30(102.2M) 31(215.4M) 32(196.5M) 33(162.3M) 34(46.7M) 35(34.2M)
pos: 36(156.5M) 37(46.2M) 38(102.9M) 39(150.4M) 40(44.4M) 41(130.7M) 42(161.1M)
pos: 43(83.2M) 44(202.3M) 45(61.9M) 46(248.8M) 47(132.6M) 48(64.0M) 49(5.7M)
pos: 50(147.2M) 51(146.8M) 52(149.4M) 53(129.7M) 54(2.1M) 55(82.7M) 56(53.5M)
pos: 57(15.4M) 58(103.9M) 59(60.6M) 60(151.9M) 61(101.9M) 62(27.9M) 63(213.2M)
pos: 64(134.3M)


Total nodes: 193779512040
Raw nodes per second: 206273497
Total elapsed time: 939.43


White(1):
for anybody who wants to try this Windows exe

https://www.dropbox.com/s/656h98y7k028p ... y.zip?dl=0
After one quick autotune, it cut the bench +12 almost to 1/2 the time, while still maintaining the 200M+ nps

Code: Select all

White(1): mt = 48
max threads set to 48.
White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): bench +12
Running serial benchmark (modifying depth by 12 plies). . .
pos:  1(53.5M)  2(113.9M)  3(97.8M)  4(85.8M)  5(95.3M)  6(152.6M)  7(40.0M)
pos:  8(53.8M)  9(131.0M) 10(51.6M) 11(43.1M) 12(149.9M) 13(38.4M) 14(237.4M)
pos: 15(261.2M) 16(89.7M) 17(40.2M) 18(99.5M) 19(178.4M) 20(18.7M) 21(121.9M)
pos: 22(119.2M) 23(35.9M) 24(114.2M) 25(232.8M) 26(18.7M) 27(46.1M) 28(178.7M)
pos: 29(55.0M) 30(127.2M) 31(219.0M) 32(143.9M) 33(158.5M) 34(43.5M) 35(40.4M)
pos: 36(169.2M) 37(42.0M) 38(105.4M) 39(205.6M) 40(59.2M) 41(171.9M) 42(292.7M)
pos: 43(127.3M) 44(161.1M) 45(63.9M) 46(168.7M) 47(147.4M) 48(69.4M) 49(8.4M)
pos: 50(183.6M) 51(132.9M) 52(145.8M) 53(150.7M) 54(3.0M) 55(140.8M) 56(48.8M)
pos: 57(19.0M) 58(128.9M) 59(67.6M) 60(145.5M) 61(103.5M) 62(22.4M) 63(130.7M)
pos: 64(170.6M)


Total nodes: 107335355335
Raw nodes per second: 203765197
Total elapsed time: 526.76


White(1):
Image
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Crafty 25.6

Post by Ferdy »

MikeB wrote: Wed Feb 12, 2020 6:15 am
MikeB wrote: Wed Feb 12, 2020 4:29 am
Dann Corbit wrote: Tue Feb 11, 2020 9:50 pm Some xboard output:

Code: Select all

F:\project\dcorbit\Crafty-master\src>crafty-windows-gcc.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is SMP, not NUMA.

Crafty v25.6

machine has 12 processors

White(1): uci
Illegal move: uci
White(1): xboard

tellicsnoalias set 1 Crafty v25.6 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.6! (1 cpus)
new
NOTICE:  new command not implemented, please exit and
restart crafty to re-initialize everything for a new game
post
autotune
ERROR: smpmt must be set to > 1 for tuning to work
smpmt=11
Warning--  xboard 'cores' option disabled
st 99
go
      19     22     105 18808242 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4 (s=2)
      19     22     121 21257394 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4
      20     25     179 34088446 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      20     25     183 34748582 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      21     25     207 39833432 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      21     25     219 42919557 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      22     29     268 56109593 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      22     29     275 57999339 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      23     30     339 76419641 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      23     30     350 79562652 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      24     29     614 157275861 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      24     29     636 163402748 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      25     20     789 208119348 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3 (s=2)
      26     20    1875 535113983 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      26     20    2075 585647261 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      27     24    2396 685169883 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      27     24    2532 716111442 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      28     26    3110 889429743 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7 (s=2)
      28     26    3377 958869893 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7
      29     23    4252 1242098274 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
      29     23    4991 1472784458 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
move e4
feature done=1
quit


I compiled static so it does not need any DLL files.
I'm getting some impressive bench numbers here - totally untuned

Code: Select all

# crafty.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is NUMA. 2 nodes reported by Windows
Node 0 CPUs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Node 1 CPUs:
Current ideal CPU is 34

Crafty v25.6

machine has 64 processors

White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): mt = 48 >> crafty is known to play better with threads set to real cores
max threads set to 48.
White(1): crafty.exe
Illegal move: crafty.exe
White(1): bench +12  >> . . .  to increase depth
Running serial benchmark (modifying depth by 12 plies)  
pos:  1(49.7M)  2(80.7M)  3(74.5M)  4(89.8M)  5(75.4M)  6(139.4M)  7(38.8M)
pos:  8(43.7M)  9(133.1M) 10(63.2M) 11(40.9M) 12(134.7M) 13(42.7M) 14(177.7M)
pos: 15(213.5M) 16(74.0M) 17(41.8M) 18(215.1M) 19(194.9M) 20(16.9M) 21(79.7M)
pos: 22(109.8M) 23(34.7M) 24(176.0M) 25(210.0M) 26(14.6M) 27(45.4M) 28(132.5M)
pos: 29(58.7M) 30(102.2M) 31(215.4M) 32(196.5M) 33(162.3M) 34(46.7M) 35(34.2M)
pos: 36(156.5M) 37(46.2M) 38(102.9M) 39(150.4M) 40(44.4M) 41(130.7M) 42(161.1M)
pos: 43(83.2M) 44(202.3M) 45(61.9M) 46(248.8M) 47(132.6M) 48(64.0M) 49(5.7M)
pos: 50(147.2M) 51(146.8M) 52(149.4M) 53(129.7M) 54(2.1M) 55(82.7M) 56(53.5M)
pos: 57(15.4M) 58(103.9M) 59(60.6M) 60(151.9M) 61(101.9M) 62(27.9M) 63(213.2M)
pos: 64(134.3M)


Total nodes: 193779512040
Raw nodes per second: 206273497
Total elapsed time: 939.43


White(1):
for anybody who wants to try this Windows exe

https://www.dropbox.com/s/656h98y7k028p ... y.zip?dl=0
After one quick autotune, it cut the bench +12 almost to 1/2 the time, while still maintaining the 200M+ nps

Code: Select all

White(1): mt = 48
max threads set to 48.
White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): bench +12
Running serial benchmark (modifying depth by 12 plies). . .
pos:  1(53.5M)  2(113.9M)  3(97.8M)  4(85.8M)  5(95.3M)  6(152.6M)  7(40.0M)
pos:  8(53.8M)  9(131.0M) 10(51.6M) 11(43.1M) 12(149.9M) 13(38.4M) 14(237.4M)
pos: 15(261.2M) 16(89.7M) 17(40.2M) 18(99.5M) 19(178.4M) 20(18.7M) 21(121.9M)
pos: 22(119.2M) 23(35.9M) 24(114.2M) 25(232.8M) 26(18.7M) 27(46.1M) 28(178.7M)
pos: 29(55.0M) 30(127.2M) 31(219.0M) 32(143.9M) 33(158.5M) 34(43.5M) 35(40.4M)
pos: 36(169.2M) 37(42.0M) 38(105.4M) 39(205.6M) 40(59.2M) 41(171.9M) 42(292.7M)
pos: 43(127.3M) 44(161.1M) 45(63.9M) 46(168.7M) 47(147.4M) 48(69.4M) 49(8.4M)
pos: 50(183.6M) 51(132.9M) 52(145.8M) 53(150.7M) 54(3.0M) 55(140.8M) 56(48.8M)
pos: 57(19.0M) 58(128.9M) 59(67.6M) 60(145.5M) 61(103.5M) 62(22.4M) 63(130.7M)
pos: 64(170.6M)


Total nodes: 107335355335
Raw nodes per second: 203765197
Total elapsed time: 526.76


White(1):
Dann's compile worked for me. BTW what is the command to set Crafty to play around Elo 1500?
User avatar
Guenther
Posts: 4606
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Crafty 25.6

Post by Guenther »

Dann Corbit wrote: Tue Feb 11, 2020 9:48 pm I just switched from the MS intrinsics to the gcc intrinsics and compiled with gcc under MSYS2.
There is an older binary in a subfolder, but the binary I just built is called crafty-windows-gcc.exe.
You can find it in here in the src folder:
This seems to be a popcnt version? I guess I need to compile my own version, but there are so
tiny changes (for game play and strength), that I doubt it would be interesting for me anyway.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB »

Ferdy wrote: Wed Feb 12, 2020 9:46 am
MikeB wrote: Wed Feb 12, 2020 6:15 am
MikeB wrote: Wed Feb 12, 2020 4:29 am
Dann Corbit wrote: Tue Feb 11, 2020 9:50 pm Some xboard output:

Code: Select all

F:\project\dcorbit\Crafty-master\src>crafty-windows-gcc.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is SMP, not NUMA.

Crafty v25.6

machine has 12 processors

White(1): uci
Illegal move: uci
White(1): xboard

tellicsnoalias set 1 Crafty v25.6 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.6! (1 cpus)
new
NOTICE:  new command not implemented, please exit and
restart crafty to re-initialize everything for a new game
post
autotune
ERROR: smpmt must be set to > 1 for tuning to work
smpmt=11
Warning--  xboard 'cores' option disabled
st 99
go
      19     22     105 18808242 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4 (s=2)
      19     22     121 21257394 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Bxc6 dxc6 6. Nxe5 Nxe4 7. Nd3 Bd4 8. Re1 f5 9. Nc3 Qh4 10. Nxe4 fxe4
      20     25     179 34088446 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      20     25     183 34748582 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd3 Nxd4 12. Qxd4
      21     25     207 39833432 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      21     25     219 42919557 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4
      22     29     268 56109593 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      22     29     275 57999339 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 Rfe8
      23     30     339 76419641 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      23     30     350 79562652 1. e4 e5 2. Nf3 d6 3. Nc3 Be7 4. Bb5+ Bd7 5. Bxd7+ Qxd7 6. O-O Nf6 7. d4 exd4 8. Nxd4 O-O 9. Bg5 Nc6 10. f3 a6 11. Qd2 Nxd4 12. Qxd4 c5 13. Qc4
      24     29     614 157275861 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      24     29     636 163402748 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Ng5 c5 12. f3 Nxb3 13. axb3
      25     20     789 208119348 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3
      25     20    1702 483257830 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Be3 Na5 10. Qe2 Qe7 11. Bg5 Nxb3 12. Bxf6 Qxf6 13. axb3 (s=2)
      26     20    1875 535113983 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      26     20    2075 585647261 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 c6 11. Kh1 Nxb3 12. axb3 h6 13. Be3 Qe7 (s=2)
      27     24    2396 685169883 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      27     24    2532 716111442 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 Bc5 14. h3 (s=2)
      28     26    3110 889429743 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7 (s=2)
      28     26    3377 958869893 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Bb7 9. Re1 Na5 10. Bg5 Nxb3 11. axb3 Re8 12. Qd2 c6 13. Kh1 a5 14. h3 Qe7
      29     23    4252 1242098274 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
      29     23    4991 1472784458 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bd6 5. Nc3 O-O 6. d3 a6 7. Ba4 b5 8. Bb3 Na5 9. Bg5 Bb7 10. Re1 Nxb3 11. axb3 Re8 12. Kh1 Kh8 13. Qd2 Qe7 14. Bh4 c6 15. Bxf6 Qxf6
move e4
feature done=1
quit


I compiled static so it does not need any DLL files.
I'm getting some impressive bench numbers here - totally untuned

Code: Select all

# crafty.exe
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Initializing multiple threads.
System is NUMA. 2 nodes reported by Windows
Node 0 CPUs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Node 1 CPUs:
Current ideal CPU is 34

Crafty v25.6

machine has 64 processors

White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): mt = 48 >> crafty is known to play better with threads set to real cores
max threads set to 48.
White(1): crafty.exe
Illegal move: crafty.exe
White(1): bench +12  >> . . .  to increase depth
Running serial benchmark (modifying depth by 12 plies)  
pos:  1(49.7M)  2(80.7M)  3(74.5M)  4(89.8M)  5(75.4M)  6(139.4M)  7(38.8M)
pos:  8(43.7M)  9(133.1M) 10(63.2M) 11(40.9M) 12(134.7M) 13(42.7M) 14(177.7M)
pos: 15(213.5M) 16(74.0M) 17(41.8M) 18(215.1M) 19(194.9M) 20(16.9M) 21(79.7M)
pos: 22(109.8M) 23(34.7M) 24(176.0M) 25(210.0M) 26(14.6M) 27(45.4M) 28(132.5M)
pos: 29(58.7M) 30(102.2M) 31(215.4M) 32(196.5M) 33(162.3M) 34(46.7M) 35(34.2M)
pos: 36(156.5M) 37(46.2M) 38(102.9M) 39(150.4M) 40(44.4M) 41(130.7M) 42(161.1M)
pos: 43(83.2M) 44(202.3M) 45(61.9M) 46(248.8M) 47(132.6M) 48(64.0M) 49(5.7M)
pos: 50(147.2M) 51(146.8M) 52(149.4M) 53(129.7M) 54(2.1M) 55(82.7M) 56(53.5M)
pos: 57(15.4M) 58(103.9M) 59(60.6M) 60(151.9M) 61(101.9M) 62(27.9M) 63(213.2M)
pos: 64(134.3M)


Total nodes: 193779512040
Raw nodes per second: 206273497
Total elapsed time: 939.43


White(1):
for anybody who wants to try this Windows exe

https://www.dropbox.com/s/656h98y7k028p ... y.zip?dl=0
After one quick autotune, it cut the bench +12 almost to 1/2 the time, while still maintaining the 200M+ nps

Code: Select all

White(1): mt = 48
max threads set to 48.
White(1): hash = 4096M
hash table memory = 4G bytes (256M entries).
White(1): bench +12
Running serial benchmark (modifying depth by 12 plies). . .
pos:  1(53.5M)  2(113.9M)  3(97.8M)  4(85.8M)  5(95.3M)  6(152.6M)  7(40.0M)
pos:  8(53.8M)  9(131.0M) 10(51.6M) 11(43.1M) 12(149.9M) 13(38.4M) 14(237.4M)
pos: 15(261.2M) 16(89.7M) 17(40.2M) 18(99.5M) 19(178.4M) 20(18.7M) 21(121.9M)
pos: 22(119.2M) 23(35.9M) 24(114.2M) 25(232.8M) 26(18.7M) 27(46.1M) 28(178.7M)
pos: 29(55.0M) 30(127.2M) 31(219.0M) 32(143.9M) 33(158.5M) 34(43.5M) 35(40.4M)
pos: 36(169.2M) 37(42.0M) 38(105.4M) 39(205.6M) 40(59.2M) 41(171.9M) 42(292.7M)
pos: 43(127.3M) 44(161.1M) 45(63.9M) 46(168.7M) 47(147.4M) 48(69.4M) 49(8.4M)
pos: 50(183.6M) 51(132.9M) 52(145.8M) 53(150.7M) 54(3.0M) 55(140.8M) 56(48.8M)
pos: 57(19.0M) 58(128.9M) 59(67.6M) 60(145.5M) 61(103.5M) 62(22.4M) 63(130.7M)
pos: 64(170.6M)


Total nodes: 107335355335
Raw nodes per second: 203765197
Total elapsed time: 526.76


White(1):
Dann's compile worked for me. BTW what is the command to set Crafty to play around Elo 1500?

Code: Select all

*  "elo" command sets an approximate Elo level that Crafty *
 *  should play at.  Valid numbers range between 800 and    *
 *  3600.  (3600 and higher simply say "play at highest     *
 *  level possible")  The base assumption is that a search  *
 *  speed of 6M nodes per second + no randomness in the     *
 *  evaluation will play at about 2600.  Crafty will set    *
 *  a target NPS here, and then will adjust tthe nps_loop   *
 *  dynamically to adjust the NPS to this value no matter   *
 *  how good the hardware.                                  *
 *                                                          *
 *  I hope it is obvious that if the base hardware can't    *
 *  search at 6M nodes per second, then the Elo will never  *
 *  reach the level that was set.
[/quote] *  "elo" command sets an approximate Elo level that Crafty *
 *  should play at.  Valid numbers range between 800 and    *
 *  3600.  (3600 and higher simply say "play at highest     *
 *  level possible")  The base assumption is that a search  *
 *  speed of 6M nodes per second + no randomness in the     *
 *  evaluation will play at about 2600.  Crafty will set    *
 *  a target NPS here, and then will adjust tthe nps_loop   *
 *  dynamically to adjust the NPS to this value no matter   *
 *  how good the hardware.                                  *
 *                                                          *
 *  I hope it is obvious that if the base hardware can't    *
 *  search at 6M nodes per second, then the Elo will never  *
 *  reach the level that was set.
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB »

Canoike wrote: Mon Feb 10, 2020 11:27 pm What are these 2 epd files for in the opening directory ?
Crafty opening books are generated from a pgn file.
Test openings used by the crafty team over the years.
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB »

Guenther wrote: Wed Feb 12, 2020 10:51 am
Dann Corbit wrote: Tue Feb 11, 2020 9:48 pm I just switched from the MS intrinsics to the gcc intrinsics and compiled with gcc under MSYS2.
There is an older binary in a subfolder, but the binary I just built is called crafty-windows-gcc.exe.
You can find it in here in the src folder:
This seems to be a popcnt version? I guess I need to compile my own version, but there are so
tiny changes (for game play and strength), that I doubt it would be interesting for me anyway.
What flavor are you looking for? - base x64 or bmi2?
Image