Oceananigans.jl icon indicating copy to clipboard operation
Oceananigans.jl copied to clipboard

Ensure `simulation.Δt` is the same across MPI ranks

Open simone-silvestri opened this issue 1 year ago • 1 comments

we need to add a feature that checks that

sim.Δt

is the same for all ranks upon setting it

simone-silvestri avatar Oct 12 '23 18:10 simone-silvestri

Another design is to use something like

set_Δt!(sim, new_Δt)

While overloading setproperty is nicer syntax, it is a little implicit to do an all reduce within setproperty.

glwagner avatar Oct 12 '23 18:10 glwagner