-
Notifications
You must be signed in to change notification settings - Fork 341
ctsm5.3.071: b4b-dev merge 2025-08-22 #3431
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
Merged
Merged
Changes from all commits
Commits
Show all changes
213 commits
Select commit
Hold shift + click to select a range
acd0d2d
Replace most uses of npcropmin/max with is_prognostic_crop().
samsrabin 85f72b2
Avoid using npcropmin/max for looping outside pftconMod.
samsrabin 25d0cce
Add get_crop_n_from_veg_type().
samsrabin 29ae909
Add get_veg_type_from_crop_n().
samsrabin 05eec12
Add pftconMod public var num_cfts_possible.
samsrabin b50faf2
npcropmin/max are now private to pftconMod.
samsrabin 743098a
Add query_paramfile tool.
samsrabin 0e2e1e3
query_paramfile: Accept comma-separated variable list.
samsrabin 72a27f7
query_paramfile: Print PFT name next to PFT-specific params.
samsrabin 56aa742
query_paramfile: Align PFT-specific values.
samsrabin 8e70046
query_paramfile: Add optional -p/--pft option.
samsrabin 43b8310
Merge tag 'ctsm5.3.066' into merge-master-20250808
slevis-lmwg 1b9fbe4
Merge pull request #3398 from slevis-lmwg/merge-master-20250808
slevis-lmwg ef28019
Merge branch 'b4b-dev' into private-npcropminmax
samsrabin e9f57b3
py_env_create: conda rename needs --yes, not --force, as of 25.3.0.
samsrabin 8698bfc
test_sys_py_env_create: Empty YML file for mamba.
samsrabin f591ba5
test_sys_py_env_create: Better err msg if env not found.
samsrabin b40d87f
py_env_create: conda_env_exists now always uses conda.
samsrabin a627c5c
Improve comment in empty.yml.
samsrabin 1f549d9
Merge pull request #3403 from samsrabin/fix-py_env_create-tests
samsrabin 20331d1
Suppress crop cold temp msgs when generate_crop_gdds true.
samsrabin 3a37923
Move log() and error() from generate_gdds_functions to cropcal_utils.
samsrabin fa14f3a
Add logging in GDD generation.
samsrabin c412710
cropcal_utils log(), error(): Prepend datetime string.
samsrabin beee2fc
Reformat with black.
samsrabin ec194e5
Add previous commit to .git-blame-ignore-revs.
samsrabin 478384d
Refactoring to satisfy pylint.
samsrabin debbe36
Rename query_parameters/ to param_utils/.
samsrabin e1f29b2
query_paramfile: Add unit tests of get_arguments().
samsrabin 71f2aff
query_paramfile: Add unit tests of print_values().
samsrabin 99baf01
query_paramfile: Add simple system test; failing.
samsrabin bf39325
query_paramfile: Fix call w/o -p/--pft.
samsrabin 35bac74
query_paramfile: Add more system tests; failing.
samsrabin b2f08bd
query_paramfile: Always get pft_names if on paramfile.
samsrabin 6429f00
query_parameters: Add docstrings.
samsrabin 29ff74d
query_paramfile: Move some parser stuff to paramfile_shared.
samsrabin 2a178bc
query_paramfile: Split comma-separated lists in parse_args().
samsrabin 958aaf2
Add set_paramfile tool and tests. So far just parses some args.
samsrabin 337a072
set_paramfile: Can now copy a file.
samsrabin cea3f12
set_paramfile: Use -v/--variables to only include some vars.
samsrabin 93f29e2
set_paramfile: Can now change params. Tested w/ scalars.
samsrabin 22bdf2d
set_paramfile: Include just some PFTs with -p/--pft.
samsrabin 3aeb040
set_paramfile: Can now change 1-d parameters.
samsrabin a148838
query_paramfile: Fix call for PFT param w/o -p/--pft.
samsrabin bedf08d
Update _paramfile tool help descriptions.
samsrabin f0ba3e0
set_paramfile: Check that new value has right ndim.
samsrabin 73d0a01
set_paramfile sys tests: Check dtype didn't change.
samsrabin fed3ba4
set_paramfile: Add is_integer(). Tested but not yet used.
samsrabin 3056c36
set_paramfile: Test changing scalar int param. Failing.
samsrabin 552f979
set_paramfile: Can now change scalar int params.
samsrabin b1c0c75
Turns out set_paramfile works for 1d int params too.
samsrabin 6872d2b
set_paramfile: Don't mask or scale when reading parameter file.
samsrabin f37c301
test_sys_set_paramfile: Check that fill val didn't change.
samsrabin a8d90d6
set_paramfile: Avoid calling is_integer().
samsrabin dd38d7e
Add a PE layout for mpas13p75
ekluzek b03835f
Add a testmod for mpasa3p75 grid
ekluzek 52470c4
Add decomp initialization test and test list for ultra high resolutio…
ekluzek f1a5a45
Fix syntax and correct 3p75 resolution grid name for test
ekluzek f3ac549
Fix name of mpasa3p75 testmod in test
ekluzek 5602a7d
test_sys_set_paramfile: Test setting scalar double NaN using 'nan'
samsrabin 89f0c42
set_paramfile: Don't allow setting NaN if param doesn't have FillValue.
samsrabin c4e1fa4
Copy the files from scratch to inputdata just on glade on Derecho
ekluzek 152ac60
set_paramfile: Don't allow setting NaN in integer params.
samsrabin cb8fadf
Resolve or delete some testing TODOs.
samsrabin 492bcea
set_paramfile: Require --drop-other-pfts to actually trim the PFT list.
samsrabin 50cf969
Initial add of a unit test for endrun
ekluzek 14bb2f8
set_paramfile: Can now change just a few PFT values.
samsrabin f42d816
set_paramfile: Can now change just one PFT without touching others.
samsrabin 7eb17f3
Reformat with black.
samsrabin 5462b0e
Add previous commit to .git-blame-ignore-revs.
samsrabin 187a8e4
Satisfy pylint.
samsrabin 4e9d2fe
query_paramfiles: Use space-separated variables to match set_paramfile.
samsrabin c4d6ac6
query_paramfile now prints all variables if none specified.
samsrabin 4019a5a
query_paramfile: Handle multi-dim vars.
samsrabin ae22703
set_paramfile sys tests: Explicitly check that a 'nan' is saved as th…
samsrabin 79059bc
set_paramfile: Fix a comment.
samsrabin 65daa85
set_paramfile now preserves non-NaN _FillValue.
samsrabin 9f5e4b4
Fix subset_data when selecting just 1 pft.
samsrabin e2edd6b
Add more tests for more of the options
ekluzek a6011fb
set_paramfile: Explain nan in help text.
samsrabin 042f5f4
netcdf_utils: Add are_xr_dataarrays_identical().
samsrabin 9552803
Use are_xr_dataarrays_identical() in set_paramfile system tests. Fail…
samsrabin 24ba0de
are_xr_dataarrays_identical(): NaNs equal; ignore source/original_shape.
samsrabin ee70147
set_paramfile: Don't add fill value to parameters without one.
samsrabin 952a355
are_xr_dataarrays_identical(): Refactor for pylint.
samsrabin 5431832
Move subgrid setup and teardown to setup and teardown methods, add ex…
ekluzek 895a8df
are_xr_dataarrays_identical(): Don't ignore anything by default.
samsrabin 5492fff
set_paramfile: Add save_paramfile().
samsrabin 31894b1
set_paramfile: Refactor to reduce branching.
samsrabin 8e3e382
set_paramfile: Improve error when assigning fill for param w/o one.
samsrabin 2508e3f
Continue the endrun call even if subgrid_level is bad so that the err…
ekluzek 61f5056
Change to the new expected behavior where the error isn't about the s…
ekluzek e48342f
Update to using shr_abort_abort as talked about in #3417
ekluzek 27b3b54
Update to using shr_abort_abort as talked about in #3417
ekluzek 8c25599
Add testing for bad point in the pt_context which fails because of su…
ekluzek b9b9420
save_paramfile(): test saving an integer parameter with a fill value
samsrabin fce7287
set_paramfile(): Improve text about integer fill values.
samsrabin 62d7711
Reformat with black.
samsrabin 8246f54
Add previous commit to .git-blame-ignore-revs.
samsrabin eac7e81
Satisfy pylint.
samsrabin ac849e6
save_paramfile: Save calling command to history.
samsrabin 09f561d
Add handling in case the input point is bad to end_run_pt_context
ekluzek 067fe25
Add more error checking if a bad point is input to get_global_index, …
ekluzek 323dc8a
Allow passing file and line to endrun, output it through shr_log_errM…
ekluzek 608e440
Add some tests for sending in file and line and one with just file to…
ekluzek ccc7b2d
Correct data type of bad_point to logical
ekluzek f1856ab
set_paramfile: Functionize _convert_to_output_dtype().
samsrabin bc2f068
set_paramfile: Improve/test error when given float for integer param.
samsrabin 0207b46
Move are_dicts_identical_nansequal() to netcdf_utils.
samsrabin f36f3f9
Add SETPARAMFILE SystemTest.
samsrabin 49ad0f7
Reformat with black.
samsrabin 4465b0f
Add prevous commit to .git-blame-ignore-revs.
samsrabin 2eb293c
Merge remote-tracking branch 'escomp/b4b-dev' into query-paramfile
samsrabin 5f4ca9c
set_paramfile: Small refactor.
samsrabin 3211033
query/set_paramfile: Improve help text.
samsrabin 7ff67d6
query/set_paramfile: Update docstrings.
samsrabin a9a1b89
CNFUNMod: Improve readability of a line.
samsrabin f36f1d3
test_sys_set_paramfile: Delete some print()s.
samsrabin be8191d
Improve netcdf_utils and testing.
samsrabin 86dd02c
set_paramfile: Simplify _replace_nans_with_fill().
samsrabin 9040f4a
set_paramfile: Avoid using ds_in for robustness.
samsrabin af2d7dd
set_paramfile: Functionize apply_new_value_to_parameter().
samsrabin 8163648
set_paramfile: chg now optional kw arg if just used in err msg.
samsrabin e49e793
set_paramfile: Improve a comment.
samsrabin 2032633
set_paramfile: Delete questionably-useful, confusing -v/--variables.
samsrabin 6c80312
test_unit_netcdf_utils: Satisfy pylint.
samsrabin e339339
Add docs for paramfile tools.
samsrabin a88e560
Merge remote-tracking branch 'escomp/b4b-dev' into private-npcropminmax
samsrabin bd0ba20
is_prognostic_crop(): Improve note.
samsrabin 8d8be78
Merge pull request #3390 from samsrabin/private-npcropminmax
samsrabin ed3223f
Move 3 functions from cropcal_utils.
samsrabin 87506e1
ctsm_logging: Add error_type option to error().
samsrabin d7237ac
Try adding caller name to log() and error() msgs.
samsrabin b33f0aa
Merge remote-tracking branch 'escomp/b4b-dev' into endrun_work
ekluzek 09400a3
Change the directory name for the new endrun tests
ekluzek 6e818f6
Change the names from the specific subroutine endrun to abortutils th…
ekluzek a139a42
Move the descriptions of test subroutines to just after the subroutin…
ekluzek b779f98
Merge pull request #3418 from ekluzek/endrun_work
ekluzek 06f7e7f
Finalize caller name in log()/error() msgs.
samsrabin fd3e54a
ctsm_logging: Functionize _compose_log_msg().
samsrabin f8e6f87
Add unit tests of log() and error().
samsrabin 8e87966
Merge remote-tracking branch 'escomp/b4b-dev' into gddgen-log-changes
samsrabin e6568d1
Changes to exit early when self test namelist option used for_testing…
ekluzek 5e8046f
Remove the changes in timers and flow in the nuopc cap level in last …
ekluzek 979edbc
Fix typo in xmlchange
ekluzek 31596b9
Turn off restarts and history and add some timer options as well as t…
ekluzek 72cc02e
Turn off RTM rather than increase the ROF coupling frequency
ekluzek f1c3c09
Turn off urban HAC completely and minimize urban in gridcells
ekluzek 02e070b
Still need to set NCPL_ROF
ekluzek 39ea6fb
Fix syntax error
ekluzek 38295ac
Seperate run_self_tests into a test mod that just sets up the testing…
ekluzek d67d87f
Seperate out decomp_init test list into production tests for timing, …
ekluzek f5fe359
Make decomp_init single grid case run with mpi-serial
ekluzek d076327
Merge remote-tracking branch 'escomp/b4b-dev' into mpasa3p75
ekluzek fe1a993
Remove turning on decomp init testing for now
ekluzek d858665
Reformat with black.
samsrabin b5db20a
Add previous commit to .git-blame-ignore-revs.
samsrabin ac5899b
Small change for pylint.
samsrabin fb8550e
Merge pull request #3408 from samsrabin/gddgen-log-changes
samsrabin 7b80a4e
Turn off restarts and history and add some timer options as well as t…
ekluzek d93d803
Correct for testing namelist items to just the ncdip_pio tests which …
ekluzek e57d8f8
Remove the self test turning on of ncdio_pio testing, which should ju…
ekluzek 5b5c40c
Suppress crop cold temp msgs when generate_crop_gdds true.
samsrabin 14a27f0
Move log() and error() from generate_gdds_functions to cropcal_utils.
samsrabin 444fa54
Add logging in GDD generation.
samsrabin 8b5c90d
cropcal_utils log(), error(): Prepend datetime string.
samsrabin 2132750
Reformat with black.
samsrabin 97e2bfe
Add previous commit to .git-blame-ignore-revs.
samsrabin 4113ece
Refactoring to satisfy pylint.
samsrabin ebef8c7
Move 3 functions from cropcal_utils.
samsrabin c057113
ctsm_logging: Add error_type option to error().
samsrabin 191e119
Try adding caller name to log() and error() msgs.
samsrabin e277c92
Finalize caller name in log()/error() msgs.
samsrabin 037ae1b
ctsm_logging: Functionize _compose_log_msg().
samsrabin dcb39b4
Add unit tests of log() and error().
samsrabin 75c6794
Initial add of a unit test for endrun
ekluzek 4053c0a
Add more tests for more of the options
ekluzek 4dc49a9
Move subgrid setup and teardown to setup and teardown methods, add ex…
ekluzek 1586175
Continue the endrun call even if subgrid_level is bad so that the err…
ekluzek 6c38d62
Change to the new expected behavior where the error isn't about the s…
ekluzek 7d25eba
Update to using shr_abort_abort as talked about in #3417
ekluzek a13dcdb
Update to using shr_abort_abort as talked about in #3417
ekluzek 33a8e00
Add testing for bad point in the pt_context which fails because of su…
ekluzek ef54137
Add handling in case the input point is bad to end_run_pt_context
ekluzek 33907d7
Add more error checking if a bad point is input to get_global_index, …
ekluzek 7df48b9
Allow passing file and line to endrun, output it through shr_log_errM…
ekluzek 986fe31
Add some tests for sending in file and line and one with just file to…
ekluzek 9a6bf53
Correct data type of bad_point to logical
ekluzek fc884eb
Replace most uses of npcropmin/max with is_prognostic_crop().
samsrabin 8ca7af5
Avoid using npcropmin/max for looping outside pftconMod.
samsrabin 0dfa907
Add get_crop_n_from_veg_type().
samsrabin 0901503
Add get_veg_type_from_crop_n().
samsrabin c77a405
Add pftconMod public var num_cfts_possible.
samsrabin ff4ead6
npcropmin/max are now private to pftconMod.
samsrabin 8920ed7
CNFUNMod: Improve readability of a line.
samsrabin c20859f
is_prognostic_crop(): Improve note.
samsrabin d685e6f
Change the directory name for the new endrun tests
ekluzek 5ac7e3b
Change the names from the specific subroutine endrun to abortutils th…
ekluzek 854a364
Move the descriptions of test subroutines to just after the subroutin…
ekluzek 5b40496
Reformat with black.
samsrabin a6e2309
Add previous commit to .git-blame-ignore-revs.
samsrabin 22a56e5
Small change for pylint.
samsrabin 1a879d9
set_paramfile: Test & document changing 1-d non-pft param.
samsrabin 73303fb
Merge remote-tracking branch 'escomp/b4b-dev' into query-paramfile
samsrabin 113a63e
Merge pull request #3397 from samsrabin/query-paramfile
samsrabin 11147fe
Correct name of RTM_MODE
ekluzek b39e405
DATM seems to need more tasks for it to run, so change the mpasa2p75 …
ekluzek 5b0d5a2
Correct the path variable to DIN_LOC_ROOT
ekluzek a563ed0
Merge remote-tracking branch 'escomp/b4b-dev' into mpasa3p75
ekluzek 58513d7
Merge pull request #3413 from ekluzek/mpasa3p75
ekluzek ac9aa73
Merge tag 'ctsm5.3.070' into b4b-dev-merge-20250822
samsrabin 30a7f35
Update ChangeLog and ChangeSum.
samsrabin 0f90c77
Finalize ctsm5.3.071 ChangeLog.
samsrabin 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
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| """ | ||
| CTSM-specific test that first runs the set_paramfile tool and then ensures that CTSM does not fail | ||
| using the just-generated parameter file | ||
| """ | ||
|
|
||
| import os | ||
| import sys | ||
| import logging | ||
| import re | ||
| from CIME.SystemTests.system_tests_common import SystemTestsCommon | ||
|
|
||
| # In case we need to import set_paramfile later | ||
| _CTSM_PYTHON = os.path.join( | ||
| os.path.dirname(os.path.realpath(__file__)), os.pardir, os.pardir, "python" | ||
| ) | ||
| sys.path.insert(1, _CTSM_PYTHON) | ||
|
|
||
| logger = logging.getLogger(__name__) | ||
|
|
||
|
|
||
| class SETPARAMFILE(SystemTestsCommon): | ||
| def __init__(self, case): | ||
| """ | ||
| initialize an object interface to the SMS system test | ||
| """ | ||
| SystemTestsCommon.__init__(self, case) | ||
|
|
||
| # Create out-of-the-box lnd_in to obtain paramfile | ||
| case.create_namelists(component="lnd") | ||
|
|
||
| # Find the paramfile to modify | ||
| lnd_in_path = os.path.join(self._get_caseroot(), "CaseDocs", "lnd_in") | ||
| self._paramfile_in = None | ||
| with open(lnd_in_path, "r", encoding="utf-8") as lnd_in: | ||
| for line in lnd_in: | ||
| paramfile_in = re.match(r" *paramfile *= *'(.*)'", line) | ||
| if paramfile_in: | ||
| self._paramfile_in = paramfile_in.group(1) | ||
| break | ||
| if not self._paramfile_in: | ||
| raise RuntimeError(f"paramfile not found in {lnd_in_path}") | ||
|
|
||
| # Get the output file | ||
| self.paramfile_out = os.path.join(self._get_caseroot(), "paramfile.nc") | ||
|
|
||
| # Define set_paramfile command | ||
| self.set_paramfile_cmd = [ | ||
| "set_paramfile", | ||
| "-i", | ||
| self._paramfile_in, | ||
| "-o", | ||
| self.paramfile_out, | ||
| # Change two parameters for one PFT | ||
| "-p", | ||
| "needleleaf_deciduous_boreal_tree", | ||
| "rswf_min=0.35", | ||
| "rswf_max=0.7", | ||
| ] | ||
|
|
||
| def build_phase(self, sharedlib_only=False, model_only=False): | ||
| """ | ||
| Run set_paramfile and then build the model | ||
| """ | ||
|
|
||
| # Run set_paramfile. | ||
| # build_phase gets called twice: | ||
| # - once with sharedlib_only = True and | ||
| # - once with model_only = True | ||
| # Because we only need set_paramfile run once, we only do it for the sharedlib_only call. | ||
| # We could also check for the existence of the set_paramfile outputs, but that might lead to | ||
| # a situation where the user expects set_paramfile to be called but it's not. Better to run | ||
| # unnecessarily (e.g., if you fixed some FORTRAN code and just need to rebuild). | ||
| if sharedlib_only: | ||
| self._run_set_paramfile() | ||
|
|
||
| # Do the build | ||
| self.build_indv(sharedlib_only=sharedlib_only, model_only=model_only) | ||
|
|
||
| def _run_set_paramfile(self): | ||
| """ | ||
| Run set_paramfile | ||
| """ | ||
| # Import set_paramfile. Do it here rather than at top because otherwise the import will | ||
| # be attempted even during RUN phase. | ||
| # pylint: disable=wrong-import-position,import-outside-toplevel | ||
| from ctsm.param_utils.set_paramfile import main as set_paramfile | ||
|
|
||
| # Run set_paramfile | ||
| sys.argv = self.set_paramfile_cmd | ||
| set_paramfile() | ||
|
|
||
| # Append | ||
| user_nl_clm_path = os.path.join(self._get_caseroot(), "user_nl_clm") | ||
| with open(user_nl_clm_path, "a", encoding="utf-8") as user_nl_clm: | ||
| user_nl_clm.write(f"paramfile = '{self.paramfile_out}'\n") |
This file contains hidden or 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 hidden or 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 hidden or 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
8 changes: 8 additions & 0 deletions
8
cime_config/testdefs/testmods_dirs/clm/for_testing_fastsetup_bypassrun/README
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| The purpose of this testmod directory is to setup for running fast testing | ||
| of initialization. So it bypasses the run phase and exits early. | ||
|
|
||
| We use cold start so that we can get through initialization faster, | ||
|
|
||
| I/O is turned off as much as possible. | ||
|
|
||
| And physics options that make the model run faster are used. |
28 changes: 28 additions & 0 deletions
28
cime_config/testdefs/testmods_dirs/clm/for_testing_fastsetup_bypassrun/shell_commands
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #!/bin/bash | ||
| ./xmlchange CLM_FORCE_COLDSTART="on" | ||
|
|
||
| # We use this testmod in a _Ln1 test; this requires forcing the ROF coupling frequency to same frequency as DATM | ||
| ./xmlchange ROF_NCPL='$ATM_NCPL' | ||
|
|
||
| # Turn off ROF model when used with compsets that have them | ||
| ./xmlchange RTM_MODE='NULL' | ||
|
|
||
| # Turn MEGAN off to run faster | ||
| ./xmlchange CLM_BLDNML_OPTS='--no-megan' --append | ||
|
|
||
| # Use fast structure and NWP configuration for speed | ||
| ./xmlchange CLM_STRUCTURE="fast" | ||
| ./xmlchange CLM_CONFIGURATION="nwp" | ||
|
|
||
| # Restarts aren't allowed for these tests, and turn off CPL history | ||
| # First change in env_test.xml, then in the standard one so it won't complain there | ||
| ./xmlchange --force REST_OPTION="never" --file env_test.xml | ||
| ./xmlchange --force HIST_OPTION="never" --file env_test.xml | ||
| ./xmlchange REST_OPTION="never" | ||
| ./xmlchange HIST_OPTION="never" | ||
|
|
||
| # Timer settings | ||
| ./xmlchange TIMER_DETAIL="2" | ||
| ./xmlchange SAVE_TIMING="TRUE" | ||
| ./xmlchange CHECK_TIMING="TRUE" | ||
| ./xmlchange ESMF_PROFILING_LEVEL="10" |
7 changes: 7 additions & 0 deletions
7
cime_config/testdefs/testmods_dirs/clm/for_testing_fastsetup_bypassrun/user_nl_clm
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ! Turn off history, restarts, and output | ||
| hist_empty_htapes = .true. | ||
| use_noio = .true. | ||
|
|
||
| ! Turn off urban options, and only do urban in gridcells that are majority urban | ||
| urban_hac = 'OFF' | ||
| toosmall_urban = 98.0d00 ! Minimize urban in gridcells |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ! Settings currently required to run at the mpasa3p75 grid | ||
| ! urbantv files at that resolution and use a redistribution mapping | ||
|
|
||
| stream_fldfilename_urbantv = '$DIN_LOC_ROOT/lnd/clm2/urbandata/CTSM52_tbuildmax_OlesonFeddema_2020_mpasa3p75_fromf09_simyr1849-2106_c20240502.nc' | ||
| stream_meshfile_urbantv = '$DIN_LOC_ROOT/lnd/clm2/urbandata/CTSM52_tbuildmax_Oleson_2020_mpasa3p75_ESMFmesh_cdf5_c202405021.nc' | ||
| urbantvmapalgo = 'redist' |
11 changes: 7 additions & 4 deletions
11
cime_config/testdefs/testmods_dirs/clm/run_self_tests/README
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| The purpose of this testmod directory is to trigger the runtime | ||
| self-tests. This runs a suite of unit/integration tests. | ||
| The purpose of this testmod directory is to trigger runtime | ||
| initialization self-tests. This runs a set of unit/integration tests | ||
| that apply at initialization. | ||
|
|
||
| We use cold start so that we can get through initialization faster, | ||
| since how we initialize the model is unimportant for these self-tests. | ||
| We inherit the test-mod that sets up for testing and bypassing as much as possible for speed. | ||
|
|
||
| There are other self_tests that need to be exercised in the model time stepping | ||
| and are done outside of these. |
1 change: 1 addition & 0 deletions
1
cime_config/testdefs/testmods_dirs/clm/run_self_tests/include_user_mods
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../for_testing_fastsetup_bypassrun |
15 changes: 0 additions & 15 deletions
15
cime_config/testdefs/testmods_dirs/clm/run_self_tests/shell_commands
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
cime_config/testdefs/testmods_dirs/clm/run_self_tests/user_nl_clm
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,5 @@ | ||
| for_testing_run_ncdiopio_tests = .true. | ||
|
|
||
| ! Turn off history, restarts, and output | ||
| hist_empty_htapes = .true. | ||
| use_noio = .true. |
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.
Uh oh!
There was an error while loading. Please reload this page.