-
Notifications
You must be signed in to change notification settings - Fork 319
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
Workaround for transient Smallville tests #1673 + testing all new datasets #2318
Merged
slevis-lmwg
merged 56 commits into
ESCOMP:ctsm5.2.mksurfdata
from
slevis-lmwg:smallville_iss1673
Feb 16, 2024
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
f9e0291
Add modify_smallville.sh for generating landuse.timeseries...smallville
slevis-lmwg 79e6ab8
Update references to smallville fsurdat/landuse files; remove .ncl file
slevis-lmwg 1b6ac0e
Update mksurfdata_esmf/Makefile to work with modify_smallville.sh
slevis-lmwg 0739abc
Rm fsurdat from two user_nl_clm files because default should suffice
slevis-lmwg ba75743
Bug-fix of a typo unrelated to this PR that just needs to get in
slevis-lmwg 38e6645
Make error msg more helpful when PCT_OCEAN not present
slevis-lmwg 4deab5b
Updates to the Makefile (not tested, yet)
slevis-lmwg 730e976
Revisions from code review with Erik
slevis-lmwg 2bfad30
Updates for "make all-subset" to complete successfully
slevis-lmwg 6988570
Merge remote-tracking branch 'escomp/ctsm5.2.mksurfdata' into smallvi…
slevis-lmwg 4be83a7
Add potveg to the list of files created
slevis-lmwg 83fb3ba
Updates for generating all necessary fsurdat/landuse files
slevis-lmwg 5638af2
Renamed an fsurdat according to a pending TODO
slevis-lmwg 78a533c
One-line addition to ...jobscript_multi.py
slevis-lmwg 9a14039
Updates for --vic option
slevis-lmwg 342ca02
Mods suggested by @fang-bowen that fix the mksurdata_esmf build step
slevis-lmwg 049ee01
Updates to the MKSURFDATAESMF test
slevis-lmwg 159a977
Updates for mksurfdata_esmf to work as advertised
slevis-lmwg 7bb22e1
Update number-of-nodes requested by the Makefile
slevis-lmwg 085be20
Mods towards getting the Makefile to work (after first attempt)
slevis-lmwg db2820c
Mods towards getting the Makefile to work (after 2nd attempt)
slevis-lmwg fdff5d6
Mods towards getting the Makefile to work (2b)
slevis-lmwg f3cc3d5
Mods towards getting the Makefile to work (after 3rd attempt)
slevis-lmwg 726531e
Mods towards getting the Makefile to work (after 4th attempt)
slevis-lmwg 5a64daf
Mods towards getting the Makefile to work (after 5th attempt)
slevis-lmwg f56473b
Mods towards getting the Makefile to work (after 6th attempt)
slevis-lmwg abea471
Updates to help generate all fsurdat/landuse files without crashes
slevis-lmwg 45e80c7
Updates to generate fsurdat/landuse files faster
slevis-lmwg e7e788f
Fix latest failure
slevis-lmwg 60ab6d3
Updates to get missing files generated
slevis-lmwg 2a7d6f9
Accounting for fsurdat/landuse filename changes throughout
slevis-lmwg 137ac05
Correct the automated naming of landuse/fsurdat files
slevis-lmwg 741900c
Updates from review with Erik
slevis-lmwg 859f4e0
Updated namelist_defaults_ctsm.xml
slevis-lmwg c0b4782
Second pass at namelist_defaults_ctsm.xml
slevis-lmwg b7b433e
Update build-namelist_test.pl based on new available datasets
slevis-lmwg 831c1aa
Update time stamp of several 1x1 files in namelist_defaults_ctsm.xml
slevis-lmwg 365ac27
Make convert_ocean_to_land = .true. the default and improve error msg
slevis-lmwg 6ea25a7
Update testlist with tests needed in ctsm_sci test-suite
slevis-lmwg e5617d0
Changes toward getting the MKSURFDATAESMF test to work
slevis-lmwg c5786a3
Remove ctsm_sci tests that run with clm45
slevis-lmwg 4e1098b
Correction that I hope will fix this test failure
slevis-lmwg 6e07229
Corrections based on ctsm_sci failures
slevis-lmwg 73fd801
Corrections to testlist_clm.xml for izumi aux_clm suite
slevis-lmwg e196a1e
Correction to the previous commit's compsets
slevis-lmwg c40bacd
Updates to modify_singlept_site_neon.py to generate 5.2 fsurdat files
slevis-lmwg 7d4a5d8
Updates to NEON fsurdat file names in namelist_defaults and elsewhere
slevis-lmwg d803f62
Path corrections for NEON aux_clm tests to pass on izumi
slevis-lmwg cb3a627
Update namelist_defaults for clm51cam6LndTuningMode tests to proceed
slevis-lmwg 6fc655d
Remove USUMB test and testmods as obsolete
slevis-lmwg 1692b65
Correct references to mpasa15-3 grid and fix RXCROPMATURITY test
slevis-lmwg 22bebe7
Change two intel tests to gnu to get around issue 130...
slevis-lmwg 34012d3
PE layout that worked for hcru & remove ssp4 test
slevis-lmwg b72fc24
Use P36x128 for the two mpasa15 grids
slevis-lmwg 1f4611f
Adding SMS_Ld12_Mmpi-serial.1x1_urbanc_alpha... to the expected fails
slevis-lmwg 494ad7c
Updating expected failures (+ adding an unrelated comment)
slevis-lmwg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,10 +163,10 @@ sub cat_and_create_namelistinfile { | |
# | ||
# Figure out number of tests that will run | ||
# | ||
my $ntests = 2815; | ||
my $ntests = 2587; | ||
|
||
if ( defined($opts{'compare'}) ) { | ||
$ntests += 1965; | ||
$ntests += 1737; | ||
} | ||
plan( tests=>$ntests ); | ||
|
||
|
@@ -433,7 +433,7 @@ sub cat_and_create_namelistinfile { | |
"-res ne0np4CONUS.ne30x8 -bgc sp -use_case 2000_control -namelist '&a start_ymd=20130101/' -lnd_tuning_mode ${phys}_cam6.0", | ||
"-res 1.9x2.5 -bgc sp -use_case 20thC_transient -namelist '&a start_ymd=20030101/' -lnd_tuning_mode ${phys}_cam6.0", | ||
"-res 1.9x2.5 -bgc sp -use_case 2010_control -namelist '&a start_ymd=20100101/' -lnd_tuning_mode ${phys}_cam6.0", | ||
"-res 1x1_brazil -bgc fates -no-megan -use_case 2000_control -lnd_tuning_mode ${phys}_CRUv7", | ||
"-res 1x1_brazil -no-megan -use_case 2000_control -lnd_tuning_mode ${phys}_CRUv7", | ||
"-res C96 -bgc sp -use_case 2010_control -namelist '&a start_ymd=20100101/' -lnd_tuning_mode ${phys}_cam6.0", | ||
"-res ne0np4.ARCTIC.ne30x4 -bgc sp -use_case 2000_control -namelist '&a start_ymd=20130101/' -lnd_tuning_mode ${phys}_cam6.0", | ||
) { | ||
|
@@ -1350,8 +1350,8 @@ sub cat_and_create_namelistinfile { | |
print "========================================================================\n"; | ||
|
||
# Check for ALL resolutions with CLM50SP | ||
my @resolutions = ( "1x1_brazil", "1x1_mexicocityMEX", "1x1_vancouverCAN", "1x1_urbanc_alpha", "5x5_amazon", "360x720cru", "0.125nldas2", "10x15", "4x5", "0.9x1.25", "1.9x2.5", "ne3np4.pg3", "ne16np4.pg3", "ne30np4", "ne30np4.pg2", "ne30np4.pg3", "ne120np4.pg3", "ne0np4CONUS.ne30x8", "ne0np4.ARCTIC.ne30x4", "ne0np4.ARCTICGRIS.ne30x8", "C96", "mpasa480", "mpasa120", "mpasa60", "mpasa15", "mpasa15-conus", "mpasa3p75" ); | ||
my @only2000_resolutions = ( "1x1_brazil", "1x1_mexicocityMEX", "1x1_vancouverCAN", "1x1_urbanc_alpha", "5x5_amazon", "0.125nldas2", "mpasa60", "mpasa15", "mpasa15-conus", "mpasa3p75" ); | ||
my @resolutions = ( "360x720cru", "10x15", "4x5", "0.9x1.25", "1.9x2.5", "ne3np4.pg3", "ne16np4.pg3", "ne30np4", "ne30np4.pg2", "ne30np4.pg3", "ne120np4.pg3", "ne0np4CONUS.ne30x8", "ne0np4.ARCTIC.ne30x4", "ne0np4.ARCTICGRIS.ne30x8", "C96", "mpasa480", "mpasa120" ); | ||
my @only2000_resolutions = ( "1x1_numaIA", "1x1_brazil", "1x1_mexicocityMEX", "1x1_vancouverCAN", "1x1_urbanc_alpha", "5x5_amazon", "0.125nldas2", "mpasa60", "mpasa15", "mpasa15-3", "mpasa3p75" ); | ||
my @regional; | ||
foreach my $res ( @resolutions ) { | ||
chomp($res); | ||
|
@@ -1449,7 +1449,24 @@ sub cat_and_create_namelistinfile { | |
print "==================================================\n"; | ||
|
||
# Check for crop resolutions | ||
my @crop_res = ( "1x1_numaIA", "1x1_smallvilleIA", "4x5", "10x15", "0.9x1.25", "1.9x2.5", "ne3np4.pg3", "ne30np4", "ne30np4.pg3", "C96", "mpasa120" ); | ||
my $crop1850_res = "1x1_smallvilleIA"; | ||
$options = "-bgc bgc -crop -res $crop1850_res -use_case 1850_control -envxml_dir ."; | ||
&make_env_run(); | ||
eval{ system( "$bldnml $options > $tempfile 2>&1 " ); }; | ||
is( $@, '', "$options" ); | ||
$cfiles->checkfilesexist( "$options", $mode ); | ||
$cfiles->shownmldiff( "default", "standard" ); | ||
if ( defined($opts{'compare'}) ) { | ||
$cfiles->doNOTdodiffonfile( "$tempfile", "$options", $mode ); | ||
$cfiles->dodiffonfile( "$real_par_file", "$options", $mode ); | ||
$cfiles->comparefiles( "$options", $mode, $opts{'compare'} ); | ||
} | ||
if ( defined($opts{'generate'}) ) { | ||
$cfiles->copyfiles( "$options", $mode ); | ||
} | ||
&cleanup(); | ||
|
||
my @crop_res = ( "1x1_numaIA", "4x5", "10x15", "0.9x1.25", "1.9x2.5", "ne3np4.pg3", "ne30np4", "ne30np4.pg3", "C96", "mpasa120" ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explaining the mods in this file:
|
||
foreach my $res ( @crop_res ) { | ||
$options = "-bgc bgc -crop -res $res -envxml_dir ."; | ||
&make_env_run(); | ||
|
@@ -1673,7 +1690,7 @@ sub cat_and_create_namelistinfile { | |
&cleanup(); | ||
# Run FATES mode for several resolutions and configurations | ||
my $clmoptions = "-bgc fates -envxml_dir . -no-megan"; | ||
my @clmres = ( "1x1_brazil", "5x5_amazon", "4x5", "1.9x2.5" ); | ||
my @clmres = ( "4x5", "1.9x2.5" ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explaining the mods in this file:
|
||
foreach my $res ( @clmres ) { | ||
$options = "-res $res -clm_start_type cold"; | ||
my @edoptions = ( "-use_case 2000_control", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explaining the mods in this file: