petsc_options_iname = '-pc_type -sub_pc_type -pc_factor_shift_type -pc_factor_shift_amount -snes_linesearch_minlambda'
petsc_options_value = 'bjacobi ilu NONZERO 1e-10 1e-3'
Would field splitting be a good approach here?
And finally, just to be sure: has anyone done strong and/or weak scaling tests on Zapdos before?Thanks,Shane
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/2345d662-d9a8-4650-aff1-452099793a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm very curious about the ksp_norm = none selection. Is that necessary? It seems wrong to me...I would hope you don't have to set anything for the ksp_norm and use our default. If the linear solve isn't converging, then the preconditioner is not working.
If you're using the newest MOOSE, try setting Executioner/automatic_scaling=true. It should improve the condition number of your matrix and improve the performance of any preconditioner.
Hmm, what fields would you want to split?
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos...@googlegroups.com.
I'm very curious about the ksp_norm = none selection. Is that necessary? It seems wrong to me...I would hope you don't have to set anything for the ksp_norm and use our default. If the linear solve isn't converging, then the preconditioner is not working.Upon trying with it turned off...It's definitely not necessary. The problem seemed to work better (e.g. it converged as opposed to failing at the first timestep) with one set of PETSc options I tried and I just left it on after that. But yes, you're right - that set of options was just not working.If you're using the newest MOOSE, try setting Executioner/automatic_scaling=true. It should improve the condition number of your matrix and improve the performance of any preconditioner.This option is interesting. It definitely seems to decrease the number of linear iterations, but it also takes a long time to run the first timestep when I turn this option on. When I run with 17000 nodes the terminal output gets to "0 Nonlinear |R| = ..." and just stays there for a while, so the simulation takes 2-3 times as long just because of that first timestep. (The time spent on that first timestep is much shorter for smaller meshes, obviously.) I tried this out on a pretty large mesh for 1D, 140,000 nodes, and the simulation took almost 30 minutes to run even though I only ran for 10 timesteps and each step took ~10 seconds to complete.
Hmm, what fields would you want to split?To be fair I've never used field splitting, but I have seen people mention splitting up the Poisson-like equation and transport equations in problems like this. For example, this comment: https://groups.google.com/d/msg/moose-users/sYhWlvr1rQ0/WtYh7R6cAwAJSo I suppose in this case the species variables and energy would be split from the Poisson equation(s).
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/e106c772-8f98-4a21-8c84-768feb29f537%40googlegroups.com.
Is that initial "hang" longer than the time it takes to do a normal jacobian evaluation? If so, there's definitely something weird going on. For computing the scaling, MOOSE only calls through to the diagonal Jacobian pieces of kernels.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/13c45bed-3c12-4917-8859-906fe2c8450d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/7748d917-ba9c-48a9-a58c-5ded1de4a4a9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/658c141f-279a-4c0c-a8b1-6140c525756b%40googlegroups.com.