jshriver wrote: ↑Sun Jan 17, 2021 12:24 pm
I've been building natively using gcc or clang. I'll try tossing the armv8 (64bit) gcc on one of my x86 linux boxes and see if I can get it to work.
When I first checked your executable using file, i could see it was a 32bit elf format, why I tried it out on my pi zero (which is 32bit). My guess is you'll need a new toolchain to target pi 4's specifically because they are not only 64bit, but also armv8 based not armv7.
But your build runs beautiful on my 32bit pi's.
Cheers
As for the NN builds I think it's the NN causing the low nps. I wll have to retry running the r3 builds as they are cpu only and dont use a NN. Can't remember what they ran but knew it was much higher.
So in terms of naming of exe I shall go for minic3.04_armv7_linux_x32 and minic3.04_armv8_linux_x64 ?
jshriver@Fischer:~$ ./minic_3.03_linux_x64_armv8
info string This is Minic version 3.03 (NNUE available)
info string Info 2021-01-17 09:26:50-920: No NNUE net loaded, using standard evaluation
uci
id name Minic 3.03
id author Vivien Clauzon
option name Level type spin default 100 min 0 max 100
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1500 min 500 max 2800
option name Hash type spin default 128 min 1 max 256000
option name Threads type spin default 1 min 1 max 255
option name UCI_Chess960 type check default false
option name Ponder type check default false
option name MateFinder type check default false
option name MultiPV type spin default 1 min 1 max 4
option name RandomOpen type spin default 0 min 0 max 100
option name MinMoveOverHead type spin default 50 min 10 max 1000
option name Contempt type spin default 12 min -50 max 50
option name ContemptMG type spin default 12 min -50 max 50
option name SyzygyPath type string default
option name NNUEFile type string default
option name forceNNUE type check default false
option name StyleAttack type spin default 50 min 0 max 100
option name StyleComplexity type spin default 50 min 0 max 100
option name StyleDevelopment type spin default 50 min 0 max 100
option name StyleMaterial type spin default 50 min 0 max 100
option name StyleMobility type spin default 50 min 0 max 100
option name StylePositional type spin default 50 min 0 max 100
option name StyleForwardness type spin default 50 min 0 max 100
uciok
go
info string Fatal 2021-01-17 09:26:59-835: bad timing configuration ... (missing dynamic time info for sudden death style TC)
terminate called after throwing an instance of 'std::system_error'
what(): Resource deadlock avoided
Aborted (core dumped)
jshriver@Fischer:~$
Edit: I tried "go depth 16" and "go infinite" and those worked without issue.
Last edited by jshriver on Sun Jan 17, 2021 3:37 pm, edited 1 time in total.
jshriver@Fischer:~$ ./minic_3.03_linux_x64_armv8
info string This is Minic version 3.03 (NNUE available)
info string Info 2021-01-17 09:26:50-920: No NNUE net loaded, using standard evaluation
uci
id name Minic 3.03
id author Vivien Clauzon
option name Level type spin default 100 min 0 max 100
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1500 min 500 max 2800
option name Hash type spin default 128 min 1 max 256000
option name Threads type spin default 1 min 1 max 255
option name UCI_Chess960 type check default false
option name Ponder type check default false
option name MateFinder type check default false
option name MultiPV type spin default 1 min 1 max 4
option name RandomOpen type spin default 0 min 0 max 100
option name MinMoveOverHead type spin default 50 min 10 max 1000
option name Contempt type spin default 12 min -50 max 50
option name ContemptMG type spin default 12 min -50 max 50
option name SyzygyPath type string default
option name NNUEFile type string default
option name forceNNUE type check default false
option name StyleAttack type spin default 50 min 0 max 100
option name StyleComplexity type spin default 50 min 0 max 100
option name StyleDevelopment type spin default 50 min 0 max 100
option name StyleMaterial type spin default 50 min 0 max 100
option name StyleMobility type spin default 50 min 0 max 100
option name StylePositional type spin default 50 min 0 max 100
option name StyleForwardness type spin default 50 min 0 max 100
uciok
go
info string Fatal 2021-01-17 09:26:59-835: bad timing configuration ... (missing dynamic time info for sudden death style TC)
terminate called after throwing an instance of 'std::system_error'
what(): Resource deadlock avoided
Aborted (core dumped)
jshriver@Fischer:~$
Good news
Minic does not like "go" without time specified. You can
or specify some wtime and btime remaining with movetogo or just movetime, ....
In fact I don't know what the uci standard says for just "go".I'll check.
Pi4Chess wrote: ↑Sun Jan 17, 2021 12:55 pm
Some info for you :
My binary was compiled with gdc 10.2 : 2312 kns and 604 kb binary.
Yours on same position is 2140 kns and 904 kb binary.
Your binary does not work on Raspberry Pi OS (missing library). Mine has been statically linked against phobos (the D library) and the D runtime so it should word on a wider number of Linux distribution. Unfortunately gdc 10 is not available for Raspberry Pi OS and I can not try it.
Note, that your C++ compilations of other engines does not run either on Raspberry Pi OS, the c++ library requested being too recent for this Debian OS.
Pi4Chess wrote: ↑Sun Jan 17, 2021 12:55 pm
Some info for you :
My binary was compiled with gdc 10.2 : 2312 kns and 604 kb binary.
Yours on same position is 2140 kns and 904 kb binary.
Your binary does not work on Raspberry Pi OS (missing library). Mine has been statically linked against phobos (the D library) and the D runtime so it should word on a wider number of Linux distribution. Unfortunately gdc 10 is not available for Raspberry Pi OS and I can not try it.
Note, that your C++ compilations of other engines does not run either on Raspberry Pi OS, the c++ library requested being too recent for this Debian OS.
Sad to hear that. Hopefully Raspberry Pi OS may upgrade sooner or later.
Yeah my compiles are not static ones in general unless author has decided in makefile.
New updated collection archive of pi4 chess engines binaries 18/01/2021 !
-These work with Ubuntu Mate 64 bits on Raspberry Pi4 but may not work on other linux distributions depending on libs available.
-All engines with -stand in folder are static android builds that work on rpi4 compiled by Archimedes
Added 3 new Archimedes static updated engines : Cheng 4.40, rtucano 9.07 and Koivisto 4.24
Added the MikeB IX-NN engines family compiled by jshriver
Added all the updated and new engines compiled by me since last collection archive.
We have 4 engines compiled by authors (if i don't forget any) : Cfish 12, Pedone 3, Dumb 1.7 and Minic 3.03 !