Compiling Problem on Raspberry Pi 2

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

chess1974lover
Posts: 6
Joined: Tue Jun 30, 2015 9:53 am

Compiling Problem on Raspberry Pi 2

Post by chess1974lover »

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?
flok

Re: Compiling Problem on Raspberry Pi 2

Post by flok »

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

Post by Joost Buijs »

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.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Compiling Problem on Raspberry Pi 2

Post by sje »

chess1974lover
Posts: 6
Joined: Tue Jun 30, 2015 9:53 am

Re: Compiling Problem on Raspberry Pi 2

Post by chess1974lover »

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

Post by F. Bluemers »

User avatar
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

Post by Jim Ablett »

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.
User avatar
WinPooh
Posts: 267
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Compiling Problem on Raspberry Pi 2

Post by WinPooh »

First, I'd check move generator. Can you run GreKo in console and execute perft <depth> command for depth = 3,4,5,6 ?
User avatar
WinPooh
Posts: 267
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Compiling Problem on Raspberry Pi 2

Post by WinPooh »

It was case sensitivity issue, as I remember. I've fixed it in some recent version.
User avatar
WinPooh
Posts: 267
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Compiling Problem on Raspberry Pi 2

Post by WinPooh »

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.
It was case sensitivity issue, as I remember. I've fixed it in some recent version.