Compiling Stockfish 5 or ealier dev. version on RaspBerry

487 views
Skip to first unread message

Jerome Monscavoir

unread,
Aug 26, 2014, 4:53:39 AM8/26/14
to pico...@googlegroups.com
Hello all,

I tried many time to compile last version of Stockfish on RaspBerry Pi but i met problems
An very old version (2) of is available on RaspDebian repository but i don't want to use it

I would like to be able to compile it but it seems that i meet problems with floating point management (i feel surprise that in a chess engine that CPU costly floating operation are used.

This is the error i met using ARCH=armv7 parameters in make command :

error:stockfish use VFP register arguments, file_....o does not ...

It is occured after 15 minutes of processing compilation

I tried to compile "protector" an other good cheess engine only purely writen in C (not cpp like Stockfish) but if it is not failed when compiling but engine is not working (not answering to "isready" UCI command and so on)

Google is not my friend anymore becasue i'm not able to find usefull information on it

Thanks for y our help

PS : Stockfish is the best Engine on PC but is it the matching good one for RISC and/or ARM architecture ?

Jérôme


Jean-Francois Romang

unread,
Aug 26, 2014, 5:59:28 AM8/26/14
to pico...@googlegroups.com
Hello Jerome,
Build fails because you passed the 'ARCH=armv7' flag ; I initially added support for armv6 but stockfish team switched to armv7 because is it widespread (smartphones). So for the best results on rapberry pi you will have to use this :
make profile-build ARCH=generic-32
The profile build is important ; it's a 30% speed gain.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stefano

unread,
May 2, 2015, 12:42:24 PM5/2/15
to pico...@googlegroups.com, jro...@posteo.de
Hello,

sorry which Stockfish version is presently compliled and present in Picochess 0.36?
Is it Stockfish 5 ?

Thanks for yr answer.
Rgds
Stefano

Jonas Žnidaršič

unread,
May 2, 2015, 5:15:51 PM5/2/15
to pico...@googlegroups.com, jro...@posteo.de
It's Stockfish 6 on latest Picochess images from our repository.

As a bonus in /opt/picochess/engines/ folder there's a modified stockfish_human engine for beginners by jromang, it can be dumbed down below Level 0 with UCI parameter Beginner=True.

Dne sobota, 02. maj 2015 18.42.24 UTC+2 je oseba Stefano napisala:

Stefano

unread,
May 3, 2015, 5:14:11 AM5/3/15
to pico...@googlegroups.com
Thanks very much Jonas.
I noticed also the stockfish "human" in that folder.
Thanks for instruction on how to use it eventually.
Bye
Reply all
Reply to author
Forward
0 new messages