Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
protover 2Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 first : xboard
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
Actually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim'sif I understand the output correctly)Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 It seems that it takes a long time for gotmog to send feature done=1(12 seconds
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
I do not understand why so much time and what is the problem with
sending feature done=0 immediatly after getting the go command.
Here is for comparison movei debug:
581 >first : xboard
protover 2
591 591
You can see some things about movei:
1)Movei responds immediately to xboard by feature done=1
2)Movei does not have feature done=0
3)Movei needs 0.01 seconds to respond
In my code I have only:
Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
Uri
Movei does it immediately after it reads the protever command(I did not think about setting feature done=0 before getting the protover command because I thought that winboard is not going to read it).Actually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim'sif I understand the output correctly)Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 >It seems that it takes a long time for gotmog to send feature done=1(12 seconds
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
I do not understand why so much time and what is the problem with
sending feature done=0 immediatly after getting the go command.
Here is for comparison movei debug:
581 >first : xboard
protover 2
591 >591 >
You can see some things about movei:
1)Movei responds immediately to xboard by feature done=1
2)Movei does not have feature done=0
3)Movei needs 0.01 seconds to respond
In my code I have only:
Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
Uri
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
--tom
Uri:Movei does it immediately after it reads the protever command(I did not think about setting feature done=0 before getting the protover command because I thought that winboard is not going to read it).Actually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim'sif I understand the output correctly)Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 >>It seems that it takes a long time for gotmog to send feature done=1(12 seconds
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
I do not understand why so much time and what is the problem with
sending feature done=0 immediatly after getting the go command.
Here is for comparison movei debug:
581 >first : xboard
protover 2
591 >>591 >>
You can see some things about movei:
1)Movei responds immediately to xboard by feature done=1
2)Movei does not have feature done=0
3)Movei needs 0.01 seconds to respond
In my code I have only:
Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
Uri
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
--tom
Does winboard read information that the engine sent before winboard sent the xboard command?
The only delay that movei can have is because of initializing hash tables and some internal array so it is not ready to read winboard commands when winboard send them but this delay is a small delay and based on my memory there may be a problem only in case of delay of more than 2 seconds.
Uri
My engine performs a roughly one second CPU calibration test when it first starts, which canMovei does it immediately after it reads the protever command(I did not think about setting feature done=0 before getting the protover command because I thought that winboard is not going to read it).Actually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim'sif I understand the output correctly)Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 >>It seems that it takes a long time for gotmog to send feature done=1(12 seconds
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
I do not understand why so much time and what is the problem with
sending feature done=0 immediatly after getting the go command.
Here is for comparison movei debug:
581 >first : xboard
protover 2
591 >>591 >>
You can see some things about movei:
1)Movei responds immediately to xboard by feature done=1
2)Movei does not have feature done=0
3)Movei needs 0.01 seconds to respond
In my code I have only:
Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
Uri
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
--tom
Does winboard read information that the engine sent before winboard sent the xboard command?
The only delay that movei can have is because of initializing hash tables and some internal array so it is not ready to read winboard commands when winboard send them but this delay is a small delay and based on my memory there may be a problem only in case of delay of more than 2 seconds.
Uri
It's set by xboard, more from the redoubtable Mr. Mann:Uri:Movei does it immediately after it reads the protever command(I did not think about setting feature done=0 before getting the protover command because I thought that winboard is not going to read it).Actually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim'sif I understand the output correctly)Hi Robert,In the past I have failed to run Gothmog on my machine, because of the feature done=0 problem (posted here at the time). I have now retried version 0.4.8 on my machine (Winboard 4.2.7, Win2k, Athlon TB 1.2GHz) and encounter still a problem, the symptoms are identical, although the exact mechanisms may not: this time Gothmog appears to not take into account the move of the white side, thinks itself is white and makes the move e2e4. The problem is reproducable. It is a pity because I would love to run Gothmog ...
The problem manifests itself when Gothmog is black and only the first time, that is when Gothmog intialises. After one "reset game" it works. But as I want to run Gothmog with WBTM, it is the first time that is important for me.
Debug file is here:
StartChildProcess (dir="f:\chess\gothmog_0.4.8") Gothmog
17235 >second: xboard
protover 2
27239 >second: new
random
27239 >second: level 0 5 2
27239 >second: post
27239 >second: hard
27239 >second: easy
27239 >second: force
27249 >second: time 30000
otim 30199
27249 >second: g1f3
27249 >second: black
27249 >second: go
39417 >>>It seems that it takes a long time for gotmog to send feature done=1(12 seconds
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
I do not understand why so much time and what is the problem with
sending feature done=0 immediatly after getting the go command.
Here is for comparison movei debug:
581 >first : xboard
protover 2
591 >>>591 >>>
You can see some things about movei:
1)Movei responds immediately to xboard by feature done=1
2)Movei does not have feature done=0
3)Movei needs 0.01 seconds to respond
In my code I have only:
Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
Uri
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
--tom
Does winboard read information that the engine sent before winboard sent the xboard command?
The only delay that movei can have is because of initializing hash tables and some internal array so it is not ready to read winboard commands when winboard send them but this delay is a small delay and based on my memory there may be a problem only in case of delay of more than 2 seconds.
Uri
Where does the 2 seconds come from - is that Movei or a winboard limit?
In Gerbil Bruce Moreland inits the engine between sending done=0 and done=1. He says he does that so if the engine takes a little while to init winboard won't time out and think its protover 1. Bruja takes maybe 3/4 sec to init, most of that time filling a table I use for SEE. I follow Bruce's scheme since I don't support protover 1 but if I have 2 seconds I might simplify it.
Dan H.
I am not sure about that; the way I interpret the log:Hi Robert,
I regard this as a Winboard bug rather than a Gothmog bug. The problem
is the same as before, Winboard sends Ruffian's first move to Gothmog
without waiting for Gothmog's feature list, which includes the 'usermove'
feature. I've quoted the relevant parts of the debug file below:
As you can see above, Winboard sends Gothmog the 'black' command
and Ruffian's first move without the 'usermove' prefix. Only
afterwards does it listen to Gothmog's feature list, which contains
'usermove=1' and 'colors=0'. In version 0.4.7 and earlier you
could to some extent blame Gothmog for the problem, because it didn't
use 'feature done=0' at the beginning of the feature list. This is
no longer the case in 0.4.8.
I'll see if I can find some workaround for the next public version.
Meanwhile, have you tried running Gothmog in UCI mode with the
PolyGlot adapter? I can send you a polyglot.ini file if you want.
Tord
And based on the log I think in practice those 2 seconds are 10 seconds.It's set by xboard, more from the redoubtable Mr. Mann:
"If you set done=1 during the initial two-second timeout after xboard sends you the "xboard"
command, the timeout will end and xboard will not look for any more feature commands before
starting normal operation. If you set done=0, the initial timeout is increased to one hour; in this
case, you must set done=1 before xboard will enter normal operation."
Chances are good an hour will be more than enough.
--tom
Yes and it takes gothmog more than 22 seconds to respond to the protever command by feature done=0(here is the relevant part of the debug again)...And based on the log I think in practice those 2 seconds are 10 seconds.It's set by xboard, more from the redoubtable Mr. Mann:
"If you set done=1 during the initial two-second timeout after xboard sends you the "xboard"
command, the timeout will end and xboard will not look for any more feature commands before
starting normal operation. If you set done=0, the initial timeout is increased to one hour; in this
case, you must set done=1 before xboard will enter normal operation."
Chances are good an hour will be more than enough.
--tom
Yes, Gothmog does all initialization immediately when it starts up, it doesn't wait for theWinboard gives Gothmog 10 seconds time to respond to the xboard command (e.g. with feature; this is probably an undocumented timeout value), so I guess that after these 10 seconds Winboard assumes the lowest demonitor in terms of WB protocol and continues in that spirit. Gothmog then does send the feature done=0, but too late, in fact it takes it some 20 seconds or so. (Does Gothmog initialise tablebases etc. before sending the feature command, which takes that amount of time?)
I should also add that Gothmog is the only engine that has such problems in my setup (which is nothing special at all), and I have >100 engines installed.
No I have not tried Polyglot, would also not be too happy if this were the only way to get Gothmog to run, because it appears as a kind of overhead. But I would nevertheless be interested in the ini file, as a kind of last resort. My mail address is rwa at pt dot lu.
Thanks for the tip, Tom! I had no idea xboard even listened to the engine outputActually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim's
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
Hey Tord,Thanks for the tip, Tom! I had no idea xboard even listened to the engine outputActually, it's okay to send the "feature done=0" even earlier. The relevant quote from Tim's
documentation:
" To increase the timeout, if needed, set the feature "done=0" before your first feature command
and "done=1" at the end. If needed, it is okay for your engine to set done=0 soon as it starts, even
before it receives the xboard and protover commands."
before the 'xboard' command was sent. I'll try to put a printf("feature done=0\n")
at the beginning of my main() function.
Tord
Forgot to respond to this: in fact I do consider Gothmog one of the most interesting engines out there, with interesting playing style, as one can conclude from various games and posts, and interesting techniques. So it is a pity that up to now I cannot run it ...Please don't spend a lot of effort trying to make Gothmog work in your setup. It is
essentially a dead engine, and not a very interesting one to test. There are many other
engines you could try, which are still not on your list.
Still, I will mail you a polyglot init file, and try to send "feature 0" immediately at
startup in the next (and hopefully last) public version of Gothmog.
Tord
I wish I could agree. By now I hate Gothmog more than any other piece ofForgot to respond to this: in fact I do consider Gothmog one of the most interesting engines out there, with interesting playing style, as one can conclude from various games and posts, and interesting techniques.Please don't spend a lot of effort trying to make Gothmog work in your setup. It is
essentially a dead engine, and not a very interesting one to test. There are many other
engines you could try, which are still not on your list.
So it is a pity that up to now I cannot run it ...
Thanks very much, hope your new program will pick-up where Gothmog stopped.I wish I could agree. By now I hate Gothmog more than any other piece ofForgot to respond to this: in fact I do consider Gothmog one of the most interesting engines out there, with interesting playing style, as one can conclude from various games and posts, and interesting techniques.Please don't spend a lot of effort trying to make Gothmog work in your setup. It is
essentially a dead engine, and not a very interesting one to test. There are many other
engines you could try, which are still not on your list.
So it is a pity that up to now I cannot run it ...
software. It is rotten to the core, and has been kept alive artificially
far too long.
Yes, even if it is the last thing I ever do with Gothmog, I will try to make
it work for you before I stop working on the program.
Tord
Return to Archive (Old Parsimony Forum)
Users browsing this forum: No registered users and 26 guests