Which compiler to use?
Posted: 27 Mar 2008, 17:12
Re-installing all the engines on my computer I started to compile them with gcc, usually with -O3 optimization. It is well known that the Intel compiler makes faster executables. I have tested it with Fruit, Scorpio and Glaurung and found that the executables are ~25% faster (in nps) than those made with gcc.
It can be expected that the faster executables perform better and I a short test I found:
Most of the engines have been compiled with gcc. Scorpio has been compiled with both compilers. And I don't know how Spike, Yace and Ruffian have been made.
Spike seems to be too far ahead here (compared to older tests and compared with other lists). Making the profiled Intel executables is time consuming. OTOH faster chess engines are better for obvious reasons.
OTOOH the rating list is possibly "unfair" because older engines have been compiled with older compiler version and are therefore possibly slower.
I guess I will make them as fast as possible. Any opinions?
Volker
It can be expected that the faster executables perform better and I a short test I found:
- Code: Select all
Rank Name Elo + - games score oppo. draws
1 Spike 1.2 Turin 179 90 85 40 66% 64 23%
2 Fruit 05/11/03 166 86 82 40 65% 64 30%
3 Glaurung 2.0.1 138 84 81 40 61% 64 33%
4 Scorpio 2.0 Intel 82 39 39 200 62% -13 30%
5 Ruffian 2.1.0 74 83 82 40 53% 64 30%
6 Scorpio 2.0 gcc 46 40 40 200 57% -13 22%
7 Yace Paderborn 3 84 87 40 41% 64 23%
8 Sloppy020-0.2.0 -10 81 84 40 39% 64 33%
9 Arasan 10.3 (1 cpu) -28 83 87 40 36% 64 28%
10 Crafty-22.0 -83 79 85 40 26% 64 43%
11 Phalanx XXII Reborn -259 101 129 40 11% 64 13%
12 Xpdnt 080209 -309 110 151 40 9% 64 8%
Most of the engines have been compiled with gcc. Scorpio has been compiled with both compilers. And I don't know how Spike, Yace and Ruffian have been made.
Spike seems to be too far ahead here (compared to older tests and compared with other lists). Making the profiled Intel executables is time consuming. OTOH faster chess engines are better for obvious reasons.
OTOOH the rating list is possibly "unfair" because older engines have been compiled with older compiler version and are therefore possibly slower.
I guess I will make them as fast as possible. Any opinions?
Volker