Skip to content

Configuration setting for compsets

gdicker1 edited this page Nov 9, 2023 · 6 revisions

Change CAM_CONFIG_OPTS

You may have to run ./xmlchange --append CAM_CONFIG_OPTS=### in a few scenarios.

  • To select a 32 or 58 level you should use the appropriate -nlev=###. 32 is the default for many compsets. You will need to set this for 58 levels
  • FHS94, FKESSLER, and QPC6 use analytic initial conditions with the MPAS-A dycore. You may have to add this option yourself.

E.g. to request 58 levels and ensure analytic initial conditions are used run the following after running ./case.setup: ./xmlchange --append CAM_CONFIG_OPTS= -nlev=32 -analytic_ic

Additional Configuration Changes

Use the following commands to set the configurations for your runs (These commands includes the configuration change to CAM_CONFIG_OPTS). These changes are specific to Cheyenne and the paths need to be updated accordingly for other machines. The CIME infrastructure downloads the necessary files at runtime at lower resolutions. But the user needs to manually specify the path in the user namelist at a higher resolution (see EarthWorks Inputdata).

FHS94

No additional commands are needed for FHS94

FKESSLER

See Known Issues for a note about FKESSLER. Otherwise no extra commands are needed for FKESSLER

F2000climo

cat << __EOF_NL_CAM >> user_nl_cam
&camexp
 scale_dry_air_mass = -1.0
 cldfrc_sh1 = 0.04
 dust_emis_fact = 0.70D0
 zmconv_ke = 5.0E-6
/
__EOF_NL_CAM

QPC6-Aquaplanet

./xmlchange --append CAM_CONFIG_OPTS="-analytic_ic -nlev 32"

cat << __EOF_NL_CAM >> user_nl_cam
&camexp
 analytic_ic_type= 'us_standard_atmosphere'
/
__EOF_NL_CAM

Fully Coupled

cat << __EOF_NL_CAM >> user_nl_cam
 mpas_dt = $ATM_DT
 __EOF_NL_CAM
 
 cat << __EOF_NL_OCN >> user_nl_mpaso
 &time_integration
  config_dt = '$OCN_CONFIG_DT'
  config_time_integrator = 'split_explicit'
 /
 
 config_am_mocstreamfunction_enable = ${OCN_MOC_ENABLE}
 config_use_gm = ${OCN_USE_GM}
 config_use_redi = ${OCN_USE_REDI}
 
 config_cvmix_kpp_use_theory_wave = .true.
 config_am_mocstreamfunction_compute_interval = '0000-00-00_01:00:00'
 config_am_mocstreamfunction_compute_on_startup = .false.
 config_am_mocstreamfunction_max_bin = -1.0e34
 config_am_mocstreamfunction_min_bin = -1.0e34
 config_am_mocstreamfunction_num_bins = 180
 config_am_mocstreamfunction_output_stream = 'mocStreamfunctionOutput'
 config_am_mocstreamfunction_region_group = 'all'
 config_am_mocstreamfunction_transect_group = 'all'
 config_am_mocstreamfunction_write_on_startup = .false.
 __EOF_NL_OCN
 
 cat << __EOF_NL_SI >> user_nl_mpassi
 &seaice_model
  config_dt = $SI_CONFIG_DT
 /
 config_initial_latitude_north = 90.0
 config_initial_latitude_south = -90.0
 __EOF_NL_SI