Skip to content

Stochastic GM+E Restarts v2#3

Merged
alperaltuntas merged 55 commits into
ESCOMP:fix_cesm_buildfrom
iangrooms:skeb_restarts_v2
Aug 27, 2025
Merged

Stochastic GM+E Restarts v2#3
alperaltuntas merged 55 commits into
ESCOMP:fix_cesm_buildfrom
iangrooms:skeb_restarts_v2

Conversation

@iangrooms

Copy link
Copy Markdown
Collaborator

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.

zach1221 and others added 24 commits August 5, 2024 17:10
…physics_ocn in stochastic_physics.F90

Fix segfault from attempt to use pointer SKEB_WTS when it is not associated with a target
(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`.
@alperaltuntas alperaltuntas merged commit b538c2c into ESCOMP:fix_cesm_build Aug 27, 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.
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

Successfully merging this pull request may close these issues.

7 participants