Page 40 of 47

Re: Requests for Android engines

Posted: 01/12/2021, 3:41
by Greek
Ive been meaning to request arm 7 & arm 8 versions of these Srockfish 1-5 engines as well but it seemed like a lot to ask for. Im glad Sami requested these & I hope Kramnik can compile them at some point
Thanks

Re: Requests for Android engines

Posted: 04/12/2021, 8:12
by Alemor64Chess
Hi!

Fat Titz 1.1 310821 for Android has already been compiled? pardon

https://github.com/Sopel97/FatTitz?ref=bestofcpp.com

Best regards, Alex

Re: Requests for Android engines

Posted: 04/12/2021, 11:56
by LittleJoe
Alemor64Chess wrote: 04/12/2021, 8:12 Hi!

Fat Titz 1.1 310821 for Android has already been compiled? pardon

https://github.com/Sopel97/FatTitz?ref=bestofcpp.com

Best regards, Alex
No, it wasn't compiled for Android since Sopel canceled Android/neon support. But yesterday he has written on Talkchess that Fat Titz 2 can be expected in near future. Unfortunatelly, most likely also without Android support... xrf27

http://www.talkchess.com/forum3/viewtopic.php?f=2&t=78193&start=19

Re: Requests for Android engines

Posted: 04/12/2021, 13:45
by Alemor64Chess
WOW!!!! thankyou
LittleJoe wrote: 04/12/2021, 11:56
Alemor64Chess wrote: 04/12/2021, 8:12 Hi!

Fat Titz 1.1 310821 for Android has already been compiled? pardon

https://github.com/Sopel97/FatTitz?ref=bestofcpp.com

Best regards, Alex
No, it wasn't compiled for Android since Sopel canceled Android/neon support. But yesterday he has written on Talkchess that Fat Titz 2 can be expected in near future

WOW!!! thankyou

. Unfortunatelly, most likely also without Android support... xrf27

http://www.talkchess.com/forum3/viewtopic.php?f=2&t=78193&start=19

Re: Requests for Android engines

Posted: 04/12/2021, 15:07
by LittleJoe
Alemor64Chess wrote: 04/12/2021, 13:45 WOW!!!! thankyou
LittleJoe wrote: 04/12/2021, 11:56
Alemor64Chess wrote: 04/12/2021, 8:12 Hi!

Fat Titz 1.1 310821 for Android has already been compiled? pardon

https://github.com/Sopel97/FatTitz?ref=bestofcpp.com

Best regards, Alex
No, it wasn't compiled for Android since Sopel canceled Android/neon support. But yesterday he has written on Talkchess that Fat Titz 2 can be expected in near future

WOW!!! thankyou

. Unfortunatelly, most likely also without Android support... xrf27

http://www.talkchess.com/forum3/viewtopic.php?f=2&t=78193&start=19
And you strictly followed Sopel's advice not to tell these news to anyone... Alex lol
Edit: Since Sopel seems to be a friend of you, you could friendly ask him for Android support für FT v2.0...

Re: Requests for Android engines

Posted: 04/12/2021, 19:23
by kramnik
Does someone know how to compile Stockfish 1 for GCC? The Makefile is completely different from the recent ones; I did a try by my own but I failed...

Re: Requests for Android engines

Posted: 05/12/2021, 12:24
by Archimedes
kramnik wrote: 04/12/2021, 19:23 Does someone know how to compile Stockfish 1 for GCC? The Makefile is completely different from the recent ones; I did a try by my own but I failed...
Why not using your own makefile? A quick test with Stockfish 1.0 shows, that the build with g++ doesn't work in DroidFish, but with clang++ it works. Therefore, all you need is a makefile like the following one. But, before you start the compile with "make", delete the file timeoday.cpp in the source directory (Stockfish 1.0 and may be other versions too).

Code: Select all

MODULE = Stockfish
SRC_FILES = *.cpp

CFLAGS += -std=c++11 -DNDEBUG -O3 -flto -march=armv8-a
DFLAGS += 
WFLAGS += -Wfatal-errors -Wall -Wextra -Wshadow
LFLAGS += -static-libstdc++

default:
	clang++ $(CFLAGS) $(DFLAGS) $(WFLAGS) $(SRC_FILES) $(LFLAGS) -o $(MODULE)
	strip $(MODULE)

Re: Requests for Android engines

Posted: 05/12/2021, 17:17
by MichaelM
Archimedes wrote: 05/12/2021, 12:24
kramnik wrote: 04/12/2021, 19:23 Does someone know how to compile Stockfish 1 for GCC? The Makefile is completely different from the recent ones; I did a try by my own but I failed...
Why not using your own makefile? A quick test with Stockfish 1.0 shows, that the build with g++ doesn't work in DroidFish, but with clang++ it works. Therefore, all you need is a makefile like the following one. But, before you start the compile with "make", delete the file timeoday.cpp in the source directory (Stockfish 1.0 and may be other versions too).

Code: Select all

MODULE = Stockfish
SRC_FILES = *.cpp

CFLAGS += -std=c++11 -DNDEBUG -O3 -flto -march=armv8-a
DFLAGS += 
WFLAGS += -Wfatal-errors -Wall -Wextra -Wshadow
LFLAGS += -static-libstdc++

default:
	clang++ $(CFLAGS) $(DFLAGS) $(WFLAGS) $(SRC_FILES) $(LFLAGS) -o $(MODULE)
	strip $(MODULE)
I could compile SF1.0 after some trouble with missing tabs in the makefile. The bench seems to work fine. In Droidfish everything looks good but always the engine works only short time and then stops. xrf27

Re: Requests for Android engines

Posted: 05/12/2021, 18:12
by Archimedes
MichaelM wrote: 05/12/2021, 17:17 I could compile SF1.0 after some trouble with missing tabs in the makefile. The bench seems to work fine. In Droidfish everything looks good but always the engine works only short time and then stops. xrf27
May be there is an issue with multiple threads. Does it work with one thread?

Re: Requests for Android engines

Posted: 05/12/2021, 18:42
by MichaelM
Archimedes wrote: 05/12/2021, 18:12
MichaelM wrote: 05/12/2021, 17:17 I could compile SF1.0 after some trouble with missing tabs in the makefile. The bench seems to work fine. In Droidfish everything looks good but always the engine works only short time and then stops. xrf27
May be there is an issue with multiple threads. Does it work with one thread?
With one thread it works, also with 2 and 3 threads a 1 min game comp vs comp is possible, but with 4 to 8 threads it crashes quite fast. Maybe a buffer overflow or something alike... smile218

Re: Requests for Android engines

Posted: 19/12/2021, 22:01
by odyn1982
Rodent IV NNUE:
http://www.pkoziol.cal24.pl/rodent/RodentNNUE.7z

Can somebody make an arm8 engine with option to quick choose personalities?

Re: Requests for Android engines

Posted: 22/12/2021, 9:08
by Archimedes
odyn1982 wrote: 19/12/2021, 22:01 Rodent IV NNUE:
http://www.pkoziol.cal24.pl/rodent/RodentNNUE.7z

Can somebody make an arm8 engine with option to quick choose personalities?
The NNUE part didn't work for me. With or without the network file, nps are always the same.

Re: Blue Marlin for Android

Posted: 04/01/2022, 21:58
by Evo
kramnik wrote: 27/11/2021, 19:34 My compilation (GCC 10.3.0 on Termux):

BlueMarlin 14.5 64-bit (armv8) and 32-bit (armv7)
https://pixeldrain.com/u/B8mvTUU8
Update please :sm55:

Re: Requests for Android engines

Posted: 18/01/2022, 5:35
by odyn1982
Zahak - interesting chess engine with NNUE
https://github.com/amanjpro/zahak

Re: Requests for Android engines

Posted: 18/01/2022, 8:44
by Archimedes