OpenTal 1.0 in a linux operating system
Moderators: hgm, Rebel, chrisw
-
- Posts: 5
- Joined: Sat Jan 06, 2018 7:59 pm
OpenTal 1.0 in a linux operating system
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.
-
- Posts: 4611
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: OpenTal 1.0 in a linux operating system
People usually use wine to run win programs under linux (works quite well).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.
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:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
-
- Posts: 50
- Joined: Tue Jul 19, 2016 10:19 am
Re: OpenTal 1.0 in a linux operating system
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
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
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: OpenTal 1.0 in a linux operating system
Is this engine any different from rodent 3 using the Tal personality?
-
- Posts: 365
- Joined: Mon May 14, 2007 8:20 pm
- Full name: Boban Stanojević
Re: OpenTal 1.0 in a linux operating system
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.
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.
-
- Posts: 5
- Joined: Sat Jan 06, 2018 7:59 pm
Re: OpenTal 1.0 in a linux operating system
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.Guenther wrote:People usually use wine to run win programs under linux (works quite well).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.
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
Last edited by Michael Sayers on Sun Jan 21, 2018 12:08 pm, edited 1 time in total.
-
- Posts: 5
- Joined: Sat Jan 06, 2018 7:59 pm
Re: OpenTal 1.0 in a linux operating system
Hi Antonio,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
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.
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: OpenTal 1.0 in a linux operating system
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
https://www.dropbox.com/s/zf8541xvaeo72 ... ar.xz?dl=0
*Fixed the compiler errors thanks to Antonio, also fixed the malformed UCI ID-String
-
- 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
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.
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.
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: OpenTal 1.0 in a linux operating system
in main.cpp add "name" in line 39 between "id" and the engines name. like this:
the UCI protocol expects the ID string to look like this.
Code: Select all
printf("id name OpenTal 1.1" [...]