cutechess-cli 0.8.0 released

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 5:45 pm
Location: Finland
Contact:

Re: cutechess-cli 0.8.0 released

Post by ilari » Tue May 17, 2016 6:04 pm

Look wrote:
ilari wrote:
Look wrote: Greetings,

On my 64-bit windows 7, after running cutechess-cli.exe, I get msvcp140.dll missing. Maybe according to internet, you should statically link this project.
As Gabor said, msvcp140.dll is included in the package, but only since I updated it about a day after release. So you may have to download again.
This time api-ms-win-crt-runtime-l1-1-0.dll is missing.
Looks like you'll need the Visual C++ 2015 runtime: https://www.microsoft.com/en-us/downloa ... x?id=48145

You can also install it via Windows Update.

flok

Re: cutechess-cli 0.8.0 released

Post by flok » Tue May 17, 2016 7:29 pm

It fails to compile:

Code: Select all

g++ -c -m64 -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_WEBKIT -DLIB_EXPORT= -DZ_PREFIX -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4 -Isrc -Icomponents/json/src -I3rdparty/gtb/src -I.moc -o .obj/epdrecord.o src/epdrecord.cpp
src/tournament.cpp: In member function ‘TournamentPair* Tournament::pair(int, int)’:
src/tournament.cpp:266:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto order1 = qMakePair(player1, player2);
  ^
src/tournament.cpp:266:7: error: ‘order1’ does not name a type
  auto order1 = qMakePair(player1, player2);
       ^
src/tournament.cpp:268:23: error: ‘order1’ was not declared in this scope
  if (m_pairs.contains(order1))
                       ^
src/tournament.cpp:271:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto order2 = qMakePair(player2, player1);
  ^
src/tournament.cpp:271:7: error: ‘order2’ does not name a type
  auto order2 = qMakePair(player2, player1);
       ^
src/tournament.cpp:272:23: error: ‘order2’ was not declared in this scope
  if (m_pairs.contains(order2))
                       ^
src/tournament.cpp:281:10: error: ‘order1’ was not declared in this scope
  m_pairs[order1] = ret;
          ^

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

Re: cutechess-cli 0.8.0 released

Post by ilari » Tue May 17, 2016 7:51 pm

flok wrote:It fails to compile:

Code: Select all

g++ -c -m64 -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_WEBKIT -DLIB_EXPORT= -DZ_PREFIX -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4 -Isrc -Icomponents/json/src -I3rdparty/gtb/src -I.moc -o .obj/epdrecord.o src/epdrecord.cpp
src/tournament.cpp: In member function ‘TournamentPair* Tournament::pair(int, int)’:
src/tournament.cpp:266:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto order1 = qMakePair(player1, player2);
  ^
src/tournament.cpp:266:7: error: ‘order1’ does not name a type
  auto order1 = qMakePair(player1, player2);
       ^
src/tournament.cpp:268:23: error: ‘order1’ was not declared in this scope
  if (m_pairs.contains(order1))
                       ^
src/tournament.cpp:271:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto order2 = qMakePair(player2, player1);
  ^
src/tournament.cpp:271:7: error: ‘order2’ does not name a type
  auto order2 = qMakePair(player2, player1);
       ^
src/tournament.cpp:272:23: error: ‘order2’ was not declared in this scope
  if (m_pairs.contains(order2))
                       ^
src/tournament.cpp:281:10: error: ‘order1’ was not declared in this scope
  m_pairs[order1] = ret;
          ^
This means that for some reason g++ tries to compile in C++0x mode when it should use C++11 mode. Did you try the build with "qmake && make" commands?

flok

Re: cutechess-cli 0.8.0 released

Post by flok » Tue May 17, 2016 7:55 pm

In fact that is exact what I did!

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

Re: cutechess-cli 0.8.0 released

Post by ilari » Wed May 18, 2016 4:48 am

flok wrote:In fact that is exact what I did!
Sorry, I didn't look closely enough. It looks like you're trying to compile against qt 4. CuteChess requires at least qt 5.3.

Ferdy
Posts: 4113
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: cutechess-cli 0.8.0 released

Post by Ferdy » Thu May 19, 2016 1:01 am

Thanks for the update.

How the bracket are created in knockout?

How to setup a knockout tour such that the best engines will most likely battle in the latter rounds?

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

Re: cutechess-cli 0.8.0 released

Post by ilari » Thu May 19, 2016 5:12 am

Ferdy wrote:Thanks for the update.

How the bracket are created in knockout?

How to setup a knockout tour such that the best engines will most likely battle in the latter rounds?
There's a new "-seeds n" parameter which sets the first n players as seeds in the tournament. The top two seeds can't face each other before the final, top 4 before the semifinals and so on. And if the total number of players in the tournament is not a power of 2, seeded players are prioritized to receive a BYE (ie. go straight to round 2).

Unseeded players are positioned randomly. By default all players are unseeded.

User avatar
Nordlandia
Posts: 2477
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: cutechess-cli 0.8.0 released

Post by Nordlandia » Thu May 19, 2016 7:47 am

Do 0.8.0 support two computer match do benefit from ponder?

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

Re: cutechess-cli 0.8.0 released

Post by ilari » Thu May 19, 2016 8:52 am

Nordlandia wrote:Do 0.8.0 support two computer match do benefit from ponder?
Can you please rephrase your question? Pondering is supported for all tournament types regardless of the number of players.

TimoK
Posts: 97
Joined: Sun Jan 03, 2010 11:28 am
Location: Hamburg

Re: cutechess-cli 0.8.0 released

Post by TimoK » Thu May 19, 2016 9:50 pm

Hi Ilari,

thank you very much for the new release!

I tested it and possibly found a bug: Engines don't switch the sides any more if you set up a tournament with >2 participants.

Example 1: cutechess-cli.exe -tournament gauntlet -engine conf="Komodo" -engine conf="Gull" -engine conf="Stockfish" -each tc=5+0.05 -rounds 10
This command leads to Komodo only playing white in all games against both opponents.

Example 2: cutechess-cli.exe -tournament gauntlet -engine conf="Komodo" -engine conf="Gull" -each tc=5+0.05 -rounds 10
There are only 2 participants left - now everything works like it should: Sides are switched after each game, so Komodo plays 5 games with white and 5 games with black.

This error didn't appear in version 0.7.3 which was the last version I tested.

Best regards
Timo

Post Reply