[Numpy-discussion] Incompatability of svn 3868 distutils with v10.0 Intel compilers and MKL9.1
David M. Cooke
cookedm at physics.mcmaster.ca
Thu Jun 14 10:27:35 EDT 2007
On Thu, Jun 14, 2007 at 04:17:04PM +0200, Albert Strasheim wrote:
> Hello all
>
> On Thu, 14 Jun 2007, Matthieu Brucher wrote:
>
> > >
> > >cc_exe = 'icc -g -fomit-frame-pointer -xT -fast'
> >
> > Just some comments on that :
> > - in release mode, you should not use '-g', it slows down the execution of
> > your program
>
> Do you have a reference that explains this in more detail? I thought -g
> just added debug information without changing the generated code?
I had a peek at the icc manual. For icc, -g by itself implies -O0 and
-fno-omit-frame-pointer, so it will be slower. However, -g -O2
-fomit-frame-pointer shouldn't be any slower than without the -g.
For gcc, -g does what you said.
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
More information about the NumPy-Discussion
mailing list