Another question! Do I have to add the line #define _SCL_SECURE 0
to all my header and code sources even source of GMM++ or just on my own source files or even on file is enough? What about those pragmas you mentioned? Thanks On 2010-10-08 10:09, Cédric Venet wrote: > hi, > > try to define _SCL_SECURE=0 (warning ABI incompatible so all the code > you link must use this flag) > for code using the stl heavily, it can result in 100x speedup. > > perhaps also: > > #pragma inline_recursion > #pragma inline_depth > > and check all the optimisation are on. > > regards > Cédric > > > On 07/10/2010 23:23, Danesh Daroui wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > I have recently ported our code written with GMM++ to 64-bit > > system > > > > > and recompiled the code in Visual Studio 2008. The weird > > thing is > > > > > that when I run the code, GMM++ function compiled with Visual > > Studio > > > > > 2008 has extremely poor performance comparing to the old > > 32-bit code > > > > > compiled with MingW on Windows. I also compiled the code with > > Intel > > > > > C++ Compiler 11.1 in Visual Studio 2008, and the performance > > of > > > > > GMM++ functions were still very very low and they worked very > > slow. > > > > > What is the reason? I thought, maybe the GMM++ code is suited > > to be > > > > > compiled with gcc, but in the web site it is stated that the > > code is > > > > > compatible with Intel C++ Compiler 8.0. Has anybody had same > > > > > experience? > > > > > > > > > > Thanks, > > > > > > > > > > D. > > > > > > > > > > > > > > > _______________________________________________ Getfem-users > > mailing > > > > > list [email protected] > > https://mail.gna.org/listinfo/getfem-users > > > > > > > -- Danesh Daroui Ph.D Student Lulea University of Technology http://www.ltu.se [email protected] Tel: +46-(0)920-492451 Cell phone: +46-(0)704-399847
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
