bob wrote:...
No real idea, but 22.1 will be out tonight, and it has a few compiler issues fixed, you might give it a try and see if this still happens...
Same error in the new version. However I remember this error. It has to do with the "short vector math library" (svml). It seems to me it is related to math functions not used in a chess programm as sin, cos, log and so on ( see:
http://softwarecommunity.intel.com/articles/eng/1795.htm and
http://softwarecommunity.intel.com/articles/eng/3527.htm.
Possible our implementation of the intel compiler is different. I changed the make file to almost the standard stuff which can be found in the help files. With these settings:
- Code: Select all
linux-icc:
$(MAKE) target=LINUX \
CC=icc CXX=icc \
CFLAGS='$(CFLAGS) -O3 \
-prof_use -prof_dir ./profdir \
' \
CXFLAGS='$(CFLAGS) -O3 \
-prof_use -prof_dir ./profdir' \
LDFLAGS='$(LDFLAGS) -lstdc++' \
opt='$(opt) -DTEST -DINLINE32 -DCPUS=2' \
crafty-make
linux-icc-profile:
$(MAKE) target=LINUX \
CC=icc CXX=icc \
CFLAGS='$(CFLAGS) -O2 \
-prof_genx -prof_dir ./profdir' \
CXFLAGS='$(CFLAGS) -O2 \
-prof_genx -prof_dir ./profdir' \
LDFLAGS='$(LDFLAGS) -lstdc++ ' \
opt='$(opt) -DTEST -DINLINE32 -DCPUS=2' \
crafty-make
it compiles without problems. The binary made with intel is faster. Bench takes 32.1 secondes here with 1 cpu. A gcc O3 opimized binary uses 58.7 seconds for the same command under otherwise identical conditions.
Volker