-
Notifications
You must be signed in to change notification settings - Fork 26
Offline sediment spinup #560
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: master
Are you sure you want to change the base?
Conversation
...still requires appropriate input provision
avoiding too much unnecessary log-file output
…namelist_definition_blom.xml
|
@jmaerz - it is not difficult to switch off the cice and coupler infrastructure. In fact CAM does this already in its simple model configurations. Here is an example for adiabatic mode. In config_compset.xml you have In the mediator buildnml you skip the mediator if there is a prognostic component and all other components are stub: The above will set the nuopc.runconfig config variable And then there is logic in atm_comp_nuopc to not communicate with the mediator if it is not present. This same logic can easily be introduced in the BLOM ocn_comp_nuopc.F90. So all you need to do is introduce a new compset in BLOM and then add the logic to ocn_comp_nuopc. I'm happy to help with this - let me know. |
|
@mvertens , many thanks! - even though the offline sediment spinup isn't high up on the priority list, your recipe looks like a good step further. Once a bit more time, I (or Tomas) will test this out - thanks for looking into it and providing guidance! |
|
Hi @mvertens , first of all: thanks again for the recipe and no rush with this issue! I tried to follow your recipe (not sure thus far, if it works out), but when building the model, I ran into the issue that the model isn't recognizing a PE-layout for the new compset. While building, it throws: To me, it looks as if the first step (recognizing the new compset) is successful. Do you have a recommendation for a PE layout? - I suspect that mainly the ocean requires |
This draft PR provides a first draft of a code for an offline sediment spinup. The draft PR is thus far for illustrative purposes only. The question is, if there is the possibility to fully include this into the NorESM-framework or if something else is needed/wanted (e.g. a highly modified NorESM branch, etc.; comments?). The aim is to enable a very fast offline sediment spinup with -hopefully- a few thousand years throughput per day even for high resolution setups. This work is part of a Bjerknes MDA and is a first starting point for collaborative coding-work with @TomasTorsvik (and others).
What it does:
Thus far, the code allows to switch off large parts of BLOM (while I didn't try for CICE and coupler infrastructure thus far, where I/we would appreciate help) so that only the timing of BLOM is used to run iHAMOCC only. In iHAMOCC, a forcing file with climatological deposition fluxes is read, when offline sediment spinup is switched on (currently via a pre-processor flag). Then, all water column processes are switched off in iHAMOCC and only sediment processes are simulated for these climatological deposition fluxes that need to be generated beforehand. Technically, this should lead to a fast sediment spinup capability which will allow to spin-up the sediment even in high(er) resolution setups while minimizing water column drifts when plugging in the spunup sediment back into a full model simulation.
Missing:
Currently, the code runs on betzy similarly fast as before with all processes included - I assume that CICE and coupler infrastructure and processor settings limit the throughput (i.e. BLOM/iHAMOCC idling while waiting for CICE and coupler). We still need to find a way to switch off CICE and coupler infrastructure. Further, a better processor layout needs to be found for this purpose (i.e. all/most processors for iHAMOCC).
In a 1D simulation, the code is much faster than the regular 1D simulation and looks promising.