Teki chess engine

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
mkchan
Posts: 68
Joined: Thu Oct 06, 2016 7:17 pm
Location: India
Contact:

Re: Teki chess engine

Post by mkchan » Sun Mar 11, 2018 6:23 pm

Just to inform anyone interested, I have relicensed Teki from GPL to MIT.

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Teki chess engine

Post by SzG » Sun Mar 11, 2018 6:52 pm

Thanks Manik.
Gabor Szots

CCRL testing group

Scally
Posts: 22
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Teki chess engine

Post by Scally » Sun Mar 11, 2018 9:13 pm

Hi Manik,

It builds fine on the 32bit Linux Raspberry Pi by using the provided Makefile.


Thanks,

Al.
Alan Cooper
My Chess Computers

mkchan
Posts: 68
Joined: Thu Oct 06, 2016 7:17 pm
Location: India
Contact:

Re: Teki chess engine

Post by mkchan » Mon Mar 12, 2018 10:03 am

Scally wrote:Hi Manik,

It builds fine on the 32bit Linux Raspberry Pi by using the provided Makefile.


Thanks,

Al.
Thanks Al. I have compiled and uploaded a binary from my Raspberry pi too. It should work on Android phones as well (both being ARM) but I've not been able to get it to run on my phone yet.

mkchan
Posts: 68
Joined: Thu Oct 06, 2016 7:17 pm
Location: India
Contact:

Re: Teki chess engine

Post by mkchan » Mon Mar 12, 2018 4:50 pm

I think I managed to get the android version working fine. It'd be great if someone could try it out and tell me about it.
I tested it on Droidchess and Chess for Android.
It's available here: https://github.com/Mk-Chan/Teki/releases/tag/v1.0

flok

Re: Teki chess engine

Post by flok » Mon Mar 12, 2018 6:59 pm

Can't get it to work. Both on an intel pc as well as a raspberry pi:

Code: Select all

Starting program: /data/QueenBee/docs/Teki/src/release/Teki1_linux64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
uci
id name Teki 1
id author Manik Charan
option name Hash type spin default 1 min 1 max 1048576
uciok
go
info score cp 80 depth 1 nodes 22 time 1 pv b1c3
 
Thread 1 "Teki1_linux64" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000000048dee5 in std::thread::detach() ()
#2  0x000000000040cee6 in handler&#58;&#58;go&#40;Position&, std&#58;&#58;__cxx11&#58;&#58;basic_stringstream<char, std&#58;&#58;char_traits<char>, std&#58;&#58;allocator<char> >&) &#40;pos=..., stream=...)
    at /data/QueenBee/docs/Teki/src/uci.cpp&#58;248
#3  0x000000000040bfd3 in loop&#40;) () at /data/QueenBee/docs/Teki/src/uci.cpp&#58;278
#4  0x00000000004009b5 in main () at /data/QueenBee/docs/Teki/src/main.cpp&#58;44

mkchan
Posts: 68
Joined: Thu Oct 06, 2016 7:17 pm
Location: India
Contact:

Re: Teki chess engine

Post by mkchan » Mon Mar 12, 2018 7:42 pm

Sorry for the confusion, if you compile by yourself using build.sh (which is the cmake build) it will compile static binaries so you need the static linking libraries like glibc-static or whatever on many linux distributions.
You can remove the line containing "-static" from build.sh or just use the makefile:

Code: Select all

make CXX=g++ BUILD=release

Post Reply