Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Error in MOM6 initialized from the restart file in a hybrid run

Youwei

Youwei Ma
New Member
Hi,

I am doing transient CO2 ensemble experiment in a coupled idealized configuration. The compset is 2000_CAM40_CLM50%SP_CICE_MOM6_SROF. I have a 1000-year spin-up and want to perturbe the initial condition and increase CO2 concentration in atmosphere from Year 1001 by adding below in user_nl_cam
Code:
scenario_ghg   =  'RAMP_CO2_ONLY'
ramp_co2_annual_rate   =  1.0
ramp_co2_cap   =  4.0
ramp_co2_start_ymd   =  10010101
pertlim = 1.d-14

pertlim only works for initial simulations. An hybrid run basically starts as an initial simulation. So pertlim should work for hybrid.

Since the pertlim only works through the initial condition, I need to run a hybrid run that use initialize CAM using initial file generated in the 'rest' directory and use restart file to initialize other components by

Code:
ncdata = '*cam.i.1001-01-01-00000.nc'
in user_nl_cam and
Code:
./xmlchange RUN_TYPE=hybrid
./xmlchange RUN_REFCASE=b.e23.BMOM.f09_sx0.66av1.aqua.production.yr500_branch
./xmlchange RUN_REFDIR=/glade/campaign/univ/unsb0039/scratch/archive/
./xmlchange RUN_REFDATE=1001-01-01

and copy all files in rest directory to the run directory for this case.

After submit the case, I got the error from MOM6:
Unable to find variable TS_CONFIG in any input files

Then, I add
Code:
input_filename = 'r'
to the input.nml in SourceMods to ensure that MOM6 to read a restart file.

The error from MOM6 becomes
Unrecognized Temp & salt configuration uniform

It seems that I didn't set MOM6 initialization correctly so MOM6 doesn't read restart file well. Since I haven't found any instruction to restart MOM6 in CESM framework, my question is what is the right routine to restart MOM6 in a hybrid run.


What version of the code are you using?
cesm2_3_beta06-0-g072eee6
 

Attachments

  • cesm.log.zip
    421.2 KB · Views: 0
Top