GCC or Intel compiler for Linux ?

Discussion of chess software programming and technical issues.

Moderator: Ras

jdart
Posts: 4427
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: GCC or Intel compiler for Linux ?

Post by jdart »

Hard to say. Depends on your code.

Some benchmarks comparing gcc 4, 5 and 6 here:

http://www.phoronix.com/scan.php?page=a ... bian&num=2
Isaac
Posts: 265
Joined: Sat Feb 22, 2014 8:37 pm

Re: GCC or Intel compiler for Linux ?

Post by Isaac »

Canoike wrote:HI !

Which compiler produces the fastest executable for Linux ? GCC 5.x or Intel compiler?
My goal is to build a fast Stockfish. Currently, I use GCC 5.4.
I tried clang but is builds a too slow executable.

Thanks.
Are you compiling the c++ code? If so, why don't you just download the binary of pedantfish or asmfish? It's SF ported to assembly, about 25% faster than the c++ binaries compiled with gcc.
Canoike
Posts: 125
Joined: Tue Jan 17, 2012 8:08 pm

Re: GCC or Intel compiler for Linux ?

Post by Canoike »

I have installed GCC and G++ 4.9 and 4.8.
4.8 produces a 270 KO executable, 4.9 a 279 KO one, and 5.4 a 309 KO one.
The smallest gives a higher nodes per second.