Computer Chess Club Archives


Search

Terms

Messages

Subject: Intel C++ 8.0 and Crafty

Author: Russell Reagan

Date: 00:29:36 12/15/03


I finally got Intel C++ 8.0 for Linux installed, and I compiled Crafty with
various compilers that I have. Here are the results, and one problem I
encountered  while attempting to compile one make target. The figures are the
output of the 'bench' command in Crafty 19.7, on my Athlon 2GHz.

Intel C++ 8.0 (Linux), linux-icc: 836 Knps
Visual C++ 6.0 Professional:      816 Knps
GCC 3.2.2 (Linux), linux-i686:    754 Knps

I have a copy of Crafty 19.3 that someone compiled (maybe Aaron Gordon?) which
was optimized for the Athlon, and compiled with (I think) Intel C++ 7.0. It gets
896 Knps. I was a little suprised to see Intel C++ 8.0 7% slower than version
7.0. I did 'make linux-icc-profile', followed  by a run of the 'bench' command
in Crafty, then I did a 'make clean', then a 'make linux-icc'. Should that give
optimal results? Are there optimizations specifically for an Athlon that are not
in the linux-icc target of the default Crafty makefile?

Now for a problem I'm having compiling one of the targets. I tried 'make icc'
and it compiled without any errors, but when I run it I get this:

[russell@localhost 19.7]$ ./crafty
Illegal instruction
[russell@localhost 19.7]$ idb ./crafty
Linux Application Debugger for 32-bit applications, Version 7.3.1, Build
20031003
------------------
object file name: ./crafty
Reading symbolic information ...done
(idb) run
Thread received signal ILL
stopped at [void InitializeMasks(void):1170 0x807334e]
   1170       right_side_mask[i]=right_side_mask[i] | file_mask[j];
(idb) print i
Symbol "i" is not defined.
(idb) print j
Symbol "j" is not defined.

Any idea what that's about?



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.