Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imperfect restarts again, with OBCs #508

Closed
kshedstrom opened this issue Oct 24, 2023 · 8 comments
Closed

Imperfect restarts again, with OBCs #508

kshedstrom opened this issue Oct 24, 2023 · 8 comments

Comments

@kshedstrom
Copy link

The DEBUG information is pointing to uh and vh at Beginning of step_MOM. We must be missing more OBC code during initialization.

@kshedstrom
Copy link
Author

There is complicated logic in initialize_dyn_split_rk2 in which it sometimes initializes uh and vh, but only if CS%store_CAu is false or if it didn't read CAu and CAv from the restart file. The OBCs need uh and vh on restart as well.

@kshedstrom
Copy link
Author

Oh, and if you have non-zero initial velocity from a file, the first call to continuity during initialization spawns those redundant errors for uh, vh. It's during a restart that continuity isn't called at all, which may or may not be related to the pre-btstep accel DEBUG differences.

@kshedstrom
Copy link
Author

If the uh vh stuff is a red herring, surely a Post OBC avg u,v is not. Arg.

@kshedstrom
Copy link
Author

The phase speeds for the time filter of the radiation conditions are written to the restart file, but apparently aren't being read in. I see the logic for reading in CAu, CAv. How do I tell it to only read on restarts?

@kshedstrom
Copy link
Author

Actually, the restarts were working when I had DIABATIC_FIRST = False. Does it make sense that some restart fields would be read one way, not the other?

@kshedstrom
Copy link
Author

I watched in the debugger - and it behaved itself. This is with gnu 11.3.0.

@theresa-cordero
Copy link

Kate, was this issue addressed by PR #520?

@kshedstrom
Copy link
Author

Yes, it should be fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants