Dealii: Step-16 multigrid performace regression

Created on 20 May 2018  路  3Comments  路  Source: dealii/dealii

The output of step-16 on my machine is

DEAL::Cycle 0
DEAL::   Number of active cells:       20
DEAL::   Number of degrees of freedom: 25 (by level: 8, 25)
DEAL:cg::Starting value 0.510691
DEAL:cg::Convergence step 71 value 5.01342e-13
DEAL::Cycle 1
DEAL::   Number of active cells:       41
DEAL::   Number of degrees of freedom: 52 (by level: 8, 25, 41)
DEAL:cg::Starting value 0.455356
DEAL:cg::Convergence step 122 value 4.87066e-13
DEAL::Cycle 2
DEAL::   Number of active cells:       80
DEAL::   Number of degrees of freedom: 100 (by level: 8, 25, 61, 52)
DEAL:cg::Starting value 0.394469
DEAL:cg::Convergence step 304 value 9.71614e-13
DEAL::Cycle 3
DEAL::   Number of active cells:       161
DEAL::   Number of degrees of freedom: 190 (by level: 8, 25, 77, 160)
DEAL:cg::Starting value 0.322156
DEAL:cg::Convergence step 190 value 4.70318e-13
DEAL::Cycle 4
DEAL::   Number of active cells:       311
DEAL::   Number of degrees of freedom: 364 (by level: 8, 25, 86, 227, 174)
DEAL:cg::Starting value 0.279667
DEAL:cg::Convergence step 250 value 2.18493e-13
DEAL::Cycle 5
DEAL::   Number of active cells:       593
DEAL::   Number of degrees of freedom: 667 (by level: 8, 25, 89, 231, 490, 96)
DEAL:cg::Starting value 0.215917
DEAL:cg::Convergence step 277 value 9.50466e-13
DEAL::Cycle 6
DEAL::   Number of active cells:       1127
DEAL::   Number of degrees of freedom: 1251 (by level: 8, 25, 89, 274, 760, 417, 178)
DEAL:cg::Starting value 0.185906
DEAL:cg::Convergence step 282 value 9.09004e-13
DEAL::Cycle 7
DEAL::   Number of active cells:       2144
DEAL::   Number of degrees of freedom: 2359 (by level: 8, 25, 89, 308, 779, 1262, 817)
DEAL:cg::Starting value 0.141519
DEAL:cg::Convergence step 947 value 8.46910e-13

The linear solver takes hundreds of iterations to converge. This is entirely different with the documentation in step-16. Can someone take a look?

Bug

Most helpful comment

@bangerth bisect told me that e718ed was the bad commit. You forgot to initialize the variable dirichlet_boundary_ids. I will create a PR to fix it.

All 3 comments

I can confirm this. There is clearly something very wrong.

It would be useful to bisect which commit caused this. @adamqc -- do you know how to do this?

@bangerth bisect told me that e718ed was the bad commit. You forgot to initialize the variable dirichlet_boundary_ids. I will create a PR to fix it.

Ah, darn it. This was part of #5309. I'm embarrassed :-( Thanks a lot for finding this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jppelteret picture jppelteret  路  6Comments

tamiko picture tamiko  路  7Comments

jppelteret picture jppelteret  路  4Comments

masterleinad picture masterleinad  路  3Comments

tjhei picture tjhei  路  6Comments