Skip to content
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

n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031 #52

Open
mvertens opened this issue Oct 31, 2024 · 12 comments
Open

n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031 #52

mvertens opened this issue Oct 31, 2024 · 12 comments
Assignees
Labels
N1850 piControl - fully coupled NorESM-2.5 Belonging to the development of version 2.5 Spinup

Comments

@mvertens
Copy link
Contributor

mvertens commented Oct 31, 2024

Purpose:
Run for 2 years generating auxiliary mediatory history output needed to spin up ocean and land.
Duplicate of n1850.ne30_tn14.hybrid_fatessp.202401031 but with a fix for DMS in CAM. The goal is to run 2 years.


Description:


Description:

  • create_newcase commnad
 ./create_newcase --case <user_case_path>/n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031 \\
 --compset 1850_CAM%DEV%LT%NORESM%CAMoslo_CLM60%FATES-SP_CICE_BLOM%ECO_MOSART_DGLC%NOEVOLVE_SWAV_SESP  \\
 --res ne30pg3_tn14 \\
 --project nn9039k --run-unsupported --mach betzy 
  • user_nl_cpl
 histaux_atm2med_file1_enabled = .true.
 histaux_atm2med_file2_enabled = .true.
 histaux_atm2med_file3_enabled = .true.
 histaux_atm2med_file4_enabled = .true.
 histaux_atm2med_file5_enabled = .true.
 histaux_rof2med_file1_enabled = .true.
 histaux_atm2med_file5_ntperfile = 1
 histaux_atm2med_file5_history_n = 1
 histaux_atm2med_file5_history_option = 'ndays'
 histaux_rof2med_file1_ntperfile = 1
 histaux_rof2med_file1_history_n = 1
 histaux_rof2med_file1_history_option = 'ndays'
 histaux_l2x1yrg = .true.
  • user_nl_cam
 use_aerocom = .true.
 interpolate_nlat   = 192
 interpolate_nlon   = 288
 interpolate_output = .true.
 history_aerosol = .true. 
 zmconv_c0_lnd  =  0.0075D0
 zmconv_c0_ocn  =  0.0300D0
 zmconv_ke =  5.0E-6
 zmconv_ke_lnd =  1.0E-5
 clim_modal_aero_top_press =  1.D-4
 bndtvg = '/cluster/shared/noresm/inputdata/atm/cam/ggas/noaamisc.r8.nc'
  • user_nl_blom
    ICFILE = "/cluster/shared/noresm/inputdata/restart/NOIIAJRAOC20TR_TL319_tn14_ppm_20240816/rest/1775-01-01-00000/NOIIAJRAOC20TR_TL319_tn14_ppm_20240816.blom.r.1775-01-01-00000.nc"

  • user_nl_cice
    ice_ic = "/cluster/shared/noresm/inputdata/restart/NOIIAJRAOC20TR_TL319_tn14_ppm_20240816/rest/1775-01-01-00000/NOIIAJRAOC20TR_TL319_tn14_ppm_20240816.cice.r.1775-01-01-00000.nc"

  • user_nl_clm
    Add the following to user_nl_clm

finidat='/cluster/shared/noresm/inputdata/lnd/clm2/initdata_esmf/ctsm5.3/testing/1850_fates_spinup_new_dust.clm2.r.0081-01-01-00000.nc'
z0param_method='ZengWang2007'
  • xmlchange commands
./xmlchange NTASKS=1920
./xmlchange NTASKS_OCN=256
./xmlchange ROOTPE=0
./xmlchange ROOTPE_OCN=1920
./xmlchange BLOM_VCOORD=cntiso_hybrid,BLOM_TURBULENT_CLOSURE=
./xmlchange STOP_OPTION=nyears
./xmlchange STOP_N=2
./xmlchange --subgroup case.run JOB_WALLCLOCK_TIME=12:00:00
./xmlchange --subgroup case.st_archive JOB_WALLCLOCK_TIME=03:00:00
./xmlchange --append CLM_BLDNML_OPTS="-ignore_warnings"

Compset long name
1850_CAM%DEV%LT%NORESM%CAMoslo_CLM60%FATES-SP_CICE_BLOM%ECO_MOSART_DGLC%NOEVOLVE_SWAV_SESP


Model grid long name
a%ne30np4.pg3_l%ne30pg4.pg3_oi%tnx1v4_r%r05_w%null_z%null_g%gris4_m%tnx1v4


Case directory:

  • Locally on betzy:
    <user_pathname>/n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031
  • On github:

Code version on github:

[cam]
protocol = git
tag = noresm2_5_015_cam6_3_158.  
repo_url = https://github.com/NorESMhub/CAM
local_path = components/cam
externals = Externals_CAM.cfg
required = True

Diagnostics:


Output:

  • Raw output: /nird/datalake/NS9560K/noresm3/cases/n1850.ne30_tn14.hybrid_fatessp_cplhist.20241031

Contacts:
@mvertens @tjiputra


Extra details:

@mvertens mvertens added the N1850 piControl - fully coupled label Oct 31, 2024
@mvertens mvertens added NorESM-2.5 Belonging to the development of version 2.5 Spinup labels Oct 31, 2024
@tjiputra
Copy link
Collaborator

The above Externals.cfg modification didn't work. I have to remove

"branch = noresm_develop"

Is this correct, @mvertens ?

Also, this is a hybrid start? Is there a reference case name?

@mvertens
Copy link
Contributor Author

@tjiputra - this is a startup run. All the xml changes are in the directions. Sorry for the mistaken change for the code. I did test that this worked for a 10 day run. Please let me know if you have any problems or questions.

@tjiputra
Copy link
Collaborator

finidat='/cluster/shared/noresm/inputdata/lnd/clm2/initdata_esmf/ctsm5.3/testing/1850_fates_spinup_new_dust.clm2.r.0081-01-01-00000.nc'

With this in user_nl_clm, the model won't compile, says it has to be hybrid or branch.

@mvertens
Copy link
Contributor Author

This is very odd. Let me try to duplicate this problem. I simply duplicated the directions for the last fates-sp simulation.
Sorry you are running into this.

@mvertens
Copy link
Contributor Author

The error message says:

err=Warning : CLM build-namelist::CLMBuildNamelist::setup_logic_initial_conditions() : setting finidat (either explicitly in your user_nl_clm or by doing a hybrid or branch RUN_TYPE)
 is incomptable with using a cold start (by setting CLM_FORCE_COLDSTART=on).
 -- Add -ignore_warnings option to CLM_BLDNML_OPTS to ignore this warning

You need to issue the following in your $CASEROOT:
./xmlchange --append CLM_BLDNML_OPTS="-ignore_warnings"
I'm not sure how @monsieuralok ran the previous FATES case - #44 - without this.
I have updated the directions above as well as in #44 as well so we can keep track of this.

@rosiealice
Copy link

rosiealice commented Oct 31, 2024

Is the problem potentially related to this?

NGEET/fates#1234

(doesn't really answer the question of how we ran the last simulation...)

@mvertens
Copy link
Contributor Author

Is the problem potentially related to this?

NGEET/fates#1234

(doesn't really answer the question of how we ran the last simulation...)
I don't think that is the problem. The error statement itself does not make sense to me since CLM_FORCE_COLDSTART=off.
The only way I see that @monsieuralok must have been able to run is to set
./xmlchange --append CLM_BLDNML_OPTS="-ignore_warnings"
@monsieuralok - can you confirm this?

@monsieuralok
Copy link

@mvertens @rosiealice I have not given intial file for CLM so removed "finidat" as mentioned in meeting.

@mvertens
Copy link
Contributor Author

mvertens commented Nov 8, 2024

@tjiputra - it turns out that changes were introduced in cmeps since the first CESM spin up tests were run cause problems in the generation of some of the auxiliary files. I realized this when I tried to use your data to read in forcings using DATM. The following new settings will need to be added to user_nl_cpl

histaux_atm2med_file5_ntperfile = 1
histaux_atm2med_file5_history_n = 1
histaux_atm2med_file5_history_option = 'ndays'
histaux_rof2med_file1_ntperfile = 1
histaux_rof2med_file1_history_n = 1
histaux_rof2med_file1_history_option = 'ndays'

And there will be a lot fewer files.
Would you be willing to delete the generated cpl hist auxiliary files and run the two years again and move the data to nird?
I've validated that with these settings correct auxiliary files are produced and datm can read them in and force clm. So I can duplicate that with the new data as well and also verify that this works with DATM/BLOM.

@tjiputra
Copy link
Collaborator

tjiputra commented Nov 9, 2024

@mvertens I can delete and redo the run. Could you check how we can generate the SMB fields that the icesheet needs in this run as well?
#50

@mvertens
Copy link
Contributor Author

mvertens commented Nov 9, 2024

@tjiputra - good point. I'll test this and add to the directions. Thanks for thinking of this!

@tjiputra
Copy link
Collaborator

@mvertens i will go a head and retest this and let you know when they are ready.

Could you update the xmlchange commands to the following:

./xmlchange NTASKS=1920
./xmlchange NTASKS_OCN=256
./xmlchange ROOTPE=0
./xmlchange ROOTPE_OCN=1920
./xmlchange BLOM_VCOORD=cntiso_hybrid,BLOM_TURBULENT_CLOSURE=
./xmlchange STOP_OPTION=nyears
./xmlchange STOP_N=2
./xmlchange --subgroup case.run JOB_WALLCLOCK_TIME=12:00:00
./xmlchange --subgroup case.st_archive JOB_WALLCLOCK_TIME=03:00:00
./xmlchange --append CLM_BLDNML_OPTS="-ignore_warnings"

@mvertens mvertens changed the title n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031 n1850.ne30pg3_tn14.hybrid_fatessp_cplhist.202401031 Nov 22, 2024
@mvertens mvertens changed the title n1850.ne30pg3_tn14.hybrid_fatessp_cplhist.202401031 n1850.ne30_tn14.hybrid_fatessp_cplhist.202401031 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N1850 piControl - fully coupled NorESM-2.5 Belonging to the development of version 2.5 Spinup
Projects
None yet
Development

No branches or pull requests

4 participants