UCI issues

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Jaap Weidemann
Posts: 62
Joined: Mon Aug 14, 2006 3:47 am
Location: Stellenbosch, South Africa

Re: UCI issues

Post by Jaap Weidemann »

An INI file is still quite useful as GUI workaround though.
User avatar
hgm
Posts: 27795
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: UCI issues

Post by hgm »

I think that should obviously be counted as a GUI bug. (It would for instnce nt work properly at all when you replaced the engine executble by an update that has some different defaults.) So I would not worry about it if I were an engine author.
mhalstern
Posts: 484
Joined: Wed Nov 18, 2009 1:09 am

Re: UCI issues

Post by mhalstern »

Miguel,

Why don't you register on the Rybka Forum:

http://rybkaforum.net/cgi-bin/rybkaforum/forum_show.pl

You can post your Aquarium complaints/comments/questions in the aquarium forum?

This is a great board with great help, both by the developers and users.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: UCI issues

Post by michiguel »

mhalstern wrote:Miguel,

Why don't you register on the Rybka Forum:

http://rybkaforum.net/cgi-bin/rybkaforum/forum_show.pl

You can post your Aquarium complaints/comments/questions in the aquarium forum?

This is a great board with great help, both by the developers and users.
I am registered and check once in a while. Eelco re-posted a question for me
http://rybkaforum.net/cgi-bin/rybkaforu ... ?tid=15877
But it was never answered.

Miguel
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: UCI issues

Post by michiguel »

Teemu Pudas wrote:
michiguel wrote:I just saw that Aquarium demo does not even respect the engines time management. Rather than waiting for "bestmove <move> ponder <move>", it sends a brutal "stop".
It does the same in infinite analysis after 2 seconds. Hence, "demo".
This stop it is not sent in analyze mode, it is sent during the game and way after 2 seconds. I do not think that games are handicapped in this demo. If anybody runs a game with inbetween+anyUCIengine in the latest version we could find out for sure.

Miguel
Teemu Pudas
Posts: 88
Joined: Wed Mar 25, 2009 12:49 pm

Re: UCI issues

Post by Teemu Pudas »

michiguel wrote:If anybody runs a game with inbetween+anyUCIengine in the latest version we could find out for sure.
What was the time control? It doesn't seem to be happening in 3+2 blitz.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: UCI issues

Post by michiguel »

Teemu Pudas wrote:
michiguel wrote:If anybody runs a game with inbetween+anyUCIengine in the latest version we could find out for sure.
What was the time control? It doesn't seem to be happening in 3+2 blitz.
When I get back home I will try to repeat it. I am almost sure it was blitz 3+0. BTW, gaviota spanked me but I managed to beat it 3 times :-)

Miguel
mhalstern
Posts: 484
Joined: Wed Nov 18, 2009 1:09 am

Re: UCI issues

Post by mhalstern »

Miguel,

I'm surprised nobody answered the post in the rybka forum.

The issue that also puzzles me is the fact that joker114w works with Aquarium with a normal wb2uci setup, yet gaviota does not.

Anyway, I have the paid Aquarium and Fritz12. I'd be glad to test anything if you need me to.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: UCI issues

Post by michiguel »

mhalstern wrote:Miguel,

I'm surprised nobody answered the post in the rybka forum.

The issue that also puzzles me is the fact that joker114w works with Aquarium with a normal wb2uci setup, yet gaviota does not.

Anyway, I have the paid Aquarium and Fritz12. I'd be glad to test anything if you need me to.
Hi Marc,

Thanks,
I will be glad if you test a couple of things before I release the next Gaviota UCI. I left you a private message.

Miguel
mhalstern
Posts: 484
Joined: Wed Nov 18, 2009 1:09 am

Re: UCI issues

Post by mhalstern »

I replied to you P.M., but as it does not leave my outbox, I'm not sure the pm feature is workign now. Here is my reply:

Miguel,


The uci works in Fritz12, however, not only does in it not work in Aquarium, it completely crashes Aquarium! Aquarium Freezes and I need to hit ctrl alt delete to kill the process. The task manager shows it is thinking, however this continues beyond the time control. Here are the 2 last log files. It does not make sens to have received "go infinite" as it was set to play g2 and g1.
Gaviota 0.74.12
Compiled: May 24 2010 02:57:27

Playing Session
---------------

Problems loading books

learning succesfully loaded from: learn.epd

SEED for rand_table_init(): 1274838141

received <-- uci
option name Ponder type check default false
option name OwnBook type check default false
option name Hash type spin default 16 min 8 max 1024
option name Cores type spin default 4 min 1 max 16
option name Book use type check default false
option name Book file 1 type string default book2650.bin
option name Book file 2 type string default
option name Book Restart type button
option name Log type check default true
option name Log files (max) type spin default 20 min 1 max 100
option name Log Path type string default logs
option name SMP width (min) type spin default 2 min 0 max 5
option name SMP depth (min) type spin default 1 min 0 max 10
option name Nullmove type check default true
option name GaviotaTbPath type string default gtb/
option name GaviotaTbCache type spin default 8 min 1 max 1024
option name TB Endgame type combo default Gaviota var Gaviota var none
option name TB Compression type combo default cp4 var none var cp1 var cp2 var cp3 var cp4
option name TB Pieces installed type combo default 5 var none var 3 var 4 var 5
option name TB probing depth type spin default 2 min 0 max 5
option name TB Restart type button
received <-- setoption name ponder value false
Received and Parsed: name=|ponder|, value=|false|
Option Not Recognized Properly
received <-- setoption name ownbook value false
Received and Parsed: name=|ownbook|, value=|false|
Option Not Recognized Properly
received <-- setoption name cores value 4
Received and Parsed: name=|cores|, value=|4|
Option Not Recognized Properly
received <-- setoption name book use value false
Received and Parsed: name=|book use|, value=|false|
Option Not Recognized Properly
received <-- setoption name book file 1 value book2650.bin
Received and Parsed: name=|book file 1|, value=|book2650.bin|
Option Not Recognized Properly
received <-- setoption name log value true
Received and Parsed: name=|log|, value=|true|
Option Not Recognized Properly
received <-- setoption name log files (max) value 20
Received and Parsed: name=|log files (max)|, value=|20|
Option Not Recognized Properly
received <-- setoption name log path value logs
Received and Parsed: name=|log path|, value=|logs|
Option Not Recognized Properly
received <-- setoption name smp width (min) value 2
Received and Parsed: name=|smp width (min)|, value=|2|
Option Not Recognized Properly
received <-- setoption name smp depth (min) value 1
Received and Parsed: name=|smp depth (min)|, value=|1|
Option Not Recognized Properly
received <-- setoption name nullmove value true
Received and Parsed: name=|nullmove|, value=|true|
Option Not Recognized Properly
received <-- setoption name gaviotatbpath value gtb/
Received and Parsed: name=|gaviotatbpath|, value=|gtb/|
Option Not Recognized Properly
received <-- setoption name gaviotatbcache value 8
Received and Parsed: name=|gaviotatbcache|, value=|8|
Option Not Recognized Properly
received <-- setoption name tb endgame value gaviota
Received and Parsed: name=|tb endgame|, value=|gaviota|
Option Not Recognized Properly
received <-- setoption name tb compression value cp4
Received and Parsed: name=|tb compression|, value=|cp4|
Option Not Recognized Properly
received <-- setoption name tb pieces installed value 5
Received and Parsed: name=|tb pieces installed|, value=|5|
Option Not Recognized Properly
received <-- setoption name tb probing depth value 2
Received and Parsed: name=|tb probing depth|, value=|2|
Option Not Recognized Properly
received <-- setoption name Hash value 32
Received and Parsed: name=|Hash|, value=|32|
Success allocating hash
Option succesfully loaded
received <-- isready
received isready
received <-- setoption name UCI_AnalyseMode value false
Received and Parsed: name=|UCI_AnalyseMode|, value=|false|
Option Not Recognized Properly
received <-- setoption name UCI_AnalyseMode value true
Received and Parsed: name=|UCI_AnalyseMode|, value=|true|
Option Not Recognized Properly
received <-- position startpos
received <-- go infinite
token:|infinite|
value:|-1|infinite|0|
Set Time Control parameters to infinite
About to launch an engine thread...
About to create a thread...
received <-- stop
received STOP
Going to stop the engine...
Decision Phase...

-------------- NEW ITERATION ----------------

Signature[1]: 530f7644
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
+-----------------+
| r n b q k b n r |
| p p p p p p p p |
| . . . . . . . . |
| . . . . . . . . | Castling: KQkq
| . . . . . . . . | ep: -
| . . . . . . . . |
| P P P P P P P P |
| R N B Q K B N R | [White]
+-----------------+

legal moves available = 20
deepening call...
Creating thread...
t=0
thread created...
iterative deepening wrapper...
Game Time: 0.062000
********* Starts iterative deepening, thread = 0
set timer to infinite
20 1: 0.0 +0.80 1.e3
~ +0.39 will fail low? ( 96)
60 2 0.0
129 2: 0.0 +0.00 1.e3 e6
177 3 0.0 1.e3
333 3: 0.0 +0.65 1.e3 Nf6 2.Nc3
~ +0.25 will fail low? ( 60)
1105 4 0.0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4 d5 4.exd5 Nxd5
5.Qf3 Nb4 6.Bb5+ N8c6
14630464 11: 8.8 +0.39 1.d4 Nf6 2.Nc3 h6 3.e4 d5 4.exd5 Nxd5
5.Qf3 Nb4 6.Bb5+ N8c6
~ -0.02 will fail low? ( -4)
~ +0.08 ok ( 20)
~ -0.02 will fail low? ( -4)
~ +0.47 ok ( 114)
37537708 12 22.3 +0.13 1.d4 d5 2.Nc3 Bf5 3.Bf4 e6 4.e3 Nf6
5.Bb5+ Nc6 6.Nf3 a6 7.Bd3
66603368 12: 39.2 +0.13 1.d4 d5 2.Nc3 Bf5 3.Bf4 e6 4.e3 Nf6
5.Bb5+ Nc6 6.Nf3 a6 7.Bd3







Gaviota 0.74.12
Compiled: May 24 2010 02:57:27

Playing Session
---------------

Problems loading books

learning succesfully loaded from: learn.epd

SEED for rand_table_init(): 1274837796

received <-- uci
option name Ponder type check default false
option name OwnBook type check default false
option name Hash type spin default 16 min 8 max 1024
option name Cores type spin default 4 min 1 max 16
option name Book use type check default false
option name Book file 1 type string default book2650.bin
option name Book file 2 type string default
option name Book Restart type button
option name Log type check default true
option name Log files (max) type spin default 20 min 1 max 100
option name Log Path type string default logs
option name SMP width (min) type spin default 2 min 0 max 5
option name SMP depth (min) type spin default 1 min 0 max 10
option name Nullmove type check default true
option name GaviotaTbPath type string default gtb/
option name GaviotaTbCache type spin default 8 min 1 max 1024
option name TB Endgame type combo default Gaviota var Gaviota var none
option name TB Compression type combo default cp4 var none var cp1 var cp2 var cp3 var cp4
option name TB Pieces installed type combo default 5 var none var 3 var 4 var 5
option name TB probing depth type spin default 2 min 0 max 5
option name TB Restart type button
received <-- setoption name ponder value false
Received and Parsed: name=|ponder|, value=|false|
Option Not Recognized Properly
received <-- setoption name ownbook value false
Received and Parsed: name=|ownbook|, value=|false|
Option Not Recognized Properly
received <-- setoption name cores value 4
Received and Parsed: name=|cores|, value=|4|
Option Not Recognized Properly
received <-- setoption name book use value false
Received and Parsed: name=|book use|, value=|false|
Option Not Recognized Properly
received <-- setoption name book file 1 value book2650.bin
Received and Parsed: name=|book file 1|, value=|book2650.bin|
Option Not Recognized Properly
received <-- setoption name log value true
Received and Parsed: name=|log|, value=|true|
Option Not Recognized Properly
received <-- setoption name log files (max) value 20
Received and Parsed: name=|log files (max)|, value=|20|
Option Not Recognized Properly
received <-- setoption name log path value logs
Received and Parsed: name=|log path|, value=|logs|
Option Not Recognized Properly
received <-- setoption name smp width (min) value 2
Received and Parsed: name=|smp width (min)|, value=|2|
Option Not Recognized Properly
received <-- setoption name smp depth (min) value 1
Received and Parsed: name=|smp depth (min)|, value=|1|
Option Not Recognized Properly
received <-- setoption name nullmove value true
Received and Parsed: name=|nullmove|, value=|true|
Option Not Recognized Properly
received <-- setoption name gaviotatbpath value gtb/
Received and Parsed: name=|gaviotatbpath|, value=|gtb/|
Option Not Recognized Properly
received <-- setoption name gaviotatbcache value 8
Received and Parsed: name=|gaviotatbcache|, value=|8|
Option Not Recognized Properly
received <-- setoption name tb endgame value gaviota
Received and Parsed: name=|tb endgame|, value=|gaviota|
Option Not Recognized Properly
received <-- setoption name tb compression value cp4
Received and Parsed: name=|tb compression|, value=|cp4|
Option Not Recognized Properly
received <-- setoption name tb pieces installed value 5
Received and Parsed: name=|tb pieces installed|, value=|5|
Option Not Recognized Properly
received <-- setoption name tb probing depth value 2
Received and Parsed: name=|tb probing depth|, value=|2|
Option Not Recognized Properly
received <-- setoption name Hash value 1024
Received and Parsed: name=|Hash|, value=|1024|
Success allocating hash
Option succesfully loaded
received <-- isready
received isready
received <-- setoption name UCI_AnalyseMode value false
Received and Parsed: name=|UCI_AnalyseMode|, value=|false|
Option Not Recognized Properly
received <-- setoption name UCI_AnalyseMode value true
Received and Parsed: name=|UCI_AnalyseMode|, value=|true|
Option Not Recognized Properly
received <-- position startpos
received <-- go infinite
token:|infinite|
value:|-1|infinite|0|
Set Time Control parameters to infinite
About to launch an engine thread...
About to create a thread...
received <-- stop
received STOP
Going to stop the engine...
Decision Phase...

-------------- NEW ITERATION ----------------

Signature[1]: 530f7644
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
+-----------------+
| r n b q k b n r |
| p p p p p p p p |
| . . . . . . . . |
| . . . . . . . . | Castling: KQkq
| . . . . . . . . | ep: -
| . . . . . . . . |
| P P P P P P P P |
| R N B Q K B N R | [White]
+-----------------+

legal moves available = 20
deepening call...
Creating thread...
t=0
thread created...
iterative deepening wrapper...
Game Time: 0.172000
********* Starts iterative deepening, thread = 0
set timer to infinite
20 1: 0.0 +0.80 1.e3
~ +0.39 will fail low? ( 96)
60 2 0.0
129 2: 0.0 +0.00 1.e3 e6
177 3 0.0 1.e3
333 3: 0.0 +0.65 1.e3 Nf6 2.Nc3
~ +0.25 will fail low? ( 60)
1100 4 0.0
2507 4: 0.0 +0.00 1.d4 d5 2.Qd3 Qd6
3882 5 0.0 1.d4
9765 5: 0.0 +0.48 1.d4 Nf6 2.Qd3 d5 3.Nf3
~ +0.07 will fail low? ( 17)
12183 6 0.0 1.d4
27883 6 0.0
35915 6 0.0 +0.02 1.d4 Nf6 2.Qd3 d5 3.Qb5+ Nc6 4.Nf3
55006 6 0.0 +0.02 1.Nc3 Nf6 2.e4 d5 3.Qf3 c6 4.exd5 cxd5
55333 6: 0.0 +0.02 1.Nc3 Nf6 2.e4 d5 3.Qf3 c6 4.exd5 cxd5
82045 7 0.1 1.Nc3
125502 7 0.1 +0.52 1.Nc3 Nc6 2.Nf3 d5 3.d4 Qd6 4.Bg5
158314 7: 0.1 +0.52 1.Nc3 Nc6 2.Nf3 d5 3.d4 Qd6 4.Bg5
~ +0.11 will fail low? ( 26)
181882 8 0.1 1.Nc3
376907 8 0.3
430173 8 0.3 +0.00 1.Nc3 Nc6 2.Nf3 Nf6 3.d3 d6 4.Be3 Be6
663894 8: 0.4 +0.00 1.Nc3 Nc6 2.Nf3 Nf6 3.d3 d6 4.Be3 Be6
933746 9 0.6 +0.25 1.Nc3 Nc6 2.d4 Nf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