Stockfish 4

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

Moderator: Ras

styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish 4

Post by styx »

I know it's a bit early for final conclusions, but so far stockfish is doing very well in the IPON tournament. even in this early stage, SF looks significantly stronger.

great work from the stockfish team!

I am really looking forward to the nTCEC season 2 with longer time controls :D
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 4

Post by mcostalba »

melajara wrote:Eelco, Thanks for the short answer, so for Windows exe the compiler is not MSVC but is it gcc (over MinGW), the Intel compiler or still something else?

I would guess the compiler producing the fastest exe is (still) the Intel compiler, so it would be normal to use this one provided the team has access to it (it's not free on Windows).
No the fastest compile is gcc even under Windows (mingw). Under Linux the fastest is clang. Anyhow all the compiles at http://abrok.eu/stockfish/ have been done with gcc/mingw.
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 4

Post by mcostalba »

Don wrote: Larry has done some testing of Stockfish 4 and he is extremely impressed - especially with it's performance at long time controls but even at shorter time controls it's a massive improvement!! Very well done Marco and team!
Thanks !

The last months have been really something...new :-)
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Stockfish 4

Post by Don »

mcostalba wrote:
melajara wrote:Eelco, Thanks for the short answer, so for Windows exe the compiler is not MSVC but is it gcc (over MinGW), the Intel compiler or still something else?

I would guess the compiler producing the fastest exe is (still) the Intel compiler, so it would be normal to use this one provided the team has access to it (it's not free on Windows).
No the fastest compile is gcc even under Windows (mingw). Under Linux the fastest is clang. Anyhow all the compiles at http://abrok.eu/stockfish/ have been done with gcc/mingw.
Clang is significantly slower for me - it's crazy how different programs respond. I have not tried this in a while though - so maybe I give it another chance.

Is the difference more than trivial between clang and gcc?
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 4

Post by mcostalba »

Don wrote: Clang is significantly slower for me - it's crazy how different programs respond. I have not tried this in a while though - so maybe I give it another chance.

Is the difference more than trivial between clang and gcc?
On my notebook is about 5%, I have an old Intel Core 2 Duo 32 bit under Ubuntu
melajara
Posts: 213
Joined: Thu Dec 16, 2010 4:39 pm

Re: Stockfish 4

Post by melajara »

mcostalba wrote:
melajara wrote:Eelco, Thanks for the short answer, so for Windows exe the compiler is not MSVC but is it gcc (over MinGW), the Intel compiler or still something else?

I would guess the compiler producing the fastest exe is (still) the Intel compiler, so it would be normal to use this one provided the team has access to it (it's not free on Windows).
No the fastest compile is gcc even under Windows (mingw). Under Linux the fastest is clang. Anyhow all the compiles at http://abrok.eu/stockfish/ have been done with gcc/mingw.
Thank you for this clarification, one more example that open source software rocks :D
Per ardua ad astra
Modern Times
Posts: 3771
Joined: Thu Jun 07, 2012 11:02 pm

Re: Stockfish 4

Post by Modern Times »

melajara wrote: Thank you for this clarification, one more example that open source software rocks :D
Yes, it does rock !
IGarcia
Posts: 543
Joined: Mon Jul 05, 2010 10:27 pm

Re: Stockfish 4

Post by IGarcia »

mcostalba wrote:
Don wrote: Clang is significantly slower for me - it's crazy how different programs respond. I have not tried this in a while though - so maybe I give it another chance.

Is the difference more than trivial between clang and gcc?
On my notebook is about 5%, I have an old Intel Core 2 Duo 32 bit under Ubuntu
Thanks all Stockfish team for this great engine!
lucasart
Posts: 3242
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Stockfish 4

Post by lucasart »

mcostalba wrote:
Don wrote: Clang is significantly slower for me - it's crazy how different programs respond. I have not tried this in a while though - so maybe I give it another chance.

Is the difference more than trivial between clang and gcc?
On my notebook is about 5%, I have an old Intel Core 2 Duo 32 bit under Ubuntu
On my machine (i7), GCC produces a faster executable than Clang for the same Stockfish code. I think it not only depends on the code, but also on the CPU.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish 4

Post by zullil »

I've been compiling Stockfish for a long time on various Macs. I haven't used the Intel (icc) compiler, but I've used many versions of gcc and several versions of clang. The fastest binaries I get come from gcc-4.6. Those from clang tend to be much slower.