Stockfish 13 on PicoChess v201plus

171 views
Skip to first unread message

John Paul Parkins

unread,
Apr 10, 2021, 4:40:04 PM4/10/21
to PicoChess
Hi there, 

Thanks for all the information that is posted in this group. 

I wanted to pick somebody's brains and ask if anybody knows why I cannot get Stockfish 13 on PicoChess v201plus (installed from img) working on a Pi3 v1.2

I have followed the instructions hear: (Thanks Al)


All all seems straight forward, for some reason Pico Chess does not seem to start correctly. I have reverted back to Stockfish 8 (took a copy of it before overwriting it with Stockfish 13) which has bought things back to life.

Thanks

JP

RandyR

unread,
Apr 10, 2021, 5:15:59 PM4/10/21
to PicoChess
Hi JP,

Are you able to run stockfish by itself:

sudo service picochess stop
cd /opt/picochess/engines/armv7l
sudo ./a-stockf

If it runs (and says it is Stockfish 13), type:

go movetime 10000

Still good?

If it doesn't run, what is the error?

Randy

John Paul Parkins

unread,
Apr 10, 2021, 5:33:16 PM4/10/21
to PicoChess
Hi Randy, 

I am getting the error

pi@picochess:/opt/picochess/engines/armv7l $ sudo ./a-stockf

./a-stockf: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.11'                                                  not found (required by ./a-stockf)

Thanks

JP

Randy Reade

unread,
Apr 10, 2021, 6:05:54 PM4/10/21
to pico...@googlegroups.com
Hi JP,

It looks like it was compiled for a later version of GLIBC than what exists on the image you used. Are you able to use a v3 image?

Randy

--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/zsb3fnOOpUE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/769543ff-7ae2-4172-9d45-b134ee176b86n%40googlegroups.com.

John Paul Parkins

unread,
Apr 10, 2021, 6:25:07 PM4/10/21
to PicoChess
Hi Randy,

Was just thinking that after your advice.

I would use v3 image if I knew where to get it from, I must have missed.

Thanks. 

JP 

RandyR

unread,
Apr 10, 2021, 6:47:51 PM4/10/21
to PicoChess
Hi JP,

Have a look at this thread. The links are valid but the sizes mentioned may be slightly different. The attachments, included in the image archives, explain the differences between the 2 images. The other option would be to compile SF13 using the image that you have, but you would miss out on all of Dirk's enhancements.

Randy

John Paul Parkins

unread,
Apr 10, 2021, 7:01:36 PM4/10/21
to PicoChess
Randy, 

Thanks for that. 

I did trying compiling from source code but ran into other errors while using this:

make build ARCH=armv7

I will try v3 image as it make sense not to miss out on the enhancements.

JP

RandyR

unread,
Apr 10, 2021, 7:09:23 PM4/10/21
to PicoChess
This might work, but I'm not near my Pi:

make -j2 profile-build ARCH=armv7 LDFLAGS="-latomic -lpthread -lgcov"

Randy

John Paul Parkins

unread,
Apr 10, 2021, 10:19:47 PM4/10/21
to PicoChess
Randy, 

All up and running with new image.

Will give

make -j2 profile-build ARCH=armv7 LDFLAGS="-latomic -lpthread -lgcov"

a go at some point, I am interested to see if it compiles ok.

Take care and thanks
Message has been deleted

Scally

unread,
Apr 11, 2021, 3:09:41 AM4/11/21
to PicoChess
Hi JP,

One of the many good things about this forum is that we are from different time zones. 
Whilst I was sleeping Randy in the USA could reply, now that I’m awake in the UK and Randy is asleep, I can reply.
Your former problem was probably due to the fact that v2.01 was still using Raspbian Stretch, we are now using Raspbian Buster aka Raspberry Pi OS & my compile was done on Buster.

This command will tell you which OS you are using:
sudo lsb_release -a

I see now that you are using Randy’s latest images which are Buster, therefor my compile would now work, however my compiled engines are in Randy’s images anyway.

a-stockf is configured to not use NNUE, but there is a NNUE version in the NNUE folders, however you could change the a-stockf.uci to use NNUE should you so wish, as long as the NNUE file is present.


Cheers,

Al.

John Paul Parkins

unread,
Apr 11, 2021, 7:15:14 AM4/11/21
to PicoChess
Al,

Based in London, that explains why Randy was able to help.

Really enjoying PicoChess, thanks for the support. Really appreciate the community.

Found the flag to enable NNUE in a-stockf.uci - Looking forward to seeing this work.

Cheers 

JP

RandyR

unread,
Apr 11, 2021, 10:14:50 AM4/11/21
to PicoChess
I'm actually in Canada. :^)

Randy

Scally

unread,
Apr 11, 2021, 10:33:20 AM4/11/21
to PicoChess
Sorry Randy,

Same / similar time zone … 😀

Al.

Reply all
Reply to author
Forward
0 new messages