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

Merge ctsm5.1.dev020 tag into fates_main_api #1257

Merged
merged 411 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
411 commits
Select commit Hold shift + click to select a range
f5844f6
Add clm5_1 for lilac build template
ekluzek Sep 22, 2020
6479542
LILAC has to use clm/obj as the obj directory
ekluzek Sep 22, 2020
4ef8a52
Use component name under Buildconf directory, this is needed to be cl…
ekluzek Sep 22, 2020
d8a0b1b
Add a test to ctsm_sci for each science_supported compset/grid
ekluzek Sep 22, 2020
78540a4
Remove left over Clm40 compsets
ekluzek Sep 22, 2020
bceca56
Remove two tests from aux_clm as similar tests are in ctsm_sci and th…
ekluzek Sep 22, 2020
566b8c7
Merge remote-tracking branch 'ekluzek/urbanmksurfupdate' into ctsm51s…
ekluzek Sep 23, 2020
ca8f3b7
Correct test numbers
ekluzek Sep 23, 2020
9ff7810
Merge pull request #1157 from ekluzek/urbanmksurfupdate
ekluzek Sep 23, 2020
942ec57
Merge pull request #1151 from ekluzek/btran2incnfire
ekluzek Sep 23, 2020
ed7af48
Update ChangeLog
ekluzek Sep 23, 2020
7fb747f
Merge remote-tracking branch 'escomp/master' into ctsm51start
ekluzek Sep 23, 2020
c037b54
More change file updates
ekluzek Sep 23, 2020
f8a6699
Merge pull request #1150 from ekluzek/ctsm51start
ekluzek Sep 23, 2020
3fb61f3
Merge tag 'ctsm5.1.dev001' into reduce_duplication
slevis-lmwg Sep 24, 2020
003dd9e
Correction for LILACSMOKE test to pass; cheyenne test-suite now ok
slevis-lmwg Sep 25, 2020
5e45b94
adding wrf-tools to docs source code
negin513 Sep 25, 2020
df7d9a3
updating wrf branch for release
negin513 Sep 25, 2020
14a16e8
Test-suite results reported in ChangeLog
slevis-lmwg Sep 25, 2020
f3e44c8
Merge remote-tracking branch 'slevisconsulting/reduce_duplication'
billsacks Sep 25, 2020
3ea45a6
Minor ChangeLog edits
billsacks Sep 25, 2020
3ab74de
Add a single-point test that exercises dynamic lakes
billsacks Sep 25, 2020
d6bcdd4
some small docs changes.
negin513 Sep 25, 2020
2898fcf
copying the updated namelist.input file (option update and duration u…
negin513 Sep 25, 2020
8ff6ca3
Turn off methane in dynlakes test
billsacks Sep 25, 2020
c138a0b
Make sure 'Changes answers relative to baseline:' lines have an answe…
ekluzek Sep 26, 2020
d58b5ed
Make sure tags with answer changes have short description on same line
ekluzek Sep 26, 2020
7810dc1
Create new changelog for the ctsm5.1 series, spinoff the ctsm1_0_Chan…
ekluzek Sep 26, 2020
a7c2cea
Remove note about code review and add an extra line about the change …
ekluzek Sep 26, 2020
2cb54b5
Merge pull request #3 from billsacks/dynlakes_avoid_tws_changes
billsacks Sep 28, 2020
f2e2011
Point to new version of landuse timeseries file for dyn lakes test
billsacks Sep 28, 2020
f6bf84a
Merge branch 'master' into dynlakes_master_notools
billsacks Sep 28, 2020
d9b4972
Fix unit tests
billsacks Sep 28, 2020
23568dd
Update ChangeLog
billsacks Sep 29, 2020
08bc0ad
Merge branch 'dynlakes_master_notools'
billsacks Sep 29, 2020
08e5a90
Fix issue#1163
olyson Sep 29, 2020
c072fa5
Update ChangeLog
billsacks Sep 30, 2020
2b4802d
Merge branch 'onsetoffset'
billsacks Sep 30, 2020
e252e94
Merge tag 'ctsm5.1.dev001' into btran2incnfire_movecall
billsacks Sep 30, 2020
5cd478e
Apply changes to CNFireLi2021 like those applied to other fire versions
billsacks Sep 30, 2020
bfed614
Minor cleanup
billsacks Sep 30, 2020
8d1fc69
Merge branch 'master' into btran2incnfire_movecall
billsacks Sep 30, 2020
b496b65
Change some stray SHR_ASSERT calls to SHR_ASSERT_FL
billsacks Sep 30, 2020
0a97062
run_sys_tests: use abspath of --testfile argument
billsacks Sep 30, 2020
e4b6bcc
Initialize btran2 to 0 in CNFireLi2021Mod
billsacks Oct 1, 2020
7a7ab79
Remove multiplications by col%wtgcell in CNFireLi2021Mod
billsacks Oct 1, 2020
b45f492
Initialize nfire to 0 in CNFireLi2021Mod
billsacks Oct 1, 2020
e832791
Fix organic_frac_squared default for clm5_1
billsacks Oct 1, 2020
97e12a8
Add a place to document significant changes to CLM51 configurations
billsacks Oct 1, 2020
00a8c3a
Update ChangeLog
billsacks Oct 2, 2020
4277604
Merge branch 'clm51_fixes'
billsacks Oct 2, 2020
acb90bf
Merge branch 'master' into btran2incnfire_movecall
billsacks Oct 2, 2020
fe48181
Call correct routine to calculate btran2 for CNFireLi2021
billsacks Oct 2, 2020
f7a98bf
Merge branch 'fix_clm51_fire_btran' into btran2incnfire_movecall
billsacks Oct 2, 2020
ec8d075
Calculate fire btran2 using updated h2osoi_vol
billsacks Sep 30, 2020
b1cf8b9
Reinitialize fire btran2 to spval for all patches in each time step
billsacks Oct 2, 2020
4291f06
Limit fire btran2 to be <= 1
billsacks Oct 2, 2020
d6d5342
Update ChangeLog
billsacks Oct 4, 2020
d6eccd1
Merge branch 'fix_clm51_fire_btran'
billsacks Oct 4, 2020
c6675b3
In CNFireLi2021: Allow btran2 to exceed 1 by somewhat more
billsacks Oct 4, 2020
04c968c
In CNFireLi2021: Remove check on btran2 significantly greater than 1
billsacks Oct 4, 2020
ad4f17c
Fire btran2 cleanup that should be bit-for-bit
billsacks Oct 4, 2020
cb6e7ce
Move calc_fire_root_wetness for CNFireLi2021 into the base type
billsacks Oct 5, 2020
460efa4
Set btran2 to 0 over non-exposed-veg points
billsacks Oct 5, 2020
a7efe34
Change fire looping structure to be more standard
billsacks Oct 5, 2020
7a365a7
Merge branch 'master' into btran2incnfire_movecall
billsacks Oct 6, 2020
ba1d9e6
move initialization of iulog
jedwards4b Oct 6, 2020
d2f5705
Update ChangeLog
billsacks Oct 6, 2020
a17cc14
Merge branch 'btran2incnfire_movecall'
billsacks Oct 6, 2020
84d8982
Fix for #1158 always turning on the dribbling when crop is on for all…
ekluzek Oct 6, 2020
45950d2
when reading into logical type tmp var should match file type
jedwards4b Oct 6, 2020
c8b0d83
refactor read of haslake
jedwards4b Oct 6, 2020
87f45e3
Fix clm5_1 2000 finidat file this fixes one item in #1166
ekluzek Oct 7, 2020
fd9f4e5
refactor ncdio_pio for local type conversion
jedwards4b Oct 7, 2020
f34a6ef
Update change files
ekluzek Oct 7, 2020
fb5ebdb
Update change files
ekluzek Oct 7, 2020
d3c31a3
Merge pull request #1177 from ekluzek/dribble_n_clm512000
ekluzek Oct 7, 2020
033aad7
Add documentation for SP changes
danicalombardozzi Oct 8, 2020
66c4d49
Fix to quadratic solution error bug #756 caused by negative shaded ph…
danicalombardozzi Oct 8, 2020
264f598
Update to BGC code to account for crop/grass height in snow burial ca…
danicalombardozzi Oct 8, 2020
6cb3524
rewrite read_darray interface
jedwards4b Oct 8, 2020
bfe5830
Moved comment location and updated calculation of fb as per @billsack…
danicalombardozzi Oct 8, 2020
e0528a0
Add comments
billsacks Oct 8, 2020
23cd88d
Fix indentation
billsacks Oct 8, 2020
c190810
removing maxpatch_pft to address #881
negin513 Oct 9, 2020
f752cf8
removing the dublicated lines for #1020
negin513 Oct 9, 2020
09dc996
removing the test def lines for #1020
negin513 Oct 9, 2020
3c99424
Remove unused local variables
billsacks Oct 9, 2020
acf9076
Minor cleanup
billsacks Oct 9, 2020
1e71223
Use genf90 to simplify allocations
billsacks Oct 9, 2020
81c0010
replaced global unity mask on mesh with land mask
Oct 13, 2020
04400d6
Introduce subroutine for converting numeric arrays to logical, and tests
billsacks Oct 13, 2020
5399fd3
Add hooks for run_self_tests
billsacks Oct 13, 2020
8a76816
Merge remote branch 'djk/hydraulic_redistribution' for PR#1126
negin513 Oct 14, 2020
819ccd5
Add self-tests of ncdio_pio
billsacks Oct 15, 2020
2ac9a55
Rename run_self_tests to more specific for_testing_run_ncdiopio_tests
billsacks Oct 15, 2020
cb2fbed
In unit tests: generate files from genf90 in build dir, not in source
billsacks Oct 15, 2020
58a6a2e
Add a comment
billsacks Oct 15, 2020
0071378
remove workaround for 1730
jedwards4b Oct 15, 2020
674254b
Remove some unnecessary local variables
billsacks Oct 15, 2020
f8c4f47
Move pio_seterrorhandling call in single_column block
billsacks Oct 16, 2020
591727f
adding the fields to restart and making defaults active
negin513 Oct 19, 2020
2f9acf1
Consolidate duplicated read_darray dispatch code
billsacks Oct 20, 2020
da18e12
adding use_hydrstress
negin513 Oct 20, 2020
e45e38d
updating ChangeLog and ChangeSum
negin513 Oct 21, 2020
619b8cc
Merge pull request #1187 from negin513/develop_bfb
negin513 Oct 21, 2020
621e1e1
Fixes to vertical level metadata
billsacks Oct 21, 2020
cfdf6ff
Remove check_dim for levmaxurbgrnd
billsacks Oct 21, 2020
39d7097
Merge remote-tracking branch 'escomp/master' into match_file_type_on_…
billsacks Oct 22, 2020
5b1e968
Update ChangeLog
billsacks Oct 23, 2020
437e950
Merge branch 'match_file_type_on_read_v2'
billsacks Oct 23, 2020
45a6680
Fix init_interp for levmaxurbgrnd
billsacks Oct 23, 2020
2402510
Merge tag 'ctsm5.1.dev010' into nlevurbgrnd
billsacks Oct 26, 2020
948eb17
Make vardesc arg of check_var optional
billsacks Oct 27, 2020
a6fabb4
Rename check_dim to check_dim_size
billsacks Oct 27, 2020
71f8bd6
Add check_dim routine
billsacks Oct 27, 2020
f83bb25
Fix unit tests: need to set nlevmaxurbgrnd when creating water_type inst
billsacks Oct 27, 2020
115d2cf
Add check_var_or_dim subroutine
billsacks Oct 27, 2020
90a2001
Add tests of check_var_or_dim
billsacks Oct 27, 2020
91a20aa
Merge branch 'master' into wrf_docs
negin513 Oct 27, 2020
2e14871
Extend find_var_on_file to support finding dimensions
billsacks Oct 27, 2020
77b1d90
Restore check for levmaxurbgrnd dim size on restart file
billsacks Oct 27, 2020
f429ac1
Merge pull request #1196 from ESCOMP/wrf_docs
negin513 Oct 27, 2020
61432e0
Restore changes to SoilTemperatureMod.F90.
olyson Oct 28, 2020
0147707
Merge remote-tracking branch 'sacks/nlevurbgrnd' into nlevurbgrnd
olyson Oct 28, 2020
8c6bfdc
Change CISM2%NOEVOLVE compsets to instead use SGLC
billsacks Oct 28, 2020
e3053a3
Fix indentation
billsacks Oct 30, 2020
7fb8b42
Add doc-builder as an optional external
billsacks Oct 30, 2020
3011cb6
Update version of doc-builder
billsacks Oct 30, 2020
8c75ebe
Update version of doc-builder
billsacks Nov 1, 2020
52d931a
Point to updated rtm & mosart tags
billsacks Nov 1, 2020
f75335a
No longer need a specific testmod for the LII test
billsacks Nov 1, 2020
4cdd95f
Remove some comments in the LII2FINIDATAREAS test
billsacks Nov 1, 2020
e350bec
Change the glcMEC_changeFlags test to be more useful
billsacks Nov 1, 2020
dd3a4ee
Remove _gl4 from resolution in tests that no longer use CISM
billsacks Nov 1, 2020
286cb2d
Merge remote-tracking branch 'escomp/master' into no_cism_noevolve
billsacks Nov 1, 2020
a3ced0e
Update ChangeLog
billsacks Nov 2, 2020
916309f
Merge branch 'no_cism_noevolve'
billsacks Nov 2, 2020
09dea6c
Merge branch 'master' into nlevurbgrnd
billsacks Nov 2, 2020
dcb56e8
Remove the snowlayers_3_monthly test
billsacks Nov 2, 2020
cb66f1b
Add a test with nlevgrnd < nlevurb
billsacks Nov 2, 2020
ff839e3
Remove duplicate settings of t_h2osfc_bef
billsacks Nov 2, 2020
60f00d8
Remove unused local variables
billsacks Nov 2, 2020
b5356e8
Change some loops in SoilThermProp for efficiency
billsacks Nov 2, 2020
dce0e99
Add levsoi coordinate variable
billsacks Nov 2, 2020
b0757e7
Update ChangeLog
billsacks Nov 3, 2020
5736c2b
Merge branch 'nlevurbgrnd'
billsacks Nov 3, 2020
9ca4bfe
add anomaly forcing section
swensosc Nov 3, 2020
1df754a
Merge branch 'master' of github.com:ESCOMP/ctsm
swensosc Nov 3, 2020
cd26076
Merge pull request #1204 from swensosc/ctsm-docs
billsacks Nov 3, 2020
13c693d
Merge remote-tracking branch 'escomp/master' into remove_pio_workaround
billsacks Nov 4, 2020
6712d36
Reduce wallclock time for C96 tests
billsacks Nov 4, 2020
6eb4c3c
Change PE counts for C96 and C192 resolutions
billsacks Nov 4, 2020
1153267
Update ChangeLog
billsacks Nov 4, 2020
4cad720
Merge branch 'remove_pio_workaround'
billsacks Nov 4, 2020
17a5067
Merge remote-tracking branch 'escomp/master' into SnowBurialFix
billsacks Nov 5, 2020
129c9ef
Point to cime branch tag
billsacks Nov 5, 2020
e865865
Rely on build_docs to run 'make fetch-images' rather than Makefile rule
billsacks Nov 6, 2020
da62ac9
Update doc-builder
billsacks Nov 6, 2020
d37d834
Add threshold on frac_sno to avoid numerical problems with small elai…
olyson Nov 6, 2020
8004515
Call out the version dropdown menu
billsacks Nov 6, 2020
7ed0c13
Tweak handling of version_label to reduce duplication
billsacks Nov 7, 2020
ba26a06
Tweak "important" call-out
billsacks Nov 7, 2020
dddafcd
Merge branch 'master' into SnowBurialFix
billsacks Nov 7, 2020
0b86ddd
Update ChangeLog
billsacks Nov 7, 2020
622a196
Merge branch 'SnowBurialFix'
billsacks Nov 7, 2020
ffa225c
Write history master fields list to optional file
slevis-lmwg Nov 10, 2020
413b0d0
First few revisions based on @billsacks code review
slevis-lmwg Nov 11, 2020
8337e9a
Back out the new test from cheyenne's test suite
slevis-lmwg Nov 11, 2020
30a5ad8
A few more revisions suggested by @billsacks review
slevis-lmwg Nov 11, 2020
56744ab
more pio2 compatibility changes
jedwards4b Nov 10, 2020
40c68cb
Another fix that I think is needed for pio2
billsacks Nov 12, 2020
aeeb91a
Adding draft of the new table to /user_guide for comment
slevis-lmwg Nov 12, 2020
4a736e8
Add point of interest code for debugging
billsacks Nov 12, 2020
dc4ca72
Add comments to point of interest code
billsacks Nov 12, 2020
c623915
Updated the function call for broadcasting bytes in the file CTSM/src…
sunnivin Nov 12, 2020
1153418
Merge remote-tracking branch 'sunnivin/resolve_issue_1159' into simpl…
billsacks Nov 12, 2020
06246f9
Fix invalid xml
billsacks Nov 12, 2020
1b52ad9
Merge branch 'master' into nuopc_updates
billsacks Nov 12, 2020
5f26ef8
Add mizuRoute external
billsacks Nov 12, 2020
090f2e3
Change shr_pio_getiotype to use 'LND' rather than inst_name
billsacks Nov 12, 2020
17b929b
Restore histFileMod to how it is on master
billsacks Nov 13, 2020
01c36e6
Remove unneeded ncd_pio_syncfile
billsacks Nov 13, 2020
93dc54a
move nuopc share code build to csm_share library
jedwards4b Nov 13, 2020
7470cfb
Update ChangeLog
billsacks Nov 13, 2020
c0bd604
Merge branch 'simple_bfb'
billsacks Nov 13, 2020
f8131bc
Add comments
billsacks Nov 13, 2020
7ddec31
Remove OMP CRITICAL block in clm_ptrs_check
billsacks Nov 13, 2020
56c3746
Remove now-unused local variable
billsacks Nov 13, 2020
07045ff
Update cime
billsacks Nov 13, 2020
c61920a
Remove Externals_cime.cfg
billsacks Nov 13, 2020
5552425
Squashed 'manage_externals/' changes from c33a3bd2a..39ad53263
billsacks Nov 13, 2020
f19b787
Merge commit '555242546213691a00e4ee86725a4d7866e8f03d' into nuopc_up…
billsacks Nov 13, 2020
12b0589
Merge branch 'master' into nuopc_updates
billsacks Nov 13, 2020
67e4e2e
For now, don't set element mask when creating mesh file
Nov 15, 2020
a5f2155
fix issue with inst_name
jedwards4b Nov 16, 2020
451c995
replace LND with inst_name
jedwards4b Nov 16, 2020
e921f5a
Updated comment about table column widths
slevis-lmwg Nov 16, 2020
63338db
Merge tag 'ctsm5.1.dev015' into hist_fields_table
slevis-lmwg Nov 16, 2020
eb14d9d
Merge remote-tracking branch 'jedwards4b/mvertens/feature/nuopc_updat…
billsacks Nov 16, 2020
d1f47de
First draft of updated ChangeLog
slevis-lmwg Nov 16, 2020
bfb1ba8
Updated comment about .rst output
slevis-lmwg Nov 16, 2020
d25da29
Merge branch 'wrf_docs' of github.com:ESCOMP/CTSM into wrf_docs
negin513 Nov 16, 2020
a2ab3ee
Introduce link to master_list_file.rst and add README file
slevis-lmwg Nov 17, 2020
3a2ea60
Minor formatting change in units of a history field
slevis-lmwg Nov 17, 2020
aa228c5
Last commit's formatting chg, now visible in the new .rst file
slevis-lmwg Nov 17, 2020
488dba3
Adding value=.false. also in namelist_definition_ctsm.xml
slevis-lmwg Nov 17, 2020
1a4bdd2
Update ChangeLog
billsacks Nov 17, 2020
7c8450b
Merge branch 'nuopc_updates'
billsacks Nov 17, 2020
ce8070d
Minor format statmt and ChangeLog updates
slevis-lmwg Nov 17, 2020
3e01bc1
Merge tag 'ctsm5.1.dev016' into hist_fields_table
slevis-lmwg Nov 17, 2020
1ca9047
Updated ChangeLog/ChangeSum
slevis-lmwg Nov 18, 2020
40c70bd
Merge remote-tracking branch 'slevisconsulting/hist_fields_table'
billsacks Nov 19, 2020
5bbf089
Fix typo in ChangeLog
billsacks Nov 19, 2020
9549912
Remove findHistFields.pl
billsacks Nov 19, 2020
a7a9fd6
Update doc-builder external
billsacks Nov 20, 2020
a527483
Add ACTIVE (T or F) column to hist fields master table
slevis-lmwg Nov 23, 2020
9a87034
Update troubleshooting chapter in User's Guide for point_of_interest
olyson Nov 24, 2020
b14a3ab
Edit per Bill Sacks
olyson Nov 24, 2020
eb1328b
Merge pull request #1223 from olyson/trouble
billsacks Nov 24, 2020
68da205
Sort history fields master table alphabetically
slevis-lmwg Nov 25, 2020
e9873ad
Committing the alphabetically sorted master_list_file.rst
slevis-lmwg Nov 25, 2020
b806003
Sort history fields using @billsacks code modifications
slevis-lmwg Nov 28, 2020
55df59a
First draft of updated ChangeLog
slevis-lmwg Nov 28, 2020
55956ad
one-way nesting instructions for WRF-CTSM.
negin513 Dec 2, 2020
33cbc7f
Merge branch 'master' of github.com:ESCOMP/CTSM into wrf_docs
negin513 Dec 2, 2020
b9264a0
Merge pull request #1225 from ESCOMP/wrf_docs
negin513 Dec 3, 2020
a29c9c2
Updated ChangeLog and ChangeSum and addition of a comment
slevis-lmwg Dec 8, 2020
c4cf120
Merge remote-tracking branch 'slevisconsulting/hist_fields_table_2'
billsacks Dec 8, 2020
0c4a1d8
Fix ndep from coupler
billsacks Dec 18, 2020
64d6fed
Update ChangeLog
billsacks Dec 19, 2020
300ef71
Merge branch 'fix_ndep_from_cpl'
billsacks Dec 19, 2020
b9b9c21
Preparation for biomass heat storage by rearrnaging terms a bit for d…
ekluzek Dec 29, 2020
94f8223
Merge commit 'b9b9c216' into bhsprep_roffanschange
ekluzek Dec 29, 2020
49b0e9f
Add checks that differences are within roundoff, get it working corre…
ekluzek Dec 29, 2020
eb7bdfe
Add new clm51 compsets with Sp mode, change one test to use it and ad…
ekluzek Dec 29, 2020
501f5f8
Add some more terms to match the full BHS work, increase tolerance to…
ekluzek Dec 29, 2020
e3797fc
Do relative diffs rather than absolute, lower tolerance to 1.e-14, ra…
ekluzek Dec 30, 2020
22fcf15
Remove temporary tests for terms being only different by relative dif…
ekluzek Dec 30, 2020
5dfd628
Correct number of tests
ekluzek Dec 30, 2020
5bb7e59
Work on ChangeLog
ekluzek Dec 30, 2020
f0abdd9
Update changelog
ekluzek Dec 30, 2020
7410b45
Update change files
ekluzek Dec 30, 2020
65a9319
Merge pull request #1241 from ekluzek/bhsprep_roffanschange
ekluzek Dec 30, 2020
341834d
Merge tag 'ctsm5.1.dev020' into fma-merge-ctsm5.1.dev020
glemieux Jan 12, 2021
3dd33b1
simple CNFireArea fix attempt
glemieux Jan 14, 2021
fa0a369
adding missing use calls
glemieux Jan 14, 2021
340f5f2
adding missing abortutils and contain statement
glemieux Jan 14, 2021
bc2bc2f
adding more missing use cases
glemieux Jan 14, 2021
e09dc51
Implement CNFire subroutines to the FATES Fire base class, they are r…
ekluzek Jan 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .config_files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@
<entry_id>

<!-- This is the same as the default entry in
cime/config/cesm/config_files.xml except for the value for clm:
In a standalone clm checkout, COMP_ROOT_DIR_LND is $SRCROOT
cime/config/cesm/config_files.xml except for the value for CTSM:
In a standalone CTSM checkout, COMP_ROOT_DIR_LND is $SRCROOT
rather than $SRCROOT/components/clm.

However, because of the way overrides are handled, we need to
re-specify the full information here rather than just overriding
the value for clm.
the value for CTSM.
-->
<entry id="COMP_ROOT_DIR_LND">
<type>char</type>
<default_value>unset</default_value>
<values>
<value component="clm" >$SRCROOT</value>
<value component="clm" >$SRCROOT</value>
<value component="ctsm" >$SRCROOT</value>
<value component="dlnd" comp_interface="mct">$CIMEROOT/src/components/data_comps_mct/dlnd</value>
<value component="dlnd" comp_interface="nuopc">$CIMEROOT/src/components/cdeps/dlnd</value>
<value component="slnd" >$CIMEROOT/src/components/stub_comps_$COMP_INTERFACE/slnd</value>
Expand Down
16 changes: 4 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ manage_externals.log
/tools/PTCLM/
/cime/
/components/
/doc/doc-builder/

# ignore svn directories
**/.svn/**
Expand Down Expand Up @@ -47,16 +48,6 @@ CMakeFiles/
# unit testing directories
/src/unit_tests.*

# files generated by the unit test build
/src/dyn_subgrid/dynVarMod.F90
/src/dyn_subgrid/dynVarTimeInterpMod.F90
/src/dyn_subgrid/dynVarTimeUninterpMod.F90
/src/utils/array_utils.F90
/src/unit_test_stubs/utils/restUtilMod_stub.F90
/src/unit_test_stubs/main/ncdio_pio_fake.F90
/src/unit_test_stubs/main/ncdio_var.F90
/src/unit_test_shr/unittestArrayMod.F90

# cime_config
buildnmlc

Expand All @@ -72,6 +63,7 @@ buildnmlc
/bld/unit_testers/drv_flds_in*
/bld/unit_testers/temp_file.txt*
/bld/unit_testers/user_nl_clm_real_parameters*
/bld/unit_testers/user_nl_ctsm_real_parameters*
/bld/unit_testers/env_run.xml

# tools testing output
Expand All @@ -86,8 +78,8 @@ surfdata_*.namelist
landuse.timeseries_*.namelist
landuse.timeseries_*.log
landuse_timeseries_*.txt
clm.input_data_list
clm.input_data_list.previous
ctsm.input_data_list
ctsm.input_data_list.previous
*.stdout.txt.o*

# mksurfdata unit tests
Expand Down
36 changes: 28 additions & 8 deletions Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,51 @@ required = True
local_path = components/rtm
protocol = git
repo_url = https://github.com/ESCOMP/RTM
tag = rtm1_0_72
tag = rtm1_0_73
required = True

[mosart]
local_path = components/mosart
protocol = git
repo_url = https://github.com/ESCOMP/MOSART
tag = mosart1_0_37
tag = mosart1_0_38
required = True

[cdeps]
hash = 45b7a85
[mizuRoute]
local_path = components/mizuRoute
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
local_path = components/cdeps
repo_url = https://github.com/nmizukami/mizuRoute
hash = 34723c2
required = True

[cime]
local_path = cime
protocol = git
repo_url = https://github.com/ESMCI/cime
tag = cime5.8.32
externals = ../Externals_cime.cfg
tag = branch_tags/cime5.8.32_a02
required = True

[cmeps]
local_path = cime/src/drivers/nuopc/
protocol = git
repo_url = https://github.com/ESCOMP/CMEPS.git
hash = 7654038
required = True

[cdeps]
local_path = components/cdeps
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
hash = 45b7a85
required = True

[doc-builder]
local_path = doc/doc-builder
protocol = git
repo_url = https://github.com/ESMCI/doc-builder
tag = v1.0.5
required = False

[externals_description]
schema_version = 1.0.0

9 changes: 0 additions & 9 deletions Externals_cime.cfg

This file was deleted.

104 changes: 83 additions & 21 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1010,24 +1010,6 @@ sub setup_cmdl_maxpft {
}
$nl_flags->{'maxpft'} = $val;

$var = "maxpatch_pft";
my $group = $definition->get_group_name($var);
if ( ! defined($nl->get_variable_value($group, $var)) ) {
$val = $nl_flags->{'maxpft'};
$nl->set_variable_value($group, $var, $val);
}
$val = $nl->get_variable_value($group, $var);
my @valid_values = ($maxpatchpft{'.true.'}, $maxpatchpft{'.false.'} );
my $found = 0;
foreach my $valid_val ( @valid_values ) {
if ( $val == $valid_val ) {
$found = 1;
last;
}
}
if ( ! $found ) {
$log->warning("$var has a value ($val) that is normally NOT valid. Normal valid values are: @valid_values");
}
}

#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -1488,7 +1470,7 @@ sub process_namelist_inline_logic {
##############################
# namelist group: clm_inparm #
##############################
setup_logic_site_specific($nl_flags, $definition, $nl);
setup_logic_site_specific($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_lnd_frac($opts, $nl_flags, $definition, $defaults, $nl, $envxml_ref);
setup_logic_co2_type($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_irrigate($opts, $nl_flags, $definition, $defaults, $nl);
Expand Down Expand Up @@ -1516,6 +1498,7 @@ sub process_namelist_inline_logic {
setup_logic_supplemental_nitrogen($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_snowpack($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_fates($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_misc($opts, $nl_flags, $definition, $defaults, $nl);

#########################################
# namelist group: atm2lnd_inparm
Expand Down Expand Up @@ -1717,7 +1700,7 @@ sub process_namelist_inline_logic {

sub setup_logic_site_specific {
# site specific requirements
my ($nl_flags, $definition, $nl) = @_;
my ($opts, $nl_flags, $definition, $defaults, $nl, $physv) = @_;

# res check prevents polluting the namelist with an unnecessary
# false variable for every run
Expand Down Expand Up @@ -1748,6 +1731,9 @@ sub setup_logic_site_specific {
$log->fatal_error("1x1_numaIA grids must use a compset with CN and CROP turned on.");
}
}
# Set compname
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'compname',
'phys'=>$nl_flags->{'phys'} );
}

#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -2378,6 +2364,7 @@ sub setup_logic_dynamic_subgrid {

setup_logic_do_transient_pfts($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_do_transient_crops($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_do_transient_lakes($opts, $nl_flags, $definition, $defaults, $nl);
setup_logic_do_harvest($opts, $nl_flags, $definition, $defaults, $nl);

add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'reset_dynbal_baselines');
Expand Down Expand Up @@ -2543,6 +2530,69 @@ sub setup_logic_do_transient_crops {
}
}

sub setup_logic_do_transient_lakes {
#
# Set do_transient_lakes default value, and perform error checking on do_transient_lakes
#
# Assumes the following are already set in the namelist (although it's okay
# for them to be unset if that will be their final state):
# - flanduse_timeseries
#
# NOTE(wjs, 2020-08-23) I based this function on setup_logic_do_transient_crops. I'm
# not sure if all of the checks here are truly important for transient lakes (in
# particular, my guess is that collapse_urban could probably be done with transient
# lakes - as well as transient pfts and transient crops for that matter), but some of
# the checks probably are needed, and it seems best to keep transient lakes consistent
# with other transient areas in this respect.
my ($opts, $nl_flags, $definition, $defaults, $nl) = @_;

my $var = 'do_transient_lakes';

# cannot_be_true will be set to a non-empty string in any case where
# do_transient_lakes should not be true; if it turns out that
# do_transient_lakes IS true in any of these cases, a fatal error will be
# generated
my $cannot_be_true = "";

my $n_dom_pfts = $nl->get_value( 'n_dom_pfts' );
my $n_dom_landunits = $nl->get_value( 'n_dom_landunits' );
my $toosmall_soil = $nl->get_value( 'toosmall_soil' );
my $toosmall_crop = $nl->get_value( 'toosmall_crop' );
my $toosmall_glacier = $nl->get_value( 'toosmall_glacier' );
my $toosmall_lake = $nl->get_value( 'toosmall_lake' );
my $toosmall_wetland = $nl->get_value( 'toosmall_wetland' );
my $toosmall_urban = $nl->get_value( 'toosmall_urban' );

if (string_is_undef_or_empty($nl->get_value('flanduse_timeseries'))) {
$cannot_be_true = "$var can only be set to true when running a transient case (flanduse_timeseries non-blank)";
}

if (!$cannot_be_true) {
# Note that, if the variable cannot be true, we don't call add_default
# - so that we don't clutter up the namelist with variables that don't
# matter for this case
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, $var);
}

# Make sure the value is false when it needs to be false - i.e., that the
# user hasn't tried to set a true value at an inappropriate time.

if (&value_is_true($nl->get_value($var)) && $cannot_be_true) {
$log->fatal_error($cannot_be_true);
}

# if do_transient_lakes is .true. and any of these (n_dom_* or toosmall_*)
# are > 0 or collapse_urban = .true., then give fatal error
if (&value_is_true($nl->get_value($var))) {
if (&value_is_true($nl->get_value('collapse_urban'))) {
$log->fatal_error("$var cannot be combined with collapse_urban");
}
if ($n_dom_pfts > 0 || $n_dom_landunits > 0 || $toosmall_soil > 0 || $toosmall_crop > 0 || $toosmall_glacier > 0 || $toosmall_lake > 0 || $toosmall_wetland > 0 || $toosmall_urban > 0) {
$log->fatal_error("$var cannot be combined with any of the of the following > 0: n_dom_pfts > 0, n_dom_landunit > 0, toosmall_soil > 0._r8, toosmall_crop > 0._r8, toosmall_glacier > 0._r8, toosmall_lake > 0._r8, toosmall_wetland > 0._r8, toosmall_urban > 0._r8");
}
}
}

sub setup_logic_do_harvest {
#
# Set do_harvest default value, and perform error checking on do_harvest
Expand Down Expand Up @@ -3420,7 +3470,7 @@ sub setup_logic_megan {
#-------------------------------------------------------------------------------

sub setup_logic_soilm_streams {
# prescribed soil moisture streams require clm4_5/clm5_0
# prescribed soil moisture streams require clm4_5/clm5_0/clm5_1
my ($opts, $nl_flags, $definition, $defaults, $nl, $physv) = @_;

add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'use_soil_moisture_streams');
Expand Down Expand Up @@ -3833,6 +3883,18 @@ sub setup_logic_fates {

#-------------------------------------------------------------------------------

sub setup_logic_misc {
#
# Set some misc options
#
my ($opts, $nl_flags, $definition, $defaults, $nl) = @_;

add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'for_testing_run_ncdiopio_tests');
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'hist_master_list_file');
}

#-------------------------------------------------------------------------------

sub write_output_files {
my ($opts, $nl_flags, $defaults, $nl) = @_;

Expand Down
6 changes: 3 additions & 3 deletions bld/config_files/clm_phys_vers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use bigint;
#use warnings;
#use diagnostics;

my @version_strings = ("clm4_5", "clm5_0");
my @version_strings = ("clm4_5", "clm5_0", "clm5_1");

#-------------------------------------------------------------------------------

Expand Down Expand Up @@ -83,12 +83,12 @@ if ( ! defined(caller) && $#ARGV == -1 ) {
require Test::More;
Test::More->import( );

plan( tests=>2 );
plan( tests=>3 );

sub testit {
print "unit tester\n";
my %lastv;
my @vers_list = ( "clm4_5", "clm5_0" );
my @vers_list = ( "clm4_5", "clm5_0", "clm5_1" );
foreach my $vers ( @vers_list ) {
my $phys = config_files::clm_phys_vers->new($vers);
isa_ok($phys, "config_files::clm_phys_vers", "created clm_phys_vers object");
Expand Down
4 changes: 2 additions & 2 deletions bld/config_files/config_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<config_definition>

<entry id="phys"
valid_values="clm4_5,clm5_0"
valid_values="clm4_5,clm5_0,clm5_1"
value="clm4_5"
category="physics">
Specifies either clm4_5 or clm5_0 physics
Specifies either clm4_5, clm5_0, or clm5_1 physics
</entry>

<entry id="clm_root"
Expand Down
2 changes: 1 addition & 1 deletion bld/listDefaultNamelist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sub make_config_cache {
<?xml version="1.0"?>
<config_definition>
<commandline></commandline>
<entry id="phys" value="$phys" list="" valid_values="clm4_5,clm5_0">Specifies clm physics</entry>
<entry id="phys" value="$phys" list="" valid_values="clm4_5,clm5_0,clm5_1">Specifies clm physics</entry>
</config_definition>
EOF
$fh->close();
Expand Down
Loading