Re: [deal.II] Re: Help with time stepping methods

2016-09-15 Thread Vaibhav Palkar
Dear Bruno, On Thu, Sep 15, 2016 at 11:15 PM, Bruno Turcksin wrote: > > I would need to see your code to understand why this happens. That > part of the library is pretty simple, we just check that the error is > less than coarsen_tol and if it is, delta_t_guess is

[deal.II] Re: Help with time stepping methods

2016-09-15 Thread Vaibhav Palkar
Dear Bruno, On Thursday, September 15, 2016 at 5:37:28 PM UTC+5:30, Bruno Turcksin wrote:: > > 1. What is wrong with the embedded method? Does the problem lie in my >> understanding? >> > It's hard to say what is wrong from here. Is coarsen_param greater than > one? Have you reached

[deal.II] Re: CXX flags for SIMD and other optimization flags (GCC@6)

2016-09-15 Thread Denis Davydov
Thanks Bruno and Martin for the swift reply. For starters i will try with -march=native . Cheers, Denis. On Thursday, September 15, 2016 at 2:04:58 PM UTC+2, Denis Davydov wrote: > > Dear all, > > From the matrix-free tutorials 37 and 48, I see that the recommended flags > for VectorizedArrays

Re: [deal.II] CXX flags for SIMD and other optimization flags (GCC@6)

2016-09-15 Thread Martin Kronbichler
Hi Denis, > From the matrix-free tutorials 37 and 48, I see that the recommended > flags for VectorizedArrays with GCC are > > -DCMAKE_CXX_FLAGS="-march=native" > > How about using -O3, -ffast-math, -funroll-loops ? Any other > recommended flags for GCC? -march=native gives you AVX vectorization

[deal.II] Re: Help with time stepping methods

2016-09-15 Thread Bruno Turcksin
Vaibhav On Thursday, September 15, 2016 at 5:52:41 AM UTC-4, Vaibhav Palkar wrote: > 1. What is wrong with the embedded method? Does the problem lie in my > understanding? > It's hard to say what is wrong from here. Is coarsen_param greater than one? Have you reached max_delta? Finally, just

[deal.II] CXX flags for SIMD and other optimization flags (GCC@6)

2016-09-15 Thread Denis Davydov
Dear all, >From the matrix-free tutorials 37 and 48, I see that the recommended flags for VectorizedArrays 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

Re: [deal.II] Help with Vector template instantiations

2016-09-15 Thread dragnikolic
Hello Wolfgang, Ok, good. The commit is fine. I'll see if I can pinpoint the exact cause of segmentation faults. One more question, in fact a small inconsistency that is of my interest: the function VectorTools::interpolate_boundary_values is not templated for the generic Number type but for

[deal.II] Help with time stepping methods

2016-09-15 Thread Vaibhav Palkar
Hello All, I'm solving a multiple component non-linear reaction-diffusion problem with dealii and for time stepping I'm using the embedded explicit methods available within the dealii framework. If I understand the documentation correctly, the embedded method should coarsen the time step if