cutechess-cli
cutechess-cli
I wanted to do some testing between two stockfish versions. I therefore downloaded precompiled packages of cutchess-cli 32/64bit Linux.
When I try to run any of them I get the following message. However the missing lib can be found in the lib subdirectory.
Can somebody tell me what I am doing wrong so far?
tobias@brutus:~/Downloads/cutechess-cli$ ./cutechess-cli
./cutechess-cli: error while loading shared libraries: libcutechess.so.1: cannot open shared object file: No such file or directory
When I try to run any of them I get the following message. However the missing lib can be found in the lib subdirectory.
Can somebody tell me what I am doing wrong so far?
tobias@brutus:~/Downloads/cutechess-cli$ ./cutechess-cli
./cutechess-cli: error while loading shared libraries: libcutechess.so.1: cannot open shared object file: No such file or directory
Re: cutechess-cli
This is not easy to debug remotely... Maybe the program checks /usr/lib rather than /lib or something? I would probably run strace and see where it is looking for the lib, though I'd guess there's a better utility for dependency-checking (such as ldd -v, somehow?).However the missing lib can be found in the lib subdirectory.
Indeed, I downloaded cutechess myself, and got the same problem:
$ ldd cutechess-cli libcutechess.so.1 => not found
-
- Posts: 4
- Joined: Thu Jun 10, 2010 6:54 am
Re: cutechess-cli
There's a file named cutechess-cli.sh included in the package. If you run that instead of the binary, it should work. Alternatively you can set LD_LIBRARY_PATH to "./lib" like BB+ said.
Re: cutechess-cli
I run strace and copied the libraries to one of the suggested places. Now cutechess does a nice job
Re: cutechess-cli
Hi,
my computer stands near my bed. I hate the fan noises so I shut it down everytime I go to bed.
I want to now if there is a way to pause a match with cutechess and resume the next day.
Greetings
my computer stands near my bed. I hate the fan noises so I shut it down everytime I go to bed.
I want to now if there is a way to pause a match with cutechess and resume the next day.
Greetings
-
- Posts: 4
- Joined: Thu Jun 10, 2010 6:54 am
Re: cutechess-cli
Unfortunately cutechess-cli doesn't save the progress of the match anywhere but the PGN file, so it's not possible to resume a tournament. But if you're running a match between two engines you can always terminate the match cleanly with CTRL+C and later start a new one with the same PGN output file.quantum wrote:Hi,
my computer stands near my bed. I hate the fan noises so I shut it down everytime I go to bed.
I want to now if there is a way to pause a match with cutechess and resume the next day.
Greetings
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: cutechess-cli
I encountered the following problem running matches with cutechess-cli 0.6.0.
I use a .bat file to run cutechess-cli (Server 2008 R2 x64 OS):
Restart=off. Nevertheless some of the engine instances keep restarting. How to fix this?
I use a .bat file to run cutechess-cli (Server 2008 R2 x64 OS):
Code: Select all
cutechess-cli -engine name=Gull cmd=Gull.exe -engine name=GullR491 cmd=GullR491.exe -each proto=uci tc=inf depth=7 option.Hash=16 option.Contempt=0 option.Threads=1 restart=off -draw movenumber=20 movecount=3 score=0 -resign movecount=2 score=350 -repeat -openings file=op.epd format=epd -pgnout games.pgn min -rounds 80000 -concurrency 4 -ratinginterval 1
Re: cutechess-cli
The easiest solution is to make static compiles (ie. cutechess-cli and cutechess GUI will both include cutechess-lib in the executable, so you avoid the problem of declaring where the lib is). Step by step instruction:quantum wrote:I wanted to do some testing between two stockfish versions. I therefore downloaded precompiled packages of cutchess-cli 32/64bit Linux.
When I try to run any of them I get the following message. However the missing lib can be found in the lib subdirectory.
Can somebody tell me what I am doing wrong so far?
tobias@brutus:~/Downloads/cutechess-cli$ ./cutechess-cli
./cutechess-cli: error while loading shared libraries: libcutechess.so.1: cannot open shared object file: No such file or directory
Code: Select all
$ git clone https://github.com/cutechess/cutechess.git
$ cd cutechess
$ qmake -config static
$ make
Pre-requisite: You need to have the following packages installed before
* git
* qt4-dev-tools (a bulky download unfortunately)
* g++ and make (if not already included by qt4-dev-tools)
It is best to compile yourself, because anytime a bugfix is available you can just use a 'git pull' and recompile with qmake and make, rather than wait for months/years for an official compile to come out.
"Talk is cheap. Show me the code." -- Linus Torvalds.
-
- Posts: 190
- Joined: Sun Jul 14, 2013 10:00 am
- Real Name: H.G. Muller
Re: cutechess-cli
Note that WinBoard / XBoard does allow such interruption and resumption of a match when you run it as a tournament (i.e. specify a tournament file when you set it up through the Tournament Options dialog). You can interrupt a running tourney by cliking the 'Mode->Machine Match' menu item, in which case it drops out of match mode after the current game, or by simply closing XBoard (in which case you lose the game in progress).quantum wrote:Hi,
my computer stands near my bed. I hate the fan noises so I shut it down everytime I go to bed.
I want to now if there is a way to pause a match with cutechess and resume the next day.
Greetings
The next day you can then simply restart the tourney by double-clicking the tourney file.
If you were using concurrency, you would have to do that multiple times (as many times as the number of playing agents you want), just like you had to do to get the concurrency in the first place.
For doing ultra-fast games, XBoard should be run with the option -noGUI, or it would be significantly slower that cutechess-cli.
Note the most recent XBoard also has a Pause mode during a game for when you leave power on (for if you quickly want to do something that requires heavy CPU) using the P button or 'Pause' key.
-
- Posts: 78
- Joined: Mon Jan 28, 2013 10:56 am
Re: cutechess-cli
Anyway to have a graphical interface to configure and launch it on windows?