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/ |[EMAIL PROTECTED] _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion