New amateur chess engine Petrel

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

Moderator: Ras

User avatar
Gabor Szots
Posts: 1481
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: New amateur chess engine Petrel

Post by Gabor Szots »

Aleks Peshkov wrote: Mon Oct 13, 2025 9:49 pm And I have forgotten how I hated Windows for a programmer.
If I were a programmer I would probably also hate Windows. But I am not.
Gabor Szots
CCRL testing group
User avatar
Gabor Szots
Posts: 1481
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: New amateur chess engine Petrel

Post by Gabor Szots »

Aleks Peshkov wrote: Mon Oct 13, 2025 9:52 pm
Gabor Szots wrote: Mon Oct 13, 2025 9:42 pm However, this line worked: clang++ *.cpp -std=c++20 -O3 -march=native -oPetrel_2.1-x64.exe
PGO build does not add much speed for my code, but LTO does.
You mean I should add '-flto' to the command line?
Gabor Szots
CCRL testing group
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Gabor Szots wrote: Mon Oct 13, 2025 9:55 pm
Aleks Peshkov wrote: Mon Oct 13, 2025 9:52 pm
Gabor Szots wrote: Mon Oct 13, 2025 9:42 pm However, this line worked: clang++ *.cpp -std=c++20 -O3 -march=native -oPetrel_2.1-x64.exe
PGO build does not add much speed for my code, but LTO does.
You mean I should add '-flto' to the command line?
I suggest it if it works without much extra trouble.
User avatar
Gabor Szots
Posts: 1481
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: New amateur chess engine Petrel

Post by Gabor Szots »

Aleks Peshkov wrote: Mon Oct 13, 2025 9:57 pm
Gabor Szots wrote: Mon Oct 13, 2025 9:55 pm
Aleks Peshkov wrote: Mon Oct 13, 2025 9:52 pm
Gabor Szots wrote: Mon Oct 13, 2025 9:42 pm However, this line worked: clang++ *.cpp -std=c++20 -O3 -march=native -oPetrel_2.1-x64.exe
PGO build does not add much speed for my code, but LTO does.
You mean I should add '-flto' to the command line?
I suggest it if it works without much extra trouble.
Clang does not like it.

Anyway, it seems the hash problem has gone so I'm going to start its test tomorrow.
Gabor Szots
CCRL testing group
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Gabor Szots wrote: Mon Oct 13, 2025 9:59 pm Anyway, it seems the hash problem has gone so I'm going to start its test tomorrow.
Thank you very much.
User avatar
Gabor Szots
Posts: 1481
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: New amateur chess engine Petrel

Post by Gabor Szots »

Nevertheless, I suggest you offer Windows exes for download. I am sure all testing groups and most individuals have only Windows machines.
Gabor Szots
CCRL testing group
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Version 3.0 published. NNUE evaluation.
Expected improvement about 600 Elo from PeSTO version.

https://github.com/AleksPeshkov/petrel/releases/tag/v3.

Still only Linux build from me.
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Petrel 3.0 64 JA
Windows/Linux & Android profiled builds

Jim Ablett embedded NN file into application file, I suggest to use his binaries and source code, until I release next "official" version with his improvements.
viewtopic.php?p=985891#p985891

Proton link: https://drive.proton.me/urls/VFMEB4GT0M#cXUU6DE7PfYP
Smash link: https://fromsmash.com/Petrel30-64JA
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Urgent notice. Version 3.0 discovered to have a huge bug and it costs ~85 Elo. Hotfix release will be published soon.
Aleks Peshkov
Posts: 958
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Version 3.1 with bug and compatibility fixes.
https://github.com/AleksPeshkov/petrel/ ... s/tag/v3.1

Fixes from 3.0:

* fixed serious evaluation accumulator incremental update bug
* fixed code to use default bullet scale 400 and rebuild NN file for this scale (compatibility fix)