Introducing Igel chess engine

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

Moderator: Ras

cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing Igel chess engine

Post by cpeters »

Good evening voffka!

Thank you, got it working now (but it's veryvery slow on the frigging mac).
chessica
Posts: 916
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Introducing Igel chess engine

Post by chessica »

voffka wrote: Mon Dec 30, 2024 4:08 pm Hi cpeters,
cpeters wrote: Mon Dec 30, 2024 2:45 am Which one would be correct, if any? Will try later with the phone (armv8/in termux with clang).
The correct bench for Igel 3.6.0 is 1202492.
Is the bench the same for all targets? How does it have to be started? In the
Console input from bench doesn't work, then it closes.
voffka
Posts: 297
Joined: Sat Jun 30, 2018 10:58 pm
Location: Ukraine
Full name: Volodymyr Shcherbyna

Re: Introducing Igel chess engine

Post by voffka »

Hi chessica,
chessica wrote: Mon Dec 30, 2024 7:58 pm Is the bench the same for all targets? How does it have to be started? In the
Console input from bench doesn't work, then it closes.
Yes, the bench has to be the same for all flavours of igel compilation for the same version: e.g. Igel 3.6.0 correct bench must be 1202492. If it is not the same for some "custom compile" it means something is wrong and the produced binary is not actually Igel 3.6.0 in terms of playing strength.

To get the bench please run "igel.exe bench" in the command line.
voffka
Posts: 297
Joined: Sat Jun 30, 2018 10:58 pm
Location: Ukraine
Full name: Volodymyr Shcherbyna

Re: Introducing Igel chess engine

Post by voffka »

Hi cpeters,
cpeters wrote: Mon Dec 30, 2024 6:39 pm Good evening voffka!
Thank you, got it working now (but it's veryvery slow on the frigging mac).
What is the NPS of Igel? Also, what is the NPS of any other reference engine on that hardware?
cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing Igel chess engine

Post by cpeters »

Hi!
voffka wrote: Mon Dec 30, 2024 8:27 pm
What is the NPS of Igel? Also, what is the NPS of any other reference engine on that hardware?
Just 'bench' for both engines..

Code: Select all

m2/macos
igel: 287.539 NPS
stockfish-14.1: 1.397.015 NPS

i5-3210M/Debian
igel: 360.459 NPS
stockfish-14.1: 1.124.058 NPS
So...the translation takes time but it works :-) In Jims (thank you!) package were the files for this task:


Greetings!
chessica
Posts: 916
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Introducing Igel chess engine

Post by chessica »

voffka wrote: Mon Dec 30, 2024 8:25 pm Hi chessica,
chessica wrote: Mon Dec 30, 2024 7:58 pm Is the bench the same for all targets? How does it have to be started? In the
Console input from bench doesn't work, then it closes.
Yes, the bench has to be the same for all flavours of igel compilation for the same version: e.g. Igel 3.6.0 correct bench must be 1202492. If it is not the same for some "custom compile" it means something is wrong and the produced binary is not actually Igel 3.6.0 in terms of playing strength.

To get the bench please run "igel.exe bench" in the command line.
My igel engines are:

23.09.2023 12:54 662.528 igel-2.6_old_cpu.exe
23.09.2023 12:54 656.896 igel-2.6_popcnt.exe
18.09.2024 21:25 48.569.344 igel-3.5.5.exe
19.09.2024 08:48 48.569.344 igel-3.5.5_popcnt.exe
30.12.2024 19:18 48.784.896 igel-3.6.0_popcnt.exe


C:\Users\Privat\Desktop\igel>igel-2.6_old_cpu.exe bench
Running benchmark
Time : 12406
Nodes : 7538060
NPS : 607614

C:\Users\Privat\Desktop\igel>igel-2.6_popcnt.exe bench
Running benchmark
Time : 10844
Nodes : 7538060
NPS : 695136

C:\Users\Privat\Desktop\igel>igel-3.5.5.exe bench
Running benchmark
^C ---> no output
C:\Users\Privat\Desktop\igel>igel-3.5.5_popcnt.exe bench
Running benchmark
^C ---> no output
C:\Users\Privat\Desktop\igel>igel-3.6.0_popcnt.exe bench
Running benchmark
Time : 12257
Nodes : 7815054
NPS : 637547


Is there a list of the expected bench values?
cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing Igel chess engine

Post by cpeters »

Hey chessica!

Code: Select all

Nodes : 7815054
Guess 'igel' wants to play in this style:

Code: Select all

Igel 3.6.0 64 BMI2 AVX2 by V. Shcherbyna (Igel author 2018-2025), V. Medvedev (GreKo author 2002-2018)
go infinite
info depth 1 seldepth 1 score cp -20 time 1 nodes 21 tbhits 0 pv h2h3
info depth 2 seldepth 2 score cp 20 time 1 nodes 63 tbhits 0 pv h2h3 h7h6
info depth 3 seldepth 3 score cp -20 time 2 nodes 150 tbhits 0 pv h2h3 h7h6 g2g3
info depth 4 seldepth 5 score cp 20 time 2 nodes 220 tbhits 0 pv h2h3 h7h6 g2g3 h6h5
info depth 5 seldepth 5 score cp -20 time 4 nodes 793 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3
info depth 6 seldepth 7 score cp 20 time 4 nodes 1132 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3 h5h4
info depth 7 seldepth 8 score cp -20 time 15 nodes 7215 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3 h5h4 g3h4
info depth 8 seldepth 9 score cp 20 time 26 nodes 13852 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3 h5h4 g3h4 h8h4
info depth 9 seldepth 13 score cp -20 time 60 nodes 33928 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3 h5h4 c2c3 b8c6 g3h4
info depth 10 seldepth 13 score cp -20 time 96 nodes 55206 tbhits 0 pv h2h3 h7h6 g2g3 h6h5 f2f3 h5h4 c2c3 b8c6 g3h4 h8h4 f3f4
info depth 11 seldepth 17 score cp 20 time 1029 nodes 491630 tbhits 0 pv e2e3 h7h6 a2a4 h6h5 d1h5 h8h5 f2f3 h5h2 h1h2 e7e6
info depth 12 seldepth 19 score cp 20 time 1857 nodes 850848 tbhits 0 nps 477774 pv e2e3 h7h6 a2a4 h6h5 d1h5 h8h5 f2f3 h5h2 h1h2 e7e6 c2c3 d8e7
info depth 13 seldepth 19 score cp 20 time 2338 nodes 1062695 tbhits 0 nps 458184 pv e2e3 h7h6 a2a4 h6h5 c2c3 h5h4 d1b3 h4h3 g2h3 h8h3 g1h3 e7e6
info depth 14 seldepth 19 score cp 20 time 3388 nodes 1502416 tbhits 0 nps 454531 pv e2e3 h7h6 a2a4 h6h5 d1f3 f7f5 f3f5 e7e6 f1b5 e6f5 f2f3 e8e7 e1f1
info depth 15 seldepth 21 score cp 20 time 4086 nodes 1807789 tbhits 0 nps 443452 pv e2e3 h7h6 a2a4 h6h5 d1f3 f7f5 f3b7 c8b7 f2f3 b7f3 g2f3 e7e6 f1h3 h5h4
info depth 16 seldepth 23 score cp 20 time 4658 nodes 2049429 tbhits 0 nps 442434 pv e2e3 h7h6 a2a4 h6h5 d1f3 f7f5 f3b7 c8b7 f2f3 b7f3 g2f3 e7e6 f1h3 h5h4 h3f5 e6f5
info depth 17 seldepth 23 score cp 20 time 6056 nodes 2650868 tbhits 0 nps 439980 pv e2e3 h7h6 a2a4 h6h5 d1f3 f7f5 f3b7 c8b7 c2c3 b7g2 f1g2 h5h4 g2a8 h4h3 g1h3 h8h3
info depth 18 seldepth 25 score cp 20 time 20937 nodes 8969944 tbhits 0 nps 437725 pv e2e3 h7h6 a2a4 h6h5 d1f3 f7f5 f3f5 e7e6 f1b5 e6f5 c2c4 h5h4 c4c5 f8c5 e1f1 c5e3 f2e3 e8f8

Code: Select all

Nodes : 1202492

Code: Select all

Igel 3.6.0 64 BMI2 AVX2 by V. Shcherbyna (Igel author 2018-2025), V. Medvedev (GreKo author 2002-2018)
go infinite
info depth 1 seldepth 1 score cp 30 time 0 nodes 26 tbhits 0 pv d2d4
info depth 2 seldepth 2 score cp 173 time 1 nodes 49 tbhits 0 pv d2d4 h7h6
info depth 3 seldepth 4 score cp 48 time 1 nodes 176 tbhits 0 pv d2d4 h7h6 g2g3
info depth 4 seldepth 5 score cp 174 time 1 nodes 262 tbhits 0 pv d2d4 h7h5 g2g3 h5h4
info depth 5 seldepth 5 score cp 171 time 2 nodes 381 tbhits 0 pv d2d4 h7h5 h2h3 h5h4 e2e4
info depth 6 seldepth 8 score cp 47 time 5 nodes 1055 tbhits 0 pv d2d4 d7d5 g2g3 g8f6 c2c4 d5c4
info depth 7 seldepth 8 score cp 14 time 8 nodes 2162 tbhits 0 pv e2e4 e7e6 b1c3 d7d5 e4d5 e6d5 d2d4
info depth 8 seldepth 11 score cp 58 time 13 nodes 3745 tbhits 0 pv e2e4 e7e6 b1c3 c7c5 d2d4 c5d4 d1d4 b8c6
info depth 9 seldepth 14 score cp 79 time 27 nodes 9061 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 c6d4 d1d4
info depth 10 seldepth 15 score cp 41 time 51 nodes 18092 tbhits 0 pv e2e4 e7e6 d2d4 d7d5 b1c3 d5e4 c3e4 f8b4 e4c3 c7c5 g1f3 c5d4
info depth 11 seldepth 18 score cp 41 time 71 nodes 25089 tbhits 0 pv e2e4 e7e6 d2d4 d7d5 b1c3 d5e4 c3e4 f8b4 e4c3 c7c5 g1f3 c5d4
info depth 12 seldepth 20 score cp 86 time 120 nodes 43572 tbhits 0 pv e2e4 e7e6 d2d4 d7d5 b1c3 f8b4 d1g4 e8f8 g4f4 c7c5 e4d5 e6d5
info depth 13 seldepth 24 score cp 47 time 412 nodes 144399 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 g8f6 b1c3 f8b4 c1g5 e8g8 d4f5 b4c3 b2c3
info depth 14 seldepth 26 score cp 44 time 801 nodes 277289 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 g8f6 d4c6 b7c6 f1d3 d7d5 d1e2 d5e4 b1c3 f8b4
info depth 15 seldepth 26 score cp 44 time 857 nodes 298092 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 g8f6 d4c6 b7c6 f1d3 d7d5 d1e2 d5e4 b1c3
info depth 16 seldepth 26 score cp 44 time 903 nodes 314680 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 g8f6 d4c6 b7c6 f1d3 d7d5 d1e2 d5e4 b1c3 f8b4
info depth 17 seldepth 29 score cp 70 time 2385 nodes 817481 tbhits 0 pv e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 d2d3 f8e7 b1c3 d7d6 a2a4 e8g8 e1g1 c6b4 h2h3 c7c6 d3d4 e5d4 f3d4 d6d5
info depth 18 seldepth 29 score cp 70 time 2444 nodes 838940 tbhits 0 nps 342759 pv e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 d2d3 f8e7 b1c3 e8g8 a2a4 d7d6 e1g1 c6b4 h2h3 c7c6 d3d4
info depth 19 seldepth 30 score cp 70 time 2609 nodes 896255 tbhits 0 nps 343265 pv e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 d2d3 f8e7 b1c3 e8g8 a2a4 d7d6 e1g1 c6b4 h2h3 c7c6 d3d4 e5d4 f3d4
info depth 20 seldepth 30 score cp 70 time 2806 nodes 965016 tbhits 0 nps 343524 pv e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 d2d3 f8e7 b1c3 e8g8 a2a4 d7d6 e1g1 c6b4 h2h3 c7c6 d3d4 e5d4 f3d4 d6d5
info depth 21 seldepth 32 score cp 70 time 3434 nodes 1180140 tbhits 0 nps 343911 pv e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 d2d3 f8e7 b1c3 e8g8 e1g1 d7d6 a2a4 c6b4 h2h3 c7c6 d3d4 e5d4 f3d4 d6d5 e4d5 c6d5
info depth 22 seldepth 36 score cp 53 time 8630 nodes 2943925 tbhits 0 nps 343663 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 f8b4 c2c3 b4c5 d4c6 b7c6 f1d3 d7d6 e1g1 g8f6 c1g5 e8g8 g5h4 h7h6 b1d2 a7a5 d2b3 c5b6 b3d4
stop
info depth 23 seldepth 37 score cp 48 time 11566 nodes 2943925 tbhits 0 nps 341126 pv e2e4
bestmove e2e4
Greetings!

edit:
Jim Ablett wrote: Mon Dec 30, 2024 6:32 am Android compiles were using the wrong 'BitScanForward64' ,
I had re-compile them and updated the download package. Same link.

https://drive.proton.me/urls/85C061NMB0#hrnlXDN6vJsE

Jim.
The package (which I redownloaded too) got updated files in the src-directory also. So this would explain the success in self-compiling (I thought about some local hickup first) ...
Git would've been helpful/more obvious here, but I won't complain. Thanks for the effort!
voffka
Posts: 297
Joined: Sat Jun 30, 2018 10:58 pm
Location: Ukraine
Full name: Volodymyr Shcherbyna

Re: Introducing Igel chess engine

Post by voffka »

Hi chessica,
chessica wrote: Mon Dec 30, 2024 11:00 pm Is there a list of the expected bench values?
Absolutely. All bench values are found in the official igel source repo: https://github.com/vshcherbyna/igel/commits/master/

For example,

Igel 3.6.0 bench is 1202492

Igel 3.5.0 bench is 17628169

Igel 3.4.0 bench is 20709220

Igel 3.3.0 bench is 2703171
chessica
Posts: 916
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Introducing Igel chess engine

Post by chessica »

voffka wrote: Tue Dec 31, 2024 3:19 am Hi chessica,
chessica wrote: Mon Dec 30, 2024 11:00 pm Is there a list of the expected bench values?
Absolutely. All bench values are found in the official igel source repo: https://github.com/vshcherbyna/igel/commits/master/

For example,

Igel 3.6.0 bench is 1202492

Igel 3.5.0 bench is 17628169

Igel 3.4.0 bench is 20709220

Igel 3.3.0 bench is 2703171
Thank you very much, now I have found it. I found some bench values ​​in History.txt
cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing Igel chess engine

Post by cpeters »

For the people with armbased macs, I modified the src-package (you'll need xcode for this to work) from Jim:
https://www.file-upload.net/download-15 ... 6.zip.html

type

Code: Select all

make pgo
in the src-directory.

Generated binary; maybe it calculates on your device:
https://www.file-upload.net/download-15 ... 3.6.0.html

Greetings