Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Optimized Crafty 19.7 here...

Author: Aaron Gordon

Date: 13:25:00 12/15/03

Go up one level in this thread


On December 15, 2003 at 15:56:11, Russell Reagan wrote:

>On December 15, 2003 at 14:24:10, Slater Wold wrote:
>
>>On December 15, 2003 at 14:13:36, Russell Reagan wrote:
>>
>>>Oh, this works with the Intel compiler? I thought the Intel compiler only used
>>>the gcc style options.
>>
>>Look:
>>
>># Command-line compiler and linker invocation commands:
>>CC       = icl
>>LD       = xilink
>
>Yes, but I was referring to lines like:
>
>COPTS    = /DFAST
>BFLAGS = /D_CONSOLE /DWIN32
>AOPTS    = /DVC_INLINE_ASM
>
>I thought those were for VC++. Of course, there is this line:
>
>CFLAGS   = -O3 -G6 -Qunroll -QxiK -Qipo -Qip -Qprof_use -Qprof_dir c:\opt
>
>Does Intel C++ maintain compatibility with both VC++ and gcc?

As far as code that is compiled, yes. flag options are different however. When
you compile with these flags remember to use -Qprof_genx first, then run the
binary it outputs. This is the 'profiler' binary. It will be slow (don't worry
about speeds with it). It will dump some .dyn files in your -Qprof_dir
<directory>. After you do this exit the program normally (don't ctrl-c or force
close it).

Delete all exe files, obj files created from the original compile (probably not
needed but I do it anyway). Change -Qprof_genx to -Qprof_use in the makefile and
recompile. This will add the optimization information.



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.