Hi Cecile,It will be defined by the compset you use (compset = component set). This is the set of components you use in your simulation.
(For more info about compset: 2. Component sets — CIME master documentation)
The list of compsets in CESM2 is available at: CESM2.2.0 Component Sets Definitions
You can see all the details of the components you are using.
As a rule of thumb, when you run an F compset, it is an atmosphere only simulation. But it could be CAM or CAM-chem or WACCM
- If the compset name has 'FC', it is a CAM-chem compset.
- If the compset name has 'FW', it is a WACCM compset.
- If the name has an 'F' without a 'C' or 'W', it is CAM."
It is a bit more complicated than this as there are even more F compsets (i.e. CAM dry adiabatic baroclinic instability, ...) but this is a good starting point.
./xmlchange CAM_CONFIG_OPTS="-phys cam6"
Hi Courtney,Hi Toni,
A couple of options:
1. You can go into the $CAM/cime_config/config_compsets.xml list and find the longname for the compset that you want to remove chemistry from (for example "FCnudged" has a longname of "HIST_CAM60%CCTS1%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV"). You can then remove the "%CCTS1" from the longname and you'll have an identical compset without chemistry (using the same example, it'd be "HIST_CAM60%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV"). You can use the new longname in creating your case the same way you would use an alias.
2. You can just use the compset as is (for example, FCnudged) and then toggle off chemistry by removing the relevant switches in the CAM_CONFIG_OPTS environment variable. For example, if running ./xmlquery CAM_CONFIG_OPTS returns "-phys cam6 -chem trop_strat_mam5_vbs -age_of_air_trcs" you can do:
to toggle off those chemistry flags ("-chem trop_strat_mam5_vbs -age_of_air_trcs")
Hope that helps!
Courtney
Hi Courtney,Hi Toni,
A couple of options:
1. You can go into the $CAM/cime_config/config_compsets.xml list and find the longname for the compset that you want to remove chemistry from (for example "FCnudged" has a longname of "HIST_CAM60%CCTS1%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV"). You can then remove the "%CCTS1" from the longname and you'll have an identical compset without chemistry (using the same example, it'd be "HIST_CAM60%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV"). You can use the new longname in creating your case the same way you would use an alias.
2. You can just use the compset as is (for example, FCnudged) and then toggle off chemistry by removing the relevant switches in the CAM_CONFIG_OPTS environment variable. For example, if running ./xmlquery CAM_CONFIG_OPTS returns "-phys cam6 -chem trop_strat_mam5_vbs -age_of_air_trcs" you can do:
to toggle off those chemistry flags ("-chem trop_strat_mam5_vbs -age_of_air_trcs")
Hope that helps!
Courtney
# --------------- > short:
./create_newcase --case $casename --compset FCnudged --res f09_f09_mg17 --run-unsupported
./xmlchange CAM_CONFIG_OPTS="-phys cam6"
|------------------> ./create_newcase
Compset longname is HIST_CAM60%CCTS1%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV
Compset specification file is ~/CESM2.2/components/cam//cime_config/config_compsets.xml
Automatically adding SIAC to compset
Automatically adding SESP to compset
Warning: missing non-idmap ROF2OCN_FMAPNAME for rof_grid, r05 and ocn_grid 0.9x1.25
Compset forcing is Historic transient
ATM component is CAM cam6 physics:CAM-Chem troposphere/stratosphere chemistry with simplified VBS-SOA:
LND component is clm5.0:Satellite phenology:
ICE component is Sea ICE (cice) model version 5 :prescribed cice
OCN component is DOCN prescribed ocean mode
ROF component is MOSART: MOdel for Scale Adaptive River Transport
GLC component is Stub glacier (land ice) component
WAV component is Stub wave component
IAC component is Stub iac component
ESP component is Stub external system processing (ESP) component
Pes specification file is ~/CESM2.2/components/cam//cime_config/config_pes.xml
Compset specific settings: name is RUN_STARTDATE and value is 2010-01-01
Compset specific settings: name is CALENDAR and value is GREGORIAN
Compset specific settings: name is SSTICE_DATA_FILENAME and value is $DIN_LOC_ROOT/atm/cam/sst/sst_HadOIBl_bc_0.9x1.25_1850_2017_c180507.nc
Compset specific settings: name is SSTICE_GRID_FILENAME and value is $DIN_LOC_ROOT/share/domains/domain.ocn.fv0.9x1.25_gx1v7.151020.nc
Compset specific settings: name is SSTICE_YEAR_END and value is 2016
Machine is x86_64
Pes setting: grid match is a%0.9x1.25
Pes setting: grid is a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%null_w%null_z%null_m%gx1v7
Pes setting: compset is HIST_CAM60%CCTS1%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV_SIAC_SESP
Pes setting: tasks is {'NTASKS_ATM': -4, 'NTASKS_LND': -4, 'NTASKS_ROF': -4, 'NTASKS_ICE': -4, 'NTASKS_OCN': -4, 'NTASKS_GLC': -4, 'NTASKS_WAV': -4, 'NTASKS_CPL': -4}
Pes setting: threads is {'NTHRDS_ATM': 1, 'NTHRDS_LND': 1, 'NTHRDS_ROF': 1, 'NTHRDS_ICE': 1, 'NTHRDS_OCN': 1, 'NTHRDS_GLC': 1, 'NTHRDS_WAV': 1, 'NTHRDS_CPL': 1}
Pes setting: rootpe is {'ROOTPE_ATM': 0, 'ROOTPE_LND': 0, 'ROOTPE_ROF': 0, 'ROOTPE_ICE': 0, 'ROOTPE_OCN': 0, 'ROOTPE_GLC': 0, 'ROOTPE_WAV': 0, 'ROOTPE_CPL': 0}
Pes setting: pstrid is {}
Pes other settings: {}
Pes comments: none
Compset is: HIST_CAM60%CCTS1%NUDG_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV_SIAC_SESP
Grid is: a%0.9x1.25_l%0.9x1.25_oi%0.9x1.25_r%r05_g%null_w%null_z%null_m%gx1v7
Components in compset are: ['cam', 'clm', 'cice', 'docn', 'mosart', 'sglc', 'swav', 'siac', 'sesp']
./xmlchange CAM_CONFIG_OPTS= "-phys cam6 -chem trop_strat_mam5_vbs -age_of_air_trcs"
./xmlchange --append CAM_CONFIG_OPTS="-chem none"
Hi Courtney,Hi Toni,
The log messages in the atm file are pulled from the compset name (which you're not changing), so it may not be accurate if you manually turn off chemistry. Are you getting an error that chemistry is looking for those emissions and not finding them? If so, perhaps I was wrong that removing the -chem flag alone was enough to turn off chemistry. If that's the case, try adding "-chem none" to CAM_CONFIG_OPTS:
If you're still having trouble, I'd recommend trying option #1 above since that would create a case based on a compset that does not have chemistry (and thus there are fewer points of failure in terms of the configuration). There is some baseline chemistry that you cannot turn off, so if none of this works, I can ask some of the chemistry experts on how to avoid the need for emissions.
Let me know if none of that helped!
Courtney