Patrice Duhamel wrote: ↑Sat Jul 27, 2019 4:39 pm
Ferdy wrote: ↑Sat Jul 27, 2019 1:21 pm
I am using windows.
I try your examples and other potions and I can't reproduce the problem.
Can you tell me if you can reproduce this problem every time, and if it only appear in Cheese version 2.1 ?
In my code I increase a number at the begining of the search function, and I test search time when
the counter is > 30000, UCI Elo use only Sleep of 20 ms (every X nodes), I don't understand what is wrong.
I run Cheese 2.1 from my script that uses python-chess module, analyzing 5k positions, the log I showed is from it. I was curious at that time why other engines were already finished but Chesse was still analyzing.
go movetime seems problematic (madchess too, other engines are OK), probably python-chess is also part of the problem. Just ignore this report if you cannot reproduce it.
I am now using go wtime btime ... currently for Cheese. Time spent is not perfect but is enough for my needs.
Code: Select all
2019-07-28 07:16:02,296 :: DEBUG :: <UciProtocol (pid=3640)>: << ucinewgame
2019-07-28 07:16:02,296 :: DEBUG :: <UciProtocol (pid=3640)>: << isready
2019-07-28 07:16:02,324 :: DEBUG :: <UciProtocol (pid=3640)>: >> readyok
2019-07-28 07:16:02,324 :: DEBUG :: <UciProtocol (pid=3640)>: << position fen 8/P7/1K1n2p1/6k1/8/r7/5P1p/2R5 w - - 0 1
2019-07-28 07:16:02,325 :: DEBUG :: <UciProtocol (pid=3640)>: << go wtime 1000 btime 1000 winc 0 binc 0 movestogo 1
2019-07-28 07:16:02,325 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 1 seldepth 1 score cp -266 time 16 nodes 53 nps 3312 pv c1h1
2019-07-28 07:16:02,346 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 2 seldepth 4 score cp -251 time 32 nodes 489 nps 15281 pv c1h1 a3b3 b6c6
2019-07-28 07:16:02,346 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 3 seldepth 5 score cp -244 time 32 nodes 1503 nps 46968 pv c1h1 d6c4 b6b7 a3b3 b7c6
2019-07-28 07:16:02,377 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 4 seldepth 7 score cp -269 time 63 nodes 5113 nps 81158 pv c1h1 d6c8 b6b7 c8a7 h1h2
2019-07-28 07:16:02,408 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 5 seldepth 8 score cp -276 time 94 nodes 10729 nps 114138 pv c1h1 d6c8 b6c5 c8a7 h1h2 a7c8
2019-07-28 07:16:02,594 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 6 seldepth 10 score cp -272 time 281 nodes 40022 nps 142427 pv c1h1 d6c8 b6b7 c8a7 h1h2 a7b5 b7b6
2019-07-28 07:16:02,762 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 7 seldepth 12 score cp -268 time 437 nodes 62442 nps 142887 pv c1h1 d6c8 b6c7 c8a7 h1h2 a7b5 c7b6 b5d6 h2h7
2019-07-28 07:16:03,227 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 8 seldepth 14 score cp -268 time 905 nodes 131708 nps 145533 pv c1h1 d6c8 b6b7 c8a7 h1h2 a7b5 b7c6
2019-07-28 07:16:03,227 :: DEBUG :: <UciProtocol (pid=3640)>: >> bestmove c1h1
2019-07-28 07:16:03,229 :: DEBUG :: <UciProtocol (pid=3640)>: << ucinewgame
2019-07-28 07:16:03,229 :: DEBUG :: <UciProtocol (pid=3640)>: << isready
2019-07-28 07:16:03,250 :: DEBUG :: <UciProtocol (pid=3640)>: >> readyok
2019-07-28 07:16:03,250 :: DEBUG :: <UciProtocol (pid=3640)>: << position fen 2k3r1/pp6/2pq4/3p2rp/2nP1Q2/P1N3Pb/1PP1KP2/R3R3 w - - 0 1
2019-07-28 07:16:03,250 :: DEBUG :: <UciProtocol (pid=3640)>: << go wtime 1000 btime 1000 winc 0 binc 0 movestogo 1
2019-07-28 07:16:03,250 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 1 seldepth 1 score cp -194 time 16 nodes 116 nps 7250 pv f4d6 c4d6
2019-07-28 07:16:03,281 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 2 seldepth 3 score cp -194 time 32 nodes 490 nps 15312 pv f4d6 c4d6
2019-07-28 07:16:03,364 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 3 seldepth 4 score cp -189 time 110 nodes 1630 nps 14818 pv f4d6 c4d6 e2d1 h3g4 d1d2
2019-07-28 07:16:03,648 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 4 seldepth 7 score cp -201 time 390 nodes 3647 nps 9351 pv f4d6 c4d6 e2d3 h3f5 d3d2 d6c4 d2c1
2019-07-28 07:16:04,199 :: DEBUG :: <UciProtocol (pid=3640)>: >> info depth 5 seldepth 8 score cp -219 time 952 nodes 10249 nps 10765 pv f4d6 c4d6 e2d3 h3f5 d3d2 c8b8
2019-07-28 07:16:04,199 :: DEBUG :: <UciProtocol (pid=3640)>: >> bestmove f4d6