I've been compiling some open source engines on a Raspberry Pi 2 lately, using gcc 4.9 on Raspbian Wheezy. Arasan, Hakkapeliitta, Stockfish and a couple others are playing well now.
But for some reason the GreKo engine will compile from source and run, but play very weakly when using its standard settings. It's simply giving away material and overlooking checkmates. For example, after 1. e4 e5 2. h4 it will play 2... Qxh4.
GreKo is running as a UCI engine in Scid vs. PC 4.14. I tried several versions: 12.6, 12.8a and the most recent one (12.9), but they are all showing the same behaviour.
Could anyone please give a suggestion about getting GreKo 12.9 to play at its normal strength on Raspberry Pi 2?
Compiling Problem on Raspberry Pi 2
Moderators: hgm, Dann Corbit, Harvey Williamson
-
flok
Re: Compiling Problem on Raspberry Pi 2
Regarding the normal strength: to what are you comparing?
-
Joost Buijs
- Posts: 1562
- Joined: Thu Jul 16, 2009 10:47 am
- Location: Almere, The Netherlands
Re: Compiling Problem on Raspberry Pi 2
Maybe the engine is broken when you compile it for 32 bit.
Try to compile it on a PC and check whether the node count 32 bit vs 64 bit is the same.
I don't know the engine, but it is possible that you have to define a switch if you want to compile it for 32 bit.
Try to compile it on a PC and check whether the node count 32 bit vs 64 bit is the same.
I don't know the engine, but it is possible that you have to define a switch if you want to compile it for 32 bit.
-
sje
- Posts: 4675
- Joined: Mon Mar 13, 2006 7:43 pm
-
chess1974lover
- Posts: 6
- Joined: Tue Jun 30, 2015 9:53 am
Re: Compiling Problem on Raspberry Pi 2
GreKo has had a >2200 Elo since at least 2009. It shouldn't give away pieces at its highest level...
-
F. Bluemers
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Compiling Problem on Raspberry Pi 2
Also: char is treated as unsigned
http://blog.cdleary.com/2012/11/arm-cha ... y-default/
http://blog.cdleary.com/2012/11/arm-cha ... y-default/
-
Jim Ablett
- Posts: 1343
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Compiling Problem on Raspberry Pi 2
My experience with compiling Greko for Android is that some gui's don't like the uci implementation of Greko. Running Greko in uci mode in 'Chess For Android' just doesn't work correctly. Winboard mode works fine though.
-
WinPooh
- Posts: 267
- Joined: Fri Mar 17, 2006 8:01 am
- Location: Russia
- Full name: Vladimir Medvedev
Re: Compiling Problem on Raspberry Pi 2
First, I'd check move generator. Can you run GreKo in console and execute perft <depth> command for depth = 3,4,5,6 ?
-
WinPooh
- Posts: 267
- Joined: Fri Mar 17, 2006 8:01 am
- Location: Russia
- Full name: Vladimir Medvedev
Re: Compiling Problem on Raspberry Pi 2
It was case sensitivity issue, as I remember. I've fixed it in some recent version.
-
WinPooh
- Posts: 267
- Joined: Fri Mar 17, 2006 8:01 am
- Location: Russia
- Full name: Vladimir Medvedev
Re: Compiling Problem on Raspberry Pi 2
It was case sensitivity issue, as I remember. I've fixed it in some recent version.Jim Ablett wrote:My experience with compiling Greko for Android is that some gui's don't like the uci implementation of Greko. Running Greko in uci mode in 'Chess For Android' just doesn't work correctly. Winboard mode works fine though.