Denis, I usually use -march=native, -O3, and -flto I never dare to use -ffast-math because my understanding is that your code can give wrong results https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
Best, Bruno On Thursday, September 15, 2016 at 8:04:58 AM UTC-4, Denis Davydov wrote: > > Dear all, > > From the matrix-free tutorials 37 and 48, I see that the recommended flags > for VectorizedArrays<double> with GCC are > > -DCMAKE_CXX_FLAGS="-march=native" > > How about using -O3, -ffast-math, -funroll-loops ? Any other recommended > flags for GCC? > > Regards, > Denis. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.