6 Oct
2016
6 Oct
'16
9:27 a.m.
On 05/10/16 19:44, Colin Cotter wrote:
We probably need to think about the preconditioner. First please could you confirm that the timing is dominated by the linear solver?
To elaborate on this. Used timed_stages in your code: from pyop2.profiling import timed_stage while t < tend: with timed_stage("solve_A"): do stuff for A. with timed_stage("solve_B"): do stuff for B. ... And then run your models with "-log_view" python my_model.py -log_view And post the outputs in both cases. Cheers, Lawrence