Compare timings of Nonhydrostatic and Hydrostatic models #3110
Unanswered
francispoulin
asked this question in
Computational science!
Replies: 2 comments 4 replies
-
Can you give more details about the free surface formulation? There are a few options: split-explicit, implicit free surface with FFTs, implicit free surface with a matrix-based preconditioner and preconditioned conjugate gradient solver, explicit free surface. It also probably matters how many tracers you are using, closure, buoyancy, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is a trimmed down version of the hydrostatic code. Nothing fancy going on.
The nonhydrostatic solver is almost exactly the same except for the model definitio is replaced by these lines.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an unstable jet set up with exactly the same parameters using the
Nonhydrostatic
andHydrostaticFreeSurface
models. For the latter I am using anImplicitFreeSurface
.When we do a 3D simulation with about 200^3 we find that the timings differ qualitatively from GPUs to CPUs.
On a cluster, with GPU, we find that the
HydrostaticFreeSurface
model runs about 20 times faster.On my laptop, with a CPU, we find the
HydrostaticFreeSurface
model runs about 2 times slower.I found the slower hydrostatic model surprising and wanted to ask if this is suprising to others too?
I suspect it would be faster using an
ExplicitFreeSurface
and I can try that but wanted to get peoples reactions before I try that.Beta Was this translation helpful? Give feedback.
All reactions