Skip to content

Commit

Permalink
Include path to stub interface for building
Browse files Browse the repository at this point in the history
Also correct typos.
  • Loading branch information
kuanchihwang committed Dec 30, 2023
1 parent 13a466d commit 5e1343f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cime_config/cam_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def __init__(self, case, case_log):
"src/dynamics, with a slash ('/') indicating directory hierarchy."]


#Determine dynmaical core and grid-matching regex to use for validation:
#Determine dynamical core and grid-matching regex to use for validation:
dycore, grid_regex = get_atm_hgrid(atm_grid)

#Add dynamical core to config object:
Expand Down Expand Up @@ -370,6 +370,11 @@ def __init__(self, case, case_log):
self.create_config("trm", trm_desc, 1, (1, None))
self.create_config("trn", trn_desc, 1, (1, None))
self.create_config("trk", trk_desc, 1, (1, None))
elif dycore == "mpas":
# This only includes the driver and interface code between CAM-SIMA and MPAS dynamical core.
# MPAS dynamical core relies on its upstream build infrastructure for compilation instead of CIME to take advantage of future upstream changes automatically.
self.create_config("dyn_src_dirs", dyn_dirs_desc, ["mpas"],
valid_list_type="str")
elif dycore == "none":
# Source code directories
self.create_config("dyn_src_dirs", dyn_dirs_desc, ["none"],
Expand Down Expand Up @@ -865,7 +870,7 @@ def generate_cam_src(self, gen_fort_indent):
capgen_db, ic_names)

#Add registry path to config object:
init_dir_desc = "Location of auto-generated physics initilazation code."
init_dir_desc = "Location of auto-generated physics initialization code."
self.create_config("init_dir", init_dir_desc, init_dir)

#--------------------------------------------------------------
Expand Down

0 comments on commit 5e1343f

Please sign in to comment.