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

Testing cleanup from the cesm3_0_beta03/04 "chill" tags for cesm3_0_beta05 #2888

Merged
merged 149 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 144 commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
98404d8
added polarcap support for cesm3 release
adamrher Aug 20, 2024
53ea29c
Add init_interp_attributes for clm5_0_cam6.0 to namelist_defaults
slevis-lmwg Oct 2, 2024
711405e
Remove clm51 references from /cime_config
slevis-lmwg Oct 2, 2024
89654cc
Remove clm51 references from /bld
slevis-lmwg Oct 2, 2024
7b0aa84
Remove clm51 references from /doc
slevis-lmwg Oct 2, 2024
76bcadf
Remove clm51 references from /lilac
slevis-lmwg Oct 2, 2024
39cb1eb
Remove clm51 references from /python
slevis-lmwg Oct 2, 2024
12bcee7
Update $ntests in build-namelist_test.pl
slevis-lmwg Oct 2, 2024
726af13
Merge branch 'cesm3_0_beta04_changes' into clm51_to_60
slevis-lmwg Oct 7, 2024
dff408b
5.1 to 6.0 correction recommended by Erik
slevis-lmwg Oct 8, 2024
9c9bdca
Fix single-point matrix fails
slevis-lmwg Oct 16, 2024
1fd28b5
Add CONUS flanduse_timeseries for sim_year_range="1850-2000"
slevis-lmwg Oct 16, 2024
c0ccf81
Update namelist_defaults with PPE's 16-pft f19 fsurdat/landuse files
slevis-lmwg Oct 16, 2024
1bd3b45
Clean-up: Rm deprecated use_vichydro=.true. or .false. options
slevis-lmwg Oct 16, 2024
29eb50a
Add PPE's 16-pft f19 fsurdat/landuse generation to Makefile
slevis-lmwg Oct 16, 2024
cf767a9
Add 20thC test to build-namelist_test.pl and update defaults accordingly
slevis-lmwg Oct 17, 2024
5dd623d
Add f19 20thC -no-crop test to build-namelist_test
slevis-lmwg Oct 17, 2024
fc3e5de
Similar changes as for CONUS, now for the ARCTIC grid
slevis-lmwg Oct 17, 2024
e35ba5a
Small correction to build-namelist_test.pl
slevis-lmwg Oct 17, 2024
b6a5186
Add ctsm_sci tests for the VR grids and aux_clm test for f19
slevis-lmwg Oct 17, 2024
41359b7
Adding 3 clm50cam7LNdTuningMode* testmods_dirs for the new tests
slevis-lmwg Oct 17, 2024
6cb4975
Add comments about using Clm50 in testlist
slevis-lmwg Oct 21, 2024
d473721
Add the ARCTICGRIS & POLARCAP VR grids as I added ARCTIC & CONUS before
slevis-lmwg Oct 22, 2024
250451a
Merge tag 'ctsm5.3.009' into cesm3_0_beta04_changes
slevis-lmwg Oct 22, 2024
6d9ee4a
Add init_interp_attributes for clm5_0_cam6.0 to namelist_defaults
slevis-lmwg Oct 2, 2024
f46c648
Add CONUS flanduse_timeseries for sim_year_range="1850-2000"
slevis-lmwg Oct 16, 2024
cf97b53
Add 20thC test to build-namelist_test.pl and update defaults accordingly
slevis-lmwg Oct 17, 2024
367c7bc
Add f19 20thC -no-crop test to build-namelist_test
slevis-lmwg Oct 17, 2024
a988ccd
Similar changes as for CONUS, now for the ARCTIC grid
slevis-lmwg Oct 17, 2024
9ec8746
Small correction to build-namelist_test.pl
slevis-lmwg Oct 17, 2024
1face61
Add ctsm_sci tests for the VR grids and aux_clm test for f19
slevis-lmwg Oct 17, 2024
8557a04
Adding 3 clm50cam7LNdTuningMode* testmods_dirs for the new tests
slevis-lmwg Oct 17, 2024
76d336a
Add comments about using Clm50 in testlist
slevis-lmwg Oct 21, 2024
e90189d
Add the ARCTICGRIS & POLARCAP VR grids as I added ARCTIC & CONUS before
slevis-lmwg Oct 22, 2024
46c3cbd
Merge remote-tracking branch 'slevis-lmwg/fix_failing_ne0CONUS_tests'…
slevis-lmwg Oct 22, 2024
2bcf44e
Correction from a conflict during the rebase and/or merges
slevis-lmwg Oct 22, 2024
b766fc0
Second correction from conflict during the rebase and/or merges
slevis-lmwg Oct 22, 2024
28abb6f
Third correction
slevis-lmwg Oct 22, 2024
9a569ec
Corrections for certain tests to pass
slevis-lmwg Oct 22, 2024
bae4c64
Change 4 Sp tests from nofire to nofireemis so that they will pass
slevis-lmwg Oct 22, 2024
932337a
Update ExpectedTestFails.xml regarding urbanc_alpha test
slevis-lmwg Oct 22, 2024
9c05576
Merge pull request #2805 from slevis-lmwg/fix_failing_ne0CONUS_tests
slevis-lmwg Oct 22, 2024
f673b5d
Merge branch 'cesm3_0_beta04_changes' into clm51_to_60
slevis-lmwg Oct 22, 2024
04ed153
Updates from Erik's code review and testing
slevis-lmwg Oct 22, 2024
6692613
Syntax error correction in ExpectedTestFails.xml
slevis-lmwg Oct 22, 2024
eed612a
Fix single-point matrix fails
slevis-lmwg Oct 16, 2024
657e24c
Merge remote-tracking branch 'slevis-lmwg/fix_1x1_matrix_fails' into …
slevis-lmwg Oct 22, 2024
0a39543
Two more ASSERT statments changed from > to >=
slevis-lmwg Oct 22, 2024
16e634d
Remove #2780 tests from ExpectedTestFails.xml
slevis-lmwg Oct 23, 2024
20895d8
Update namelist_defaults with PPE's 16-pft f19 fsurdat/landuse files
slevis-lmwg Oct 16, 2024
f64ce65
Clean-up: Rm deprecated use_vichydro=.true. or .false. options
slevis-lmwg Oct 16, 2024
992239c
Add PPE's 16-pft f19 fsurdat/landuse generation to Makefile
slevis-lmwg Oct 16, 2024
102016f
Merge remote-tracking branch 'slevis-lmwg/f19_16pft_to_defaults_and_m…
slevis-lmwg Oct 23, 2024
89befd3
Revert bae4c64 to change 4 -nofireemis ctsm_sci tests back to -nofire
slevis-lmwg Oct 24, 2024
8a019d9
Merge pull request #2808 from slevis-lmwg/clm51_to_60
slevis-lmwg Oct 24, 2024
ef95e93
Merge branch 'cesm3_0_beta04_changes' into f19_16pft_to_defaults_and_…
slevis-lmwg Oct 24, 2024
b84a9c6
Update namelist_defaults for 4x5 as I did before for f19
slevis-lmwg Oct 24, 2024
7b92fc4
Add f45 16pft file generation to mksurfdata_esmf's Makefile
slevis-lmwg Oct 25, 2024
cdbc561
Add f45 16pft fates test to build-namelist_test.pl
slevis-lmwg Oct 25, 2024
c35b64e
Merge pull request #2834 from slevis-lmwg/f19_16pft_to_defaults_and_m…
slevis-lmwg Oct 25, 2024
cde3b24
added polarcap support for cesm3 release
adamrher Aug 20, 2024
218865d
Merge remote-tracking branch 'adamrher/ctsm.polarcap' into ctsm.polarcap
slevis-lmwg Oct 28, 2024
5ad106e
Remove clm50 physics support for the POLARCAP grid
slevis-lmwg Oct 28, 2024
7a9eb2c
Rm clm50 test from build-namelist_test; correct syntax error in xml file
slevis-lmwg Oct 28, 2024
a7ef2e5
Rm clm50 test from ctsm_sci test-suite
slevis-lmwg Oct 28, 2024
237b114
Correction to failure phase for four tests in ExpectedTestFails
slevis-lmwg Oct 29, 2024
db72132
Putting back code lost in updates, used in #2805 for tests to pass
slevis-lmwg Oct 29, 2024
721ce0e
Get the PF UNIT tests working using the full ESMF library which also …
ekluzek Oct 30, 2024
31070e6
Update submodules to something towards cesm3_0_alpha04a with cime upd…
ekluzek Oct 30, 2024
4a3a6d7
Merge branch 'cesm3_0_beta04_changes' of github.com:ESCOMP/CTSM into …
ekluzek Oct 30, 2024
326d8dd
Match cesm3_0_alpha04a submodules closer, move ccs_config back one, a…
ekluzek Oct 30, 2024
c3a4d8b
Update git submodule directories
ekluzek Oct 30, 2024
c0d4080
Delete mct as no longer needed
ekluzek Oct 30, 2024
d7cb182
Update ccs_config as required for the build with this version of cime
ekluzek Oct 30, 2024
f472f6d
Remove commented out code and log message and add some comments about…
ekluzek Oct 30, 2024
4d8f308
Merge pull request #2716 from adamrher/ctsm.polarcap
slevis-lmwg Oct 30, 2024
073e742
fsurdat file needed for NEON MOAB PRISM test
slevis-lmwg Oct 31, 2024
1c60312
CIME update at cime6.1.11 requires moving CIME.utils append_testlog t…
ekluzek Nov 1, 2024
94dccba
Add a comment to note that MCTID is just the component ID number
ekluzek Nov 1, 2024
ae600d5
Add test for valid driver option
ekluzek Nov 2, 2024
d38b3a5
Some adjustments to make lilac clearer, also add checking for an inva…
ekluzek Nov 2, 2024
eba0edb
Merge remote-tracking branch 'escomp/cesm3_0_beta04_changes' into ces…
ekluzek Nov 2, 2024
933abae
Update ccs_config
ekluzek Nov 2, 2024
ed27a50
Merge commit '933abaeac' into cesm30b04submodules
ekluzek Nov 2, 2024
d2cadec
Merge pull request #2855 from slevis-lmwg/moab_prism_fsurdat
slevis-lmwg Nov 6, 2024
38f11c2
Update mpi-serial to version that builds on Izumi
ekluzek Nov 6, 2024
a4c3ab2
Merge branch 'cesm3_0_beta04_changes' into fix_1x1_matrix_fails
slevis-lmwg Nov 8, 2024
3d811ca
Merge pull request #2840 from slevis-lmwg/fix_1x1_matrix_fails
slevis-lmwg Nov 8, 2024
2a6348f
A fix for mpi-serial on Izumi from Jim with an update in ccs_config
ekluzek Nov 8, 2024
be3257c
Merge remote-tracking branch 'escomp/cesm3_0_beta04_changes' into ces…
ekluzek Nov 9, 2024
cde0ab1
Merge branch 'cesm30b04submodules' of github.com:ekluzek/CTSM into ce…
ekluzek Nov 9, 2024
8402d31
Merge tag 'ctsm5.3.012' into beta05_cleanup_2_5313
ekluzek Nov 17, 2024
8e31637
Merge pull request #2883 from ekluzek/beta05_cleanup_2_5313
ekluzek Nov 17, 2024
6c87b4e
Remove month length from ER tests fixing #2871
ekluzek Nov 18, 2024
41ced6c
Merge remote-tracking branch 'escomp/cesm3_0_beta04_changes' into ces…
ekluzek Nov 18, 2024
8d02a9b
Add another expected fail
ekluzek Nov 18, 2024
c52768e
Merge branch 'cesm30b04submodules' of github.com:ekluzek/CTSM into ce…
ekluzek Nov 18, 2024
16459da
Change some 13 month tests to 397 in case it's Gregorian for 2000 yea…
ekluzek Nov 18, 2024
9fb9da2
Remove the izumi nag mpi-serial expected fails
ekluzek Nov 19, 2024
7f859f2
Change C96 grids to use the mt232 ocean mask
ekluzek Nov 19, 2024
d36049e
Switch some tests from nofire to nofireemis testmod
ekluzek Nov 19, 2024
bd8f818
Merge branch 'cesm30b04submodules' of github.com:ekluzek/CTSM into ce…
ekluzek Nov 19, 2024
89fdd78
Revert "Switch some tests from nofire to nofireemis testmod"
ekluzek Nov 19, 2024
7f57331
Fix SP nofire tests
ekluzek Nov 19, 2024
12c5f56
Fix 36 year tests that should have been 3
ekluzek Nov 19, 2024
89bbdbc
fix (namelist-tester): Run CAM special tests for clm6_0 and get working
ekluzek Nov 20, 2024
1de46e3
change (tests): change some of the ER tests that were changed to leng…
ekluzek Nov 21, 2024
b8a59c3
Merge pull request #2853 from ekluzek/cesm30b04submodules
ekluzek Nov 21, 2024
770fc1f
update (submodules): ccs_config directory
ekluzek Nov 21, 2024
41ac44e
fix(testslist): Last ER monthly test to convert
ekluzek Nov 21, 2024
a3c7ef8
Merge commit '41ac44e63d4c6210eacfef1671118076fb698cad' into cesm3_0_…
ekluzek Nov 21, 2024
46c5ee1
fix (fatest Landuse test): Get the FatesColdLandUse test working by u…
ekluzek Nov 21, 2024
26821d8
Add FatesSetupParamBuild to the testmods that will make FATES paramet…
ekluzek Nov 22, 2024
1a30a2a
fix (build-namelist): Remove the check for file existance so that bui…
ekluzek Nov 22, 2024
a9b02b7
Comment out the use-case setting, just make sure the compset used for…
ekluzek Nov 22, 2024
9b7f94a
refactor (FATES param build test): Make a function to make checking f…
ekluzek Nov 23, 2024
6ea3f59
Add another level to the testmod includes, so that the FatesSetupBuil…
ekluzek Nov 23, 2024
0fbb17f
fix (FATES tests): Add FatesSetupParamBuild to the FATES tests that r…
ekluzek Nov 23, 2024
8dc6726
Merge tag 'ctsm5.3.013' into cesm3_0_beta04_changes
ekluzek Nov 26, 2024
b566565
Change 15 day ER tests to 20 day tests as this version of cime no lon…
ekluzek Nov 27, 2024
874ee39
Pipe errors to stdout
ekluzek Nov 27, 2024
82ba004
fix (FatesParamfileSetup): get it working again correctly
ekluzek Dec 1, 2024
4686632
Remove some unneeded debug log statements
ekluzek Dec 1, 2024
8f72cd6
add (user mode testing): add a beginning of a simple bash unit tester…
ekluzek Dec 1, 2024
5aef052
Add title and list files
ekluzek Dec 1, 2024
41d0bc4
Add fatal_error function to print error and exit, that allows it to n…
ekluzek Dec 2, 2024
d85fea0
Add functions for expected fail and expected pass and break up tests …
ekluzek Dec 2, 2024
172236c
Function for conda load/unload
ekluzek Dec 2, 2024
242a55f
Fix bug in input to conda_for_host and add izumi handling
ekluzek Dec 2, 2024
edb0513
Update Change files
ekluzek Dec 2, 2024
38598da
Make sure return codes are sent on return statements for exit conditi…
ekluzek Dec 2, 2024
d3f6abd
Add check to run without conda and make sure it reports as a graceful…
ekluzek Dec 2, 2024
12e5fd4
add(shell_commands unittester): add test that works without ctsm_pyli…
ekluzek Dec 2, 2024
1a352be
Merge branch 'cesm3_0_beta04_changes' of github.com:ESCOMP/CTSM into …
ekluzek Dec 2, 2024
1556914
comment(build-namelist): Add a comment to address a code review point
ekluzek Dec 2, 2024
7d25f69
Small changes for working on Izumi, mention that NOT failing without …
ekluzek Dec 2, 2024
7bfbc1b
Merge branch 'cesm3_0_beta04_changes' of github.com:ESCOMP/CTSM into …
ekluzek Dec 2, 2024
be647bf
correct(expected fails): Change 15 day tests to 20
ekluzek Dec 3, 2024
614dd18
Merge branch 'cesm3_0_beta04_changes' of github.com:ESCOMP/CTSM into …
ekluzek Dec 3, 2024
b559010
Change expected fail from BUILD to RUN phase
ekluzek Dec 3, 2024
4ac6ae9
Merge branch 'cesm3_0_beta04_changes' of github.com:ESCOMP/CTSM into …
ekluzek Dec 3, 2024
d41901d
Using Ld761 fails with an XML error, so change to Ld765
ekluzek Dec 3, 2024
ce380e2
review correction from slevis
ekluzek Dec 3, 2024
d9c0ade
Clarification in ChangeLog from slevis in code review
ekluzek Dec 3, 2024
cc3f2d5
Update ChangeLog with suggestions from slevis from review, and update…
ekluzek Dec 3, 2024
230e65a
remove(doc): remove file accisdentally committed
ekluzek Dec 3, 2024
f731196
Merge remote-tracking branch 'escomp/master' into cesm3_0_beta04_changes
ekluzek Dec 3, 2024
ae4f78f
Update the number of tests for comparison
ekluzek Dec 3, 2024
cfdac04
Final update of ChangeLog
ekluzek Dec 3, 2024
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
30 changes: 15 additions & 15 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -60,67 +60,67 @@ fxDONOTUSEurl = https://github.com/ESCOMP/MOSART
[submodule "mizuRoute"]
path = components/mizuRoute
url = https://github.com/ESCOMP/mizuRoute
fxtag = cesm-coupling.n02_v2.1.2
fxtag = cesm-coupling.n02_v2.1.3
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESCOMP/mizuRoute

[submodule "ccs_config"]
path = ccs_config
url = https://github.com/ESMCI/ccs_config_cesm.git
fxtag = ccs_config_cesm1.0.0
fxtag = ccs_config_cesm1.0.10
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESMCI/ccs_config_cesm.git

[submodule "cime"]
path = cime
url = https://github.com/ESMCI/cime
fxtag = cime6.0.246
fxtag = cime6.1.37
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESMCI/cime

[submodule "cmeps"]
path = components/cmeps
url = https://github.com/ESCOMP/CMEPS.git
fxtag = cmeps0.14.77
fxtag = cmeps1.0.16
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git

[submodule "cdeps"]
path = components/cdeps
url = https://github.com/ESCOMP/CDEPS.git
fxtag = cdeps1.0.48
fxtag = cdeps1.0.53
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git

[submodule "share"]
path = share
url = https://github.com/ESCOMP/CESM_share
fxtag = share1.0.19
fxtag = share1.1.2
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESCOMP/CESM_share

[submodule "mct"]
path = libraries/mct
url = https://github.com/MCSclimate/MCT
fxtag = MCT_2.11.0
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/MCSclimate/MCT

[submodule "parallelio"]
path = libraries/parallelio
url = https://github.com/NCAR/ParallelIO
fxtag = pio2_6_2
fxtag = pio2_6_3
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/NCAR/ParallelIO

[submodule "mpi-serial"]
path = libraries/mpi-serial
url = https://github.com/ESMCI/mpi-serial
fxtag = MPIserial_2.5.1
fxrequired = ToplevelRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESMCI/mpi-serial

[submodule "doc-builder"]
path = doc/doc-builder
url = https://github.com/ESMCI/doc-builder
Expand Down
38 changes: 22 additions & 16 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ REQUIRED OPTIONS
(if read they allow user_nl_clm and CLM_BLDNML_OPTS to expand
variables [for example to use \$DIN_LOC_ROOT])
(default current directory)
-lnd_frac "domainfile" Land fraction file (the input domain file) (needed for LILAC)
-lnd_frac "domainfile" Land fraction file (the input domain file) (only needed with --lilac option)
-res "resolution" Specify horizontal grid. Use nlatxnlon for spectral grids;
dlatxdlon for fv grids (dlat and dlon are the grid cell size
in degrees for latitude and longitude respectively)
Expand Down Expand Up @@ -678,6 +678,18 @@ sub setup_cmdl_chk_res {
}
}

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

sub begins_with
{
slevis-lmwg marked this conversation as resolved.
Show resolved Hide resolved
# Arguments: long-string, substring
# For an input long-string check if it starts with the substring
# For example, if a string like NEON_PRISM starts with NEON
return substr($_[0], 0, length($_[1])) eq $_[1];
}

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

sub setup_cmdl_resolution {
my ($opts, $nl_flags, $definition, $defaults, $envxml_ref) = @_;

Expand Down Expand Up @@ -713,7 +725,7 @@ sub setup_cmdl_resolution {
$nl_flags->{'neon'} = ".false.";
$nl_flags->{'neonsite'} = "";
if ( $nl_flags->{'res'} eq "CLM_USRDAT" ) {
if ( $opts->{'clm_usr_name'} eq "NEON" ) {
if ( begins_with($opts->{'clm_usr_name'}, "NEON") ) {
$nl_flags->{'neon'} = ".true.";
$nl_flags->{'neonsite'} = $envxml_ref->{'NEONSITE'};
$log->verbose_message( "This is a NEON site with NEONSITE = " . $nl_flags->{'neonsite'} );
Expand Down Expand Up @@ -1989,7 +2001,7 @@ sub setup_logic_lnd_frac {
"env variables) AND fatmlndfrac on namelist");
}
if ( $opts->{$var} =~ /UNSET/ ) {
$log->fatal_error("-lnd_frac was set as UNSET in the CTSM build-namelist set it with the env variables: LND_DOMAIN_PATH/LND_DOMAIN_FILE.");
$log->fatal_error("-lnd_frac was set as UNSET in the CTSM build-namelist, it's required with the --lilac option");
}
my $lnd_frac = SetupTools::expand_xml_var( $opts->{$var}, $envxml_ref);
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'fatmlndfrc','val'=>$lnd_frac );
Expand All @@ -1999,20 +2011,22 @@ sub setup_logic_lnd_frac {
if (defined $nl->get_value('fatmlndfrc')) {
# do nothing - use value provided by config_grid.xml and clm.cpl7.template
} else {
$log->fatal_error("fatmlndfrc was NOT sent into CLM build-namelist.");
$log->fatal_error("fatmlndfrc was NOT sent into CLM build-namelist, it is required for the --lilac option.");
}
#
# For the NUOPC driver neither lnd_frac nor fatmlndfrc need to be set
#
} else {
} elsif ($opts->{'driver'} eq "nuopc" ) {
if ( defined($opts->{$var}) ) {
if ( $opts->{$var} !~ /UNSET/ ) {
$log->fatal_error("$var should NOT be set for the NUOPC driver as it is unused" );
$log->fatal_error("$var should NOT be set for the NUOPC driver as it is unused (only used by the --lilac option)" );
}
}
if ( defined($nl->get_value('fatmlndfrc')) ) {
$log->fatal_error("fatmlndfrac should NOT be set in the namelist for the NUOPC driver as it is unused" );
}
} else {
$log->fatal_error("Input --driver type of $opts->{'driver'} is an invalid option. Correct this in xml variable COMP_iINTERFACE in your case" );
}
}

Expand Down Expand Up @@ -2113,7 +2127,7 @@ sub setup_logic_roughness_methods {
my $phys = $physv->as_string();
if ( $phys eq "clm4_5" || $phys eq "clm5_0" ) {
if ( $var eq "Meier2022" ) {
$log->fatal_error("z0param_method = $var and phys = $phys, but this method has been tested only with clm5_1 and later versions; to use with earlier versions, disable this error, and add Meier2022 parameters to the corresponding params file");
$log->fatal_error("z0param_method = $var and phys = $phys, but this method has been tested only with clm6_0 and later versions; to use with earlier versions, disable this error, and add Meier2022 parameters to the corresponding params file");
}
}
}
Expand Down Expand Up @@ -2757,7 +2771,7 @@ SIMYR: foreach my $sim_yr ( @sim_years ) {
# this check has to be here and not earlier since use_init_interp is set here and hillslope is already set above in setup_logic_hillslope
if ( &value_is_true($nl->get_value($useinitvar)) && value_is_true($nl->get_value("use_hillslope")) ) {
$log->warning("WARNING: You have set use_hillslope while $useinitvar is TRUE.\n This means all hillslope columns in a gridcell will read identical values from initial conditions, even if the initial conditions (finidat) file has hillslope information. If you are sure you want this behaviour, add -ignore_warnings to CLM_BLDNML_OPTS.")
}
}

} # end initial conditions

Expand Down Expand Up @@ -4751,8 +4765,6 @@ sub setup_logic_fates {
my $fname = remove_leading_and_trailing_quotes( $nl->get_value($var) );
if ( ! defined($nl->get_value($var)) ) {
$log->fatal_error("$var is required when use_fates_inventory_init is set" );
} elsif ( ! -f "$fname" ) {
ekluzek marked this conversation as resolved.
Show resolved Hide resolved
$log->fatal_error("$fname does NOT point to a valid filename" );
}
}
}
Expand Down Expand Up @@ -4783,8 +4795,6 @@ sub setup_logic_fates {
my $fname = remove_leading_and_trailing_quotes( $nl->get_value($var) );
if ( ! defined($nl->get_value($var)) ) {
$log->fatal_error("$var is required when use_fates_luh is set and use_fates_potentialveg is false" );
} elsif ( ! -f "$fname" ) {
$log->fatal_error("$var does NOT point to a valid filename" );
}
}
}
Expand All @@ -4797,8 +4807,6 @@ sub setup_logic_fates {
my $fname = remove_leading_and_trailing_quotes( $nl->get_value($var) );
if ( ! defined($nl->get_value($var)) ) {
$log->fatal_error("$var is required when use_fates_luh and use_fates_fixed_biogeog is set" );
} elsif ( ! -f "$fname" ) {
$log->fatal_error("$var does NOT point to a valid filename" );
}
}
}
Expand Down Expand Up @@ -4840,8 +4848,6 @@ sub setup_logic_fates {
my $fname = remove_leading_and_trailing_quotes( $nl->get_value($var) );
if ( ! defined($nl->get_value($var)) ) {
$log->fatal_error("$var is required when fates_harvest_mode is landuse_timeseries" );
} elsif ( ! -f "$fname" ) {
$log->fatal_error("$var does NOT point to a valid filename" );
}
}
}
Expand Down
4 changes: 2 additions & 2 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", "clm5_1", "clm6_0");
my @version_strings = ("clm4_5", "clm5_0", "clm6_0");

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

Expand Down Expand Up @@ -88,7 +88,7 @@ if ( ! defined(caller) && $#ARGV == -1 ) {
sub testit {
print "unit tester\n";
my %lastv;
my @vers_list = ( "clm4_5", "clm5_0", "clm5_1", "clm6_0" );
my @vers_list = ( "clm4_5", "clm5_0", "clm6_0" );
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,clm5_1,clm6_0"
valid_values="clm4_5,clm5_0,clm6_0"
value="clm4_5"
category="physics">
Specifies either clm4_5, clm5_0, clm5_1 (deprecated), or clm6_0 physics
Specifies either clm4_5, clm5_0, or clm6_0 physics
</entry>

<entry id="clm_root"
Expand Down
Loading
Loading