-
Notifications
You must be signed in to change notification settings - Fork 19
Update run-access-om.md #954
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
base: development
Are you sure you want to change the base?
Changes from all commits
1038069
b2353de
48a2470
ac1172c
445ab71
dd0af1e
af76214
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -622,6 +622,51 @@ env: | |||||||
| UCX_LOG_LEVEL: 'error' | ||||||||
| ``` | ||||||||
|
|
||||||||
| #### Using COSIMA restarts with an ACCESS-NRI configuration | ||||||||
| !!! warning | ||||||||
| This workflow is only for advanced users and provided to help users use COSIMA restart files with ACCESS-NRI executables for two key configurations. This workflow will use a mix of restart files: a spun ocean and a sea-ice model that has started almost from rest. This is physically inconsistent and so the model requires an extended spin up and re-evaluation to produce scientifically credible results. | ||||||||
|
|
||||||||
| As highlighted above in [start the run from a specific restart file](/models/run-a-model/run-access-om/#specific-restart), there are situations where it is preferable to use an existing restart file rather than start the model from rest, e.g. when the configuration is very expensive to run. New ACCESS-NRI executables may be preferable to use because they contain bug fixes and a newer code base. However, in some cases, if the supplied restart file is not fully compatible with the model configuration, experiments using a custom restart file may require additional manual adjustments to run correctly. | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This paragraph should go before the sentence starting Its also a bit overly wordy and could do with an edit to use the active voice more ?
could be
In general an experiment is realised through a serious of runs, so we should use the word experiment in this case |
||||||||
|
|
||||||||
| Here we provide a workflow for doing these manual adjustments for a popular configuration, namely `release-01deg_jra55_ryf`. | ||||||||
|
|
||||||||
| We first need to identify the restart file we wish to use. For this example we will use `/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v13_ryf9091/restart795`. It may be useful to consult [this forum thread](https://forum.access-hive.org.au/t/access-om2-control-experiments/258) for making this choice. | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also maybe consult with the experiment's original author? |
||||||||
|
|
||||||||
| We then need to make a template restart file that works, so we run the ACCESS-NRI configuration from rest. To start, one clones the relevant configuration and runs it: | ||||||||
| ```bash | ||||||||
| cd ~ | ||||||||
| mkdir access-om2 | ||||||||
| cd access-om2 | ||||||||
| payu clone -b expt -B release-01deg_jra55_ryf https://github.com/ACCESS-NRI/access-om2-configs release-01deg_jra55_ryf | ||||||||
| cd release-01deg_jra55_ryf | ||||||||
| payu run | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you could change the runlength so this runs for a day instead of the default length. |
||||||||
| ``` | ||||||||
| Note: these instructions were tested using commit `83885a45017b3a34ea4fad15d155449c7217ad70`. | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I am not sure we need this note, but using the config version (2.0) would be easier to understand/consistent with our other messaging: https://github.com/ACCESS-NRI/access-om2-configs/releases/tag/release-01deg_jra55_ryf-2.0 |
||||||||
|
|
||||||||
| Once the above run is complete. We use a mix of restart files. We use the restart file from a sea-ice model that goes almost from rest (the run you just did) and from the COSIMA restart file we take the ocean variables. This does the bulk of the spin up for us. We do this as follows: | ||||||||
| ```bash | ||||||||
| mkdir -p /scratch/tm70/$USER/access-om2/restart_hackom201ryf | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
can we have a clearer name than |
||||||||
| cd ~/access-om2/release-01deg_jra55_ryf/archive/restart000 | ||||||||
| cp -r ice /scratch/tm70/$USER/access-om2/restart_hackom201ryf | ||||||||
|
Comment on lines
+649
to
+650
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| cd /g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v13_ryf9091/restart795 | ||||||||
| cp -r accessom2_restart.nml ocean /scratch/tm70/$USER/access-om2/restart_hackom201ryf | ||||||||
|
Comment on lines
+652
to
+653
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
(and fix the /scratch/path) |
||||||||
| ``` | ||||||||
|
|
||||||||
| We then need to modify the payu configuration to restart from this mix of restart files, there are two steps: | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| 1. We tell CICE that it should not check the date of the restart file, this is because the `accessom2_restart.nml` file in the example above (folder `restart795`) is looking to start at `EXP_CUR_DATE = 2100-01-01T00:00:00` which is not the start date the sea-ice model will have from the one we have just made above in `restart000`, it will have `1900-04-01T00:00:00`. For the first run you'll need to `set use_restart_time = .false.` in `ice/cice_in.nml`. For additional information, see `More complicated cases` in the [COSIMA/access-om2/wiki](https://github.com/COSIMA/access-om2/wiki/Tutorials#updating-an-experiment). | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You might need to remind people to set use_restart_time = .true. after the first run |
||||||||
|
|
||||||||
| 2. Add the following two lines to `~/$USER/access-om2/release-01deg_jra55_ryf/config.yaml`: | ||||||||
|
|
||||||||
| ```bash | ||||||||
| restart: | ||||||||
| /scratch/tm70/$USER/access-om2/restart_hackom201ryf | ||||||||
| ``` | ||||||||
| Finally, submit this new run with `payu run`. | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can |
||||||||
|
|
||||||||
| !!! tip | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tip should go before "submit this new run" because its not clear what "This" in the tip refers to |
||||||||
| This has the same effect as adding `--restart FILE_NAME` to the `payu clone` command, as discussed above in [start the run from a specific restart file](/models/run-a-model/run-access-om/#specific-restart) | ||||||||
| ### Edit a single {{ model }} component configuration | ||||||||
|
|
||||||||
| Each of [{{ model }} components][model components] contains additional configuration options that are read in when the model component is running.<br> | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't have to caveat needing a spin up for sea ice too much. It needs 5 to 10 years I think but the Andes probably know better