Stochastic GM+E Restarts v2#3
Merged
alperaltuntas merged 55 commits intoAug 27, 2025
Merged
Conversation
Update Unit Tests ci/cd
…physics_ocn in stochastic_physics.F90 Fix segfault from attempt to use pointer SKEB_WTS when it is not associated with a target
… in stochastic_physics.F90
(PLATFORM-1077) Adding CI/CD capabilities and Unit Tests + Add if(allocated) checks to avoid segfaults NOAA-PSL#82
This commit does two things: - Only the root PE writes some messages. Output to the CESM log file is overloaded otherwise. - Some of the SKEB messages were copied from SPPT. The message text is now corrected and says SKEB, as it should.
Adds the option to use a restart filename other than the default, by changing the stochy data mod module variable `stoch_restfile`.
This was referenced Jul 18, 2025
jedwards4b
approved these changes
Jul 18, 2025
alperaltuntas
pushed a commit
that referenced
this pull request
Aug 27, 2025
In stochy_data_mod the name of the ocean stochastic restart file is no longer hard-coded. Instead it has become a public module variable initialized to its previously hard-coded value. This enables other modules to change the name of the restart file. Together with PR 376 to NCAR/MOM6, this enables MOM6 to write the restart file in the run directory, with file name equal to the mom6 restart filename but with .r_stoch. in place of .r.. It also massively reduces the amount of output printed to the cesm log file, and corrects some copy/paste typos in the output. This partially addresses issue 360 on NCAR/MOM6 about not having exact restarts when using the stochastic GM+E parameterization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In
stochy_data_modthe name of the ocean stochastic restart file is no longer hard-coded. Instead it has become a public module variable initialized to its previously hard-coded value. This enables other modules to change the name of the restart file. Together with PR 376 to NCAR/MOM6, this enables MOM6 to write the restart file in the run directory, with file name equal to the mom6 restart filename but with.r_stoch.in place of.r..It also massively reduces the amount of output printed to the cesm log file, and corrects some copy/paste typos in the output.
This partially addresses issue 360 on NCAR/MOM6 about not having exact restarts when using the stochastic GM+E parameterization.