Stockfish 210720 with NNUE

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

Moderators: hgm, Rebel, chrisw

kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

Ovyron wrote: Fri Jul 24, 2020 8:51 pm
zullil wrote: Fri Jul 24, 2020 8:25 am What version of g++? Yours must be quite old.

What do you get if you enter the following at a command line?

g++.exe -v
Yeah, it's from 2014...

I get:

gcc version 4.9.2 (x86_64-posix-seh-rev1, Built by MinGW-W64 project)

However, this compiles Stockfish dev just fine. Do I need to upgrade or can I make changes to source so it compiles with this one?
C++17 is critical for the nnue codebase...
many features are available since GCC 5
full support since 7 ?
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: Stockfish 210720 with NNUE

Post by Ovyron »

kranium wrote: Fri Jul 24, 2020 9:06 pm C++17 is critical for the nnue codebase...
many features are available since GCC 5
full support since 7 ?
Thanks, updated to GCC 10.

make profile-build ARCH=x86-64 COMP=mingw still doesn't work.

make profile-nnue ARCH=x86-64 COMP=mingw works, but throws these warnings:

Image

Then produces a stockfish that when ticking the EvalNNUE tickbox kills the nodes per second to 1/10 from normal, so I don't think I'm compiling correctly.