New amateur chess engine Petrel

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

Moderator: Ras

User avatar
Gabor Szots
Posts: 1466
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: 1466
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: 947
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: 1466
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: 947
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: 1466
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