OpenTal 1.0 in a linux operating system

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

Moderators: hgm, Rebel, chrisw

Michael Sayers
Posts: 5
Joined: Sat Jan 06, 2018 7:59 pm

OpenTal 1.0 in a linux operating system

Post by Michael Sayers »

Maybe someone here has a solution to getting this engine operable in a linux environment. With much online searching I didn't find a solution. Maybe it is out there and I missed it.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: OpenTal 1.0 in a linux operating system

Post by Guenther »

Michael Sayers wrote:Maybe someone here has a solution to getting this engine operable in a linux environment. With much online searching I didn't find a solution . . . maybe it is out there and I missed it, or maybe it is obvious but not to someone whose expertise isn't in the computer field.
People usually use wine to run win programs under linux (works quite well).

It is also possible that someone, who has it already compiled for linux sends it to you.
The search says Roy Brunjes did it already for Mint 18.2.

Guenther
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
thunderstruck
Posts: 50
Joined: Tue Jul 19, 2016 10:19 am

Re: OpenTal 1.0 in a linux operating system

Post by thunderstruck »

You are right Michael saying it does not compile out of the box in Linux.
There's a missing header file for the 'floor' command.
In file book.cpp you've to insert : #include <math.h> in line 20.
Compile in source folder with : g++ *.cpp -DNDEBUG -lm -lpthread -O3 -o opental

Kind regards,

Antonio
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: OpenTal 1.0 in a linux operating system

Post by styx »

Is this engine any different from rodent 3 using the Tal personality?
matejst
Posts: 364
Joined: Mon May 14, 2007 8:20 pm
Full name: Boban Stanojević

Re: OpenTal 1.0 in a linux operating system

Post by matejst »

Unfortunaly, the new 32-bit versions of Rodent (therefore, OpenTal too I guess) crash under wine everytime one try to change their settings. I am still stuck with the official version, although I have tried all the subsequent compiles.

It seemed that the new Rodent plays a bit differently than the official release, so I wanted to try it.

BTW, for Brendan and Ulysses: iCE 3.0 is a very interesting engine, worth testing and playing with. Thomas Petzke left a great deal of endgame knowledge in the engine, even when he discovered that, Elo wise, it was not worth much. But it's a gift for analysis and for use without TBs. Thomas' blog is also worth reading.
Michael Sayers
Posts: 5
Joined: Sat Jan 06, 2018 7:59 pm

Re: OpenTal 1.0 in a linux operating system

Post by Michael Sayers »

Guenther wrote:
Michael Sayers wrote:Maybe someone here has a solution to getting this engine operable in a linux environment. With much online searching I didn't find a solution . . . maybe it is out there and I missed it, or maybe it is obvious but not to someone whose expertise isn't in the computer field.
People usually use wine to run win programs under linux (works quite well).

It is also possible that someone, who has it already compiled for linux sends it to you.
The search says Roy Brunjes did it already for Mint 18.2.

Guenther
Thanks - for some reason I can't locate that page so I've sent the files to a friend in the U.S. for a linux compile.
Last edited by Michael Sayers on Sun Jan 21, 2018 12:08 pm, edited 1 time in total.
Michael Sayers
Posts: 5
Joined: Sat Jan 06, 2018 7:59 pm

Re: OpenTal 1.0 in a linux operating system

Post by Michael Sayers »

thunderstruck wrote:You are right Michael saying it does not compile out of the box in Linux.
There's a missing header file for the 'floor' command.
In file book.cpp you've to insert : #include <math.h> in line 20.
Compile in source folder with : g++ *.cpp -DNDEBUG -lm -lpthread -O3 -o opental

Kind regards,

Antonio
Hi Antonio,

To compile it a system update is needed. The linux system is offline for now (there is a long story to that) but I suspect that your solution would work fine.
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: OpenTal 1.0 in a linux operating system

Post by styx »

Download Opental 1.1 64-Bit Linux Version*:

https://www.dropbox.com/s/zf8541xvaeo72 ... ar.xz?dl=0

*Fixed the compiler errors thanks to Antonio, also fixed the malformed UCI ID-String
User avatar
Scally
Posts: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

Re: OpenTal 1.0 in a linux operating system

Post by Scally »

Hi,

Thanks to Antonio’s earlier post OpenTal now compiles on the 32bit Linux RaspBerry Pi, however it’s still not quite right.

What is the fix for this malformed UCU ID-String you refer to please?


Thanks,

Al.
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: OpenTal 1.0 in a linux operating system

Post by styx »

in main.cpp add "name" in line 39 between "id" and the engines name. like this:

Code: Select all

printf&#40;"id name OpenTal 1.1"   &#91;...&#93;
the UCI protocol expects the ID string to look like this.