New amateur chess engine Petrel

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

Moderator: Ras

Aleks Peshkov
Posts: 966
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

https://github.com/AleksPeshkov/petrel/ ... s/tag/v3.2

Version 3.2. Minor update.
  • default NNUE file embedded in application
  • more aggressive NMP and SEE-reductions
  • added Static NMP
  • fixed several search logic bugs that made search explore extra nodes
  • refactoring, clean up from now unused PeSTO eval code
I expect version 3.2 gain 30-50 Elo. Petrel still misses many "must have" popular chess programming feautures and hides strength improvement potential.

P.S. Please do not use Petrel3.0. It is has huge eval bug that can lead to strange (bad) play. Petrel 3.1 is fine.
User avatar
Graham Banks
Posts: 45065
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: New amateur chess engine Petrel

Post by Graham Banks »

Any Windows binaries yet?
gbanksnz at gmail.com
Aleks Peshkov
Posts: 966
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

Sorry, no windows binaries from me. I lay on Jim Ablett's Windows releases.

New version is not a big improvement, testers can continue to use Petrel 3.1. New petrel releases scheduled monthly.
User avatar
Gabor Szots
Posts: 1487
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 »

src/main.cpp:1:10: fatal error: 'sysexits.h' file not found
1 | #include <sysexits.h>
| ^~~~~~~~~~~~
1 error generated.
make: *** [Makefile:127: build/main.o] Error 1

I don't know if sysexits.h is Linux specific or not. Could you not avoid using it?
Gabor Szots
CCRL testing group
Aleks Peshkov
Posts: 966
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: Sun Dec 21, 2025 4:10 pm src/main.cpp:1:10: fatal error: 'sysexits.h' file not found
1 | #include <sysexits.h>
| ^~~~~~~~~~~~
1 error generated.
make: *** [Makefile:127: build/main.o] Error 1

I don't know if sysexits.h is Linux specific or not. Could you not avoid using it?
Updated release (same version number). Note that my build chain assumes avx2-capable machine. NPS of petrel 3.2 should similar to petrel 3.1.
User avatar
Gabor Szots
Posts: 1487
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: Sun Dec 21, 2025 5:02 pm
Gabor Szots wrote: Sun Dec 21, 2025 4:10 pm src/main.cpp:1:10: fatal error: 'sysexits.h' file not found
1 | #include <sysexits.h>
| ^~~~~~~~~~~~
1 error generated.
make: *** [Makefile:127: build/main.o] Error 1

I don't know if sysexits.h is Linux specific or not. Could you not avoid using it?
Updated release (same version number). Note that my build chain assumes avx2-capable machine. NPS of petrel 3.2 should similar to petrel 3.1.
Now it's the same as with version 3.1:

clang++: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
C:/msys64/mingw64/bin/ld: C:/msys64/mingw64/bin/../lib/LLVMgold.dll: error loading plugin:
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:124: build/petrel] Error 1

I think I'll wait for Jim.
Gabor Szots
CCRL testing group
Aleks Peshkov
Posts: 966
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: New amateur chess engine Petrel

Post by Aleks Peshkov »

You may try GCC. Last time I tried it worked. Less NPS, but not much.
Remove '#" before

Code: Select all

#CXX = g++
in Makefile line 7
User avatar
Gabor Szots
Posts: 1487
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: Sun Dec 21, 2025 5:47 pm You may try GCC. Last time I tried it worked. Less NPS, but not much.
Remove '#" before

Code: Select all

#CXX = g++
in Makefile line 7
Thanks. That gave a couple of warnings but worked.
Gabor Szots
CCRL testing group