Moderator: Andres Valverde
H.G.Muller wrote:SNIP
I don't know if and how other GUIs deal with this problem. pv.exe seems to be more powerful / successful in killing processes as the normal system calls recommended for doing this. Perhaps I should make WinBoard dependent on pv.exe, by not having it kill the engine itself, but in stead automatically create a process to invoke pv.exe, and have that kill the engine. One problem is that pv.exe killes the process by name of the executable. So if you would have two engines running that have the same name (e.g. because the same engine participates in two tourneys simutaneously), it might kill the engine of the other tourney.
Sedat Canbaz wrote:One thing more,why almost each time some wb engines during thinking (such as E.T.Chess 13.01.2008) just after when i am closing the Winboard GUI,etchess.exe gives error message ?
Sedat Canbaz wrote:Hello Friends !
Yesterday and even today when i was running engine matches under Winboard ver.4.20091217 with PSWBTM v.2.0,i have noticed with the task manager program that there were some engines which dont terminate (e.g:i saw 2 double exe names of same kind of engines-E.T.Chess 13.01.2008, AlaricWB707,TogaII...),i mean there were two same et_chess.exe versions,where they were still pondering.Normally about one etchess exe yes,
but the strange thing is that the second one was still pondering(not terminating)
Normally i followed Pradu's recommendations and i have created a pv.bat:
And here is my pv.bat:
pv –kf misbehavingengine1.exe
pv –kf misbehavingengine2.exe
pv –kf misbehavingengine3.exe
I think there is something wrong,becouse even with above pv.bat's command did not help... i think is needed to change the name,e.g: instead of ''misbehavingengine1.exe'' should be change the engine name which does not terminate(misbehaving),for example:
pv –kf et_chess.exe
And i think the PV program should be open/active when the engine matches are running ?!
For example from here you can download my pv setup:
http://www.sedatchess.com/files/utils.rar
Btw,i just wonder about these engines(which have terminating problems) under rest Chess GUIs, are they have same problems ?
I will be very glad if anybody will inform/help me step by step...
Thanks in adavance and happy new year,
Sedat Canbaz
H.G.Muller wrote:Hmm, it might be simply that E.T.Chess does not like being killed, and that WinBoard attempts to kill it a bit too soon, not giving it the chance to exit cleanly in reaction to the 'quit' command. (E.g. because it first wants to write log file, which takes time.)
WinBoard has a parameter /delayAfterQuit, which I set to 0 in the installer distribution, and this might not have been the greatest idea. Perhaps you should try /delayAfterQuit=1 (it should be given in seconds, and 1 sec seems enough for an engine to clean up its act and terminate). You can do this either by editing the winboard.ini file, or starting up WinBoard and tick "additional options" in the startup dialog and write /delayAfterQuit=1 there. It should then save this in the winboard.ini when you exit (and saveSettingsOnExit is on), but be in effect immediately.
Please try this, and tell me if / which problems persist.
Guenther Simon wrote:First of all, you don't need to have PRCView.exe running, because it is a different program
(a later screenshot shows you had running it...).
You only need PV.exe which is just a commandline tool which comes with the PRCView distribution
in the folder of PSWBTM or in the folder where the bat files for killing are executed.
Still you must be doing something more wrong because neither I have those error messages which
indicate engine crashes nor do I need kill commands for all the programs you mentioned
so far. You should be aware also that it might be like HG already said that you by accident
kill engines(if not renamed etc...) which are running more than once, if you set up more
than one tournament simultaneously with them.
Guenther
Sedat Canbaz wrote:I am not sure: i am doing something wrong or maybe the programs,but still as before the same problems continue !!!
...
Return to Winboard and related Topics
Users browsing this forum: No registered users and 24 guests