I still get some difficulties to make Crafty works smoothly.
Crafty continues to puzzle me by some ambiguous messages. E.g., it doesn't like to set cores=1 by displaying an error.
Code: Select all
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Crafty v25.3
machine has 8 processors
White(1): xboard
protover 2
tellicsnoalias set 1 Crafty v25.3 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.3! (1 cpus)
feature ping=1 setboard=1 san=1 time=1 draw=1
feature sigint=0 sigterm=0 reuse=0 analyze=1
feature myname="Crafty-25.3" name=1
feature playother=1 colors=0 memory=1
feature smp=1
feature variants="normal,nocastle"
feature done=1
memory 128
cores 1
Warning-- xboard 'memory' option disabled
Warning-- xboard 'memory' option disabled
Warning-- xboard 'cores' option disabled
ERROR - max threads can be set to zero (0) to disable parallel search, otherwise it must be > 1.
I am not sure it is better if I follow Crafty or insist to set that (cores=1) since I think users have all rights to set up their software. Do you think cores=1 is typically accepted by other Winboard engines?
First I guess Crafty may show messages only for the above issues and it is not a serious problem. However, sometimes (not always) looking to logs as well as testing it manually I see Crafty stops for a while and may refuse to reply "ping".
Below it is a log when Crafty says "AlignedRemalloc() failed, not enough memory." and stop working. It is weird since all other engines including Crafty can play normally before and after that match. So far I did not reuse any engine for matching.
Note that I have seen those issues several times.
Any idea to solve that issue?
Code: Select all
19:24:20 banksia>
9. Stockfish 230619 vs Crafty-25.3
19:24:20 Crafty-25.3< xboard
protover 2
19:24:20 Stockfish 230619< uci
19:24:20 Stockfish 230619> Stockfish 230619 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
19:24:20 Crafty-25.3> unable to open book file [./book.bin].
19:24:20 Crafty-25.3> book is disabled
19:24:20 Crafty-25.3> unable to open book file [./books.bin].
19:24:20 Crafty-25.3> Crafty v25.3
19:24:20 Crafty-25.3> machine has 8 processors
19:24:20 Crafty-25.3> White(1):
19:24:20 Crafty-25.3> tellicsnoalias set 1 Crafty v25.3 (1 cpus)
19:24:20 Crafty-25.3> tellicsnoalias kibitz Hello from Crafty v25.3! (1 cpus)
19:24:20 Crafty-25.3> feature ping=1 setboard=1 san=1 time=1 draw=1
19:24:20 Crafty-25.3< accepted ping
19:24:20 Crafty-25.3< accepted setboard
19:24:20 Crafty-25.3< accepted san
19:24:20 Crafty-25.3< accepted time
19:24:20 Crafty-25.3< accepted draw
19:24:20 Crafty-25.3> feature sigint=0 sigterm=0 reuse=0 analyze=1
19:24:20 Crafty-25.3< accepted sigint
19:24:20 Crafty-25.3< accepted sigterm
19:24:20 Crafty-25.3< accepted reuse
19:24:20 Crafty-25.3< accepted analyze
19:24:20 Crafty-25.3> feature myname="Crafty-25.3" name=1
19:24:20 Crafty-25.3< accepted myname
19:24:20 Crafty-25.3< accepted name
19:24:20 Crafty-25.3> feature playother=1 colors=0 memory=1
19:24:20 Crafty-25.3< accepted playother
19:24:20 Crafty-25.3< accepted colors
19:24:20 Crafty-25.3< accepted memory
19:24:20 Crafty-25.3> feature smp=1
19:24:20 Crafty-25.3< accepted smp
19:24:20 Crafty-25.3> feature variants="normal,nocastle"
19:24:20 Crafty-25.3< accepted variants
19:24:20 Crafty-25.3> feature done=1
19:24:20 Stockfish 230619> id name Stockfish 230619
19:24:20 Stockfish 230619> id author T. Romstad, M. Costalba, J. Kiiski, G. Linscott
19:24:20 Stockfish 230619> option name Debug Log File type string default
19:24:20 Stockfish 230619> option name Contempt type spin default 24 min -100 max 100
19:24:20 Stockfish 230619> option name Analysis Contempt type combo default Both var Off var White var Black var Both
19:24:20 Stockfish 230619> option name Threads type spin default 1 min 1 max 512
19:24:20 Stockfish 230619> option name Hash type spin default 16 min 1 max 2048
19:24:20 Stockfish 230619> option name Clear Hash type button
19:24:20 Stockfish 230619> option name Ponder type check default false
19:24:20 Stockfish 230619> option name MultiPV type spin default 1 min 1 max 500
19:24:20 Stockfish 230619> option name Skill Level type spin default 20 min 0 max 20
19:24:20 Stockfish 230619> option name Move Overhead type spin default 30 min 0 max 5000
19:24:20 Stockfish 230619> option name Minimum Thinking Time type spin default 20 min 0 max 5000
19:24:20 Stockfish 230619> option name Slow Mover type spin default 84 min 10 max 1000
19:24:20 Stockfish 230619> option name nodestime type spin default 0 min 0 max 10000
19:24:20 Stockfish 230619> option name UCI_Chess960 type check default false
19:24:20 Stockfish 230619> option name UCI_AnalyseMode type check default false
19:24:20 Stockfish 230619> option name SyzygyPath type string default <empty>
19:24:20 Stockfish 230619> option name SyzygyProbeDepth type spin default 1 min 1 max 100
19:24:20 Stockfish 230619> option name Syzygy50MoveRule type check default true
19:24:20 Stockfish 230619> option name SyzygyProbeLimit type spin default 7 min 0 max 7
19:24:20 Stockfish 230619> uciok
19:24:20 Stockfish 230619< setoption name Analysis Contempt value
19:24:20 Stockfish 230619< setoption name SyzygyPath value /Users/nguyenpham/workspace/BanksiaMatch/syzygy345
19:24:20 Stockfish 230619< setoption name SyzygyProbeDepth value 1
19:24:20 Stockfish 230619< setoption name Syzygy50MoveRule value true
19:24:20 Stockfish 230619< setoption name SyzygyProbeLimit value 7
19:24:20 Stockfish 230619< isready
19:24:20 Stockfish 230619> info string Found 94 tablebases
19:24:20 Stockfish 230619> readyok
19:24:21 Crafty-25.3< memory 128
cores 1
19:24:21 Crafty-25.3> Warning-- xboard 'memory' option disabled
19:24:21 Crafty-25.3< easy
19:24:21 Crafty-25.3< post
19:24:21 Crafty-25.3< setboard r1bq1rk1/ppppbppp/3n4/4R3/8/8/PPPP1PPP/RNBQ1BK1 w - - 0 1
19:24:21 Crafty-25.3< level 40 0:6 0
19:24:21 Crafty-25.3> Warning-- xboard 'memory' option disabled
19:24:21 Crafty-25.3> AlignedRemalloc() failed, not enough memory.
19:24:21 Stockfish 230619< ucinewgame
19:24:21 Stockfish 230619> info string Found 94 tablebases
19:24:21 banksia> 9) Stockfish 230619 vs Crafty-25.3, #0, 1-0 (crash)
19:24:22 Stockfish 230619< quit
19:24:22 banksia>
In another match (before the above match), Crafty lost by timeout because it did not reply the ping:
Code: Select all
19:19:49 banksia>
5. Crafty-25.3 vs Komodo 10 64-bit
19:19:49 Komodo 10 64-bit< uci
19:19:49 Crafty-25.3< xboard
protover 2
19:19:50 Crafty-25.3> unable to open book file [./book.bin].
19:19:50 Crafty-25.3> book is disabled
19:19:50 Komodo 10 64-bit> Komodo 10 64-bit (C) 2016 Don Dailey, Larry Kaufman and Mark Lefler
19:19:50 Crafty-25.3> unable to open book file [./books.bin].
19:19:50 Komodo 10 64-bit> using hardware POPCNT
19:19:50 Crafty-25.3> Crafty v25.3
19:19:50 Komodo 10 64-bit> info string Licensed to Komodochess.com
19:19:50 Crafty-25.3> machine has 8 processors
19:19:50 Komodo 10 64-bit> id name Komodo 10 64-bit
19:19:50 Crafty-25.3> White(1):
19:19:50 Komodo 10 64-bit> id author Don Dailey, Larry Kaufman, Mark Lefler
19:19:50 Crafty-25.3> tellicsnoalias set 1 Crafty v25.3 (1 cpus)
19:19:50 Komodo 10 64-bit> option name Threads type spin default 1 min 1 max 64
19:19:50 Crafty-25.3> tellicsnoalias kibitz Hello from Crafty v25.3! (1 cpus)
19:19:50 Crafty-25.3> feature ping=1 setboard=1 san=1 time=1 draw=1
19:19:50 Komodo 10 64-bit> option name Ponder type check default true
19:19:50 Crafty-25.3< accepted ping
19:19:50 Komodo 10 64-bit> option name Hash type spin default 128 min 1 max 65536
19:19:50 Crafty-25.3< accepted setboard
19:19:50 Komodo 10 64-bit> option name Clear Hash type button
19:19:50 Crafty-25.3< accepted san
19:19:50 Komodo 10 64-bit> option name Table Memory type spin default 128 min 1 max 1024
19:19:50 Crafty-25.3< accepted time
19:19:50 Crafty-25.3< accepted draw
19:19:50 Komodo 10 64-bit> option name MultiPV type spin default 1 min 1 max 218
19:19:50 Crafty-25.3> feature sigint=0 sigterm=0 reuse=0 analyze=1
19:19:50 Komodo 10 64-bit> option name OwnBook type check default true
19:19:50 Crafty-25.3< accepted sigint
19:19:50 Komodo 10 64-bit> option name Book File type string default komodo.bin
19:19:50 Crafty-25.3< accepted sigterm
19:19:50 Komodo 10 64-bit> option name Best Book Line type check default false
19:19:50 Crafty-25.3< accepted reuse
19:19:50 Komodo 10 64-bit> option name Log File type string default <empty>
19:19:50 Crafty-25.3< accepted analyze
19:19:50 Komodo 10 64-bit> option name Hash File Name type string default <empty>
19:19:50 Crafty-25.3> feature myname="Crafty-25.3" name=1
19:19:50 Komodo 10 64-bit> option name Save Hash to File type button
19:19:50 Crafty-25.3< accepted myname
19:19:50 Komodo 10 64-bit> option name Load Hash from File type button
19:19:50 Crafty-25.3< accepted name
19:19:50 Komodo 10 64-bit> option name UCI_Chess960 type check default false
19:19:50 Crafty-25.3> feature playother=1 colors=0 memory=1
19:19:50 Komodo 10 64-bit> option name UCI_AnalyseMode type check default false
19:19:50 Crafty-25.3< accepted playother
19:19:50 Komodo 10 64-bit> option name Use LMR type check default true
19:19:50 Crafty-25.3< accepted colors
19:19:50 Komodo 10 64-bit> option name Null Move Pruning type check default true
19:19:50 Crafty-25.3< accepted memory
19:19:50 Komodo 10 64-bit> option name Minimal Reporting type check default false
19:19:50 Crafty-25.3> feature smp=1
19:19:50 Komodo 10 64-bit> option name Suppress type spin default 0 min 0 max 200
19:19:50 Crafty-25.3< accepted smp
19:19:50 Crafty-25.3> feature variants="normal,nocastle"
19:19:50 Komodo 10 64-bit> option name Overhead ms type spin default 30 min 0 max 10000
19:19:50 Crafty-25.3< accepted variants
19:19:50 Komodo 10 64-bit> option name Time Usage type spin default 0 min -9 max 9
19:19:50 Crafty-25.3> feature done=1
19:19:50 Komodo 10 64-bit> option name Use Syzygy type check default true
19:19:50 Komodo 10 64-bit> option name SyzygyPath type string default <empty>
19:19:50 Komodo 10 64-bit> option name Syzygy Probe Depth type spin default 2 min 0 max 99
19:19:50 Komodo 10 64-bit> option name Syzygy Probe Limit type spin default 6 min 0 max 6
19:19:50 Komodo 10 64-bit> option name Syzygy 50 Move Rule type check default true
19:19:50 Komodo 10 64-bit> option name King Safety type spin default 65 min 0 max 200
19:19:50 Komodo 10 64-bit> option name Selectivity type spin default 131 min 10 max 200
19:19:50 Komodo 10 64-bit> option name Reduction type spin default 0 min -1000 max 150
19:19:50 Komodo 10 64-bit> option name Dynamism type spin default 110 min 0 max 200
19:19:50 Komodo 10 64-bit> option name Contempt type spin default 10 min -500 max 500
19:19:50 Komodo 10 64-bit> option name White Contempt type check default false
19:19:50 Komodo 10 64-bit> option name Magnify type spin default 88 min 0 max 200
19:19:50 Komodo 10 64-bit> uciok
19:19:50 Komodo 10 64-bit< setoption name SyzygyPath value /Users/nguyenpham/workspace/BanksiaMatch/syzygy345
19:19:50 Komodo 10 64-bit< isready
19:19:50 Komodo 10 64-bit> info string Found 94 tablebases (up to 5-man).
19:19:50 Komodo 10 64-bit> info string Probing tablebases up to 5-man.
19:19:50 Komodo 10 64-bit> readyok
19:19:50 Komodo 10 64-bit< ucinewgame
19:19:50 Crafty-25.3< memory 128
cores 1
19:19:50 Crafty-25.3> Warning-- xboard 'memory' option disabled
19:19:50 Crafty-25.3< easy
19:19:50 Crafty-25.3< post
19:19:50 Crafty-25.3< setboard r1bq1rk1/ppppbppp/3n4/4R3/8/8/PPPP1PPP/RNBQ1BK1 w - - 0 1
19:19:50 Crafty-25.3< level 40 0:6 0
19:19:50 Crafty-25.3> Warning-- xboard 'memory' option disabled
19:19:50 Crafty-25.3< ping 1
19:20:00 banksia> Timeleft for Crafty-25.3: 6.00, used: 7.21, Komodo 10 64-bit: 6.00
19:20:00 Crafty-25.3< force
19:20:00 banksia> 5) Crafty-25.3 vs Komodo 10 64-bit, #0, 0-1 (timeout)
19:20:00 Komodo 10 64-bit< quit
19:20:00 Crafty-25.3< quit
Here is the result of this tournament (a typical one - I have seen similar ones many times), Crafty plays 6 matches, 4 fine, 2 crash/timeout.
Code: Select all
1. Stockfish 230619 vs Komodo 10 64-bit
1) Stockfish 230619 vs Komodo 10 64-bit, #43, 1/2-1/2 (repetition)
2. Komodo 10 64-bit vs Stockfish 230619
2) Komodo 10 64-bit vs Stockfish 230619, #209, 1/2-1/2 (fifty moves)
3. IvanHoe-Beta verzione 999966-Beta vs Komodo 10 64-bit
3) IvanHoe-Beta verzione 999966-Beta vs Komodo 10 64-bit, #134, 0-1 (mate)
4. Komodo 10 64-bit vs IvanHoe-Beta verzione 999966-Beta
4) Komodo 10 64-bit vs IvanHoe-Beta verzione 999966-Beta, #214, 0-1 (timeout)
5. Crafty-25.3 vs Komodo 10 64-bit
5) Crafty-25.3 vs Komodo 10 64-bit, #0, 0-1 (timeout)
6. Komodo 10 64-bit vs Crafty-25.3
6) Komodo 10 64-bit vs Crafty-25.3, #77, 1-0 (mate)
7. IvanHoe-Beta verzione 999966-Beta vs Stockfish 230619
7) IvanHoe-Beta verzione 999966-Beta vs Stockfish 230619, #300, 1/2-1/2 (fifty moves)
8. Stockfish 230619 vs IvanHoe-Beta verzione 999966-Beta
8) Stockfish 230619 vs IvanHoe-Beta verzione 999966-Beta, #122, 0-1 (mate)
9. Stockfish 230619 vs Crafty-25.3
9) Stockfish 230619 vs Crafty-25.3, #0, 1-0 (crash)
10. Crafty-25.3 vs Stockfish 230619
10) Crafty-25.3 vs Stockfish 230619, #194, 1/2-1/2 (repetition)
11. Crafty-25.3 vs IvanHoe-Beta verzione 999966-Beta
11) Crafty-25.3 vs IvanHoe-Beta verzione 999966-Beta, #142, 0-1 (mate)
12. IvanHoe-Beta verzione 999966-Beta vs Crafty-25.3
12) IvanHoe-Beta verzione 999966-Beta vs Crafty-25.3, #175, 1-0 (mate)