[petsc-users] Step size for adaptive stepper when running on several MPI threads

Roland Richter roland.richter at ntnu.no
Tue Jan 19 09:15:53 CST 2021


Hei,

during recent experiments with the adaptive stepper in odeint I noticed
that the step size used for each step can vary if I am using more than
one thread at the same time (i.e. thread 1 can have a different step
size than thread 2 when doing the same step). This is not suitable for
my project, after the function calculating the right hand side relies on
having the same step size for each thread.

Before starting deeper experiments with the adaptive steppers in PETSc,
I therefore wanted to ask if those steppers synchronize the step size of
the sub-steps between the different mpi processes at each step, or if not?

Thanks!

Regards,

Roland



More information about the petsc-users mailing list