cutechess-cli 0.7.0

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: cutechess-cli 0.7.0

Post by Ferdy »

Guenther wrote:
Ferdy wrote:
Guenther wrote:
Krzysztof Grzelak wrote:She got probably a new version cutechess-cli 0.7.0. Available on the page https://github.com/cutechess/cutechess .
There is practically nothing changed. No idea why it was bumped to 0.70?
Just command line flags naming was changed for consistence and support
for a newer QT version than before.

Guenther
There is this fix which I think is important.
Fix SEGFAUL or SEGILL when an engine process is stopped and deleted
I saw this too but I wasn't sure if this really was the bug in 0.60 which made the windows version unusable and I found no further comment about it?
I guess they would have announced it, if they finally fixed a bug which made it unusable for years, no?

Guenther
I am a bit reacting to your wording of,
There is practically nothing changed. No idea why it was bumped to 0.70?

A segfault is a nasty thing, and would like to use 0.7.0 replacing previous versions such as 0.5.1 and 0.6.0.
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: cutechess-cli 0.7.0

Post by Laskos »

Ferdy wrote:
Guenther wrote:
Ferdy wrote:
Guenther wrote:
Krzysztof Grzelak wrote:She got probably a new version cutechess-cli 0.7.0. Available on the page https://github.com/cutechess/cutechess .
There is practically nothing changed. No idea why it was bumped to 0.70?
Just command line flags naming was changed for consistence and support
for a newer QT version than before.

Guenther
There is this fix which I think is important.
Fix SEGFAUL or SEGILL when an engine process is stopped and deleted
I saw this too but I wasn't sure if this really was the bug in 0.60 which made the windows version unusable and I found no further comment about it?
I guess they would have announced it, if they finally fixed a bug which made it unusable for years, no?

Guenther
I am a bit reacting to your wording of,
There is practically nothing changed. No idea why it was bumped to 0.70?

A segfault is a nasty thing, and would like to use 0.7.0 replacing previous versions such as 0.5.1 and 0.6.0.
Ferdy, can you build a windows compile?
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: cutechess-cli 0.7.0

Post by Ferdy »

Laskos wrote:
Ferdy wrote:
Guenther wrote:
Ferdy wrote:
Guenther wrote:
Krzysztof Grzelak wrote:She got probably a new version cutechess-cli 0.7.0. Available on the page https://github.com/cutechess/cutechess .
There is practically nothing changed. No idea why it was bumped to 0.70?
Just command line flags naming was changed for consistence and support
for a newer QT version than before.

Guenther
There is this fix which I think is important.
Fix SEGFAUL or SEGILL when an engine process is stopped and deleted
I saw this too but I wasn't sure if this really was the bug in 0.60 which made the windows version unusable and I found no further comment about it?
I guess they would have announced it, if they finally fixed a bug which made it unusable for years, no?

Guenther
I am a bit reacting to your wording of,
There is practically nothing changed. No idea why it was bumped to 0.70?

A segfault is a nasty thing, and would like to use 0.7.0 replacing previous versions such as 0.5.1 and 0.6.0.
Ferdy, can you build a windows compile?
I will try, downloading QT now.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: cutechess-cli 0.7.0

Post by Guenther »

Ferdy wrote:
Guenther wrote:
Ferdy wrote:
Guenther wrote:
Krzysztof Grzelak wrote:She got probably a new version cutechess-cli 0.7.0. Available on the page https://github.com/cutechess/cutechess .
There is practically nothing changed. No idea why it was bumped to 0.70?
Just command line flags naming was changed for consistence and support
for a newer QT version than before.

Guenther
There is this fix which I think is important.
Fix SEGFAUL or SEGILL when an engine process is stopped and deleted
I saw this too but I wasn't sure if this really was the bug in 0.60 which made the windows version unusable and I found no further comment about it?
I guess they would have announced it, if they finally fixed a bug which made it unusable for years, no?

Guenther
I am a bit reacting to your wording of,
There is practically nothing changed. No idea why it was bumped to 0.70?

A segfault is a nasty thing, and would like to use 0.7.0 replacing previous versions such as 0.5.1 and 0.6.0.
Yes I agree in case they have fixed this bug.

Guenther
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: cutechess-cli 0.7.0

Post by ilari »

Long time no see, TalkChess! Yes, we had a little hackathon with Arto, which mostly consisted of debugging the Windows version. And we decided to release cutechess-cli 0.7.0 with the following changes (compared to 0.6.0):

* Fix EPD indexing performance on Windows
* Fix Chess 960 castling bug
* Use QElapsedTimer for time control (more accurate timing)
* Print SPRT information along current ratings
* Use 64-bit integers to represent node counts
* Fix alignment and padding of engine names in tournament ratings
* Fix SEGFAUL or SEGILL when an engine process is stopped and deleted

The SEGFAULT/SEGILL problems would only occur under certain circumstances so it took a lot of debugging to reproduce and properly fix them.

Up-to-date binaries are available at https://github.com/cutechess/cutechess
The binaries were just updated today so if you downloaded them before today you do not have the latest version. Running "cutechess-cli --version" will tell which version you have.

Best Regards,
Ilari
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: cutechess-cli 0.7.0

Post by ilari »

Oh, and just like Matthias said, the 32-bit Windows version works fine with 64-bit engines. It wouldn't really add much value to have a 64-bit version on Windows.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: cutechess-cli 0.7.0

Post by Ferdy »

ilari wrote:Long time no see, TalkChess! Yes, we had a little hackathon with Arto, which mostly consisted of debugging the Windows version. And we decided to release cutechess-cli 0.7.0 with the following changes (compared to 0.6.0):

* Fix EPD indexing performance on Windows
* Fix Chess 960 castling bug
* Use QElapsedTimer for time control (more accurate timing)
* Print SPRT information along current ratings
* Use 64-bit integers to represent node counts
* Fix alignment and padding of engine names in tournament ratings
* Fix SEGFAUL or SEGILL when an engine process is stopped and deleted

The SEGFAULT/SEGILL problems would only occur under certain circumstances so it took a lot of debugging to reproduce and properly fix them.

Up-to-date binaries are available at https://github.com/cutechess/cutechess
The binaries were just updated today so if you downloaded them before today you do not have the latest version. Running "cutechess-cli --version" will tell which version you have.

Best Regards,
Ilari
Thanks for this update.

I did manage to make a compile for windows. Downloading the almost 1GB installation file of QT 5.5 and mingw 4.9.2 :).
Running test now, so far I have not seen a message,

Code: Select all

Warning: EngineProcess: pipe reader was terminated
This is from the cutechess that I compile.

When I run this tour batch file with 0.6.0 I get the message,

Code: Select all

Warning: EngineProcess: pipe reader was terminated
From the link,
Binaries are available for cutechess-cli, the command-line interface of Cute Chess. The latest version is 0.6.0.
Better to change that to 0.7.0.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: cutechess-cli 0.7.0

Post by ilari »

Ferdy wrote:Running test now, so far I have not seen a message,

Code: Select all

Warning: EngineProcess: pipe reader was terminated
This is from the cutechess that I compile.

When I run this tour batch file with 0.6.0 I get the message,

Code: Select all

Warning: EngineProcess: pipe reader was terminated
Good to hear. I was hoping that the pipe reader warning would get fixed as a result of the SEGFAULT/SEGILL fix. The problem was a WINAPI thread handle that was left open needlessly. Let me know if you still get that warning in some of your tests.
Ferdy wrote:From the link,
Binaries are available for cutechess-cli, the command-line interface of Cute Chess. The latest version is 0.6.0.
Better to change that to 0.7.0.
Oh, well spotted. Fixed!
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: cutechess-cli 0.7.0

Post by cdani »

ilari wrote:Long time no see, TalkChess! Yes, we had a little hackathon with Arto, which mostly consisted of debugging the Windows version. And we decided to release cutechess-cli 0.7.0 with the following changes (compared to 0.6.0):

* Fix EPD indexing performance on Windows
* Fix Chess 960 castling bug
* Use QElapsedTimer for time control (more accurate timing)
* Print SPRT information along current ratings
* Use 64-bit integers to represent node counts
* Fix alignment and padding of engine names in tournament ratings
* Fix SEGFAUL or SEGILL when an engine process is stopped and deleted

The SEGFAULT/SEGILL problems would only occur under certain circumstances so it took a lot of debugging to reproduce and properly fix them.

Up-to-date binaries are available at https://github.com/cutechess/cutechess
The binaries were just updated today so if you downloaded them before today you do not have the latest version. Running "cutechess-cli --version" will tell which version you have.

Best Regards,
Ilari
I have no enough ways of thank you for cutechess-cli :-)
So simply thanks!!
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: cutechess-cli 0.7.0

Post by Ferdy »

It works just fine, Deuterium gauntlet at tc 5s + 100ms inc, no time forfeit, no warnings.

Code: Select all

   # PLAYER            : RATING  ERROR   POINTS  PLAYED    (%)   CFS(next)
   1 Murka_3_64BIT     :   61.5   65.8     42.5      64   66.4%      66
   2 Spark 1.0 x64     :   37.0   62.7     40.5      64   63.3%      93
   3 Quazar_0.4_x64    :  -38.0   55.8     34.0      64   53.1%      75
   4 D2015.1.35.247    :  -60.4   29.6     75.0     192   39.1%     ---

White advantage = 50.95 +/- 23.84
Draw rate (equal opponents) = 27.60 % +/- 3.38
During compilation, I also got the gui. I tried the tournament, does this support concurrency? I tried to find it but could not.

Image