Skip to content

Commit

Permalink
Merge pull request ESCOMP#2269 from ekluzek/derecho1
Browse files Browse the repository at this point in the history
First tag with PE layouts and testing for Derecho
  • Loading branch information
ekluzek authored Dec 8, 2023
2 parents bf19eb8 + 10d0538 commit 50bfc43
Show file tree
Hide file tree
Showing 46 changed files with 1,711 additions and 238 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ e4d38681df23ccca0ae29581a45f8362574e0630
0bc3f00115d86d026a977918661c93779b3b19f9
540b256d1f3382f4619d7b0877c32d54ce5c40b6
8a168bb0895f4f2421608dd2589398e13a6663e6
6fccf682eaf718615407d9bacdd3903b8786a03d
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local_path = components/cmeps
required = True

[cdeps]
tag = cdeps1.0.23
tag = cdeps1.0.24
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
local_path = components/cdeps
Expand Down
2 changes: 1 addition & 1 deletion bld/namelist_files/createMapEntry.pl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
my $scriptName;
($scriptName = $0) =~ s!(.*)/!!; # get name of script
my $cwd = getcwd();
my $CSMDATA = "/glade/p/cesm/cseg/inputdata";
my $CSMDATA = "/glade/campaign/cesm/cesmdata/cseg/inputdata";

if ($#ARGV != 0 ) {
usage();
Expand Down
38 changes: 33 additions & 5 deletions bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
set up. If more finidat files are added you may need to add more of these.
Or one specific file will be chosen over another.
-->

<init_interp_attributes sim_year="1850" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm4_5_GSWP3v1"
>hgrid=0.9x1.25 maxpft=17 mask=gx1v7 use_cn=.true. use_crop=.false. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>
Expand Down Expand Up @@ -721,6 +722,11 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.false. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>

<!-- 1850 spinup for CESM3 development for CLM5.1-->
<init_interp_attributes sim_year="1850" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm5_1_cam6.0"
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.false. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>

<!-- present day -->
<init_interp_attributes sim_year="2000" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm4_5_GSWP3v1"
>hgrid=1.9x2.5 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
Expand Down Expand Up @@ -819,6 +825,12 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>

<!-- clm5_1 physics -->
<init_interp_attributes sim_year="2000" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm5_1_cam6.0"
hgrid="ne30np4.pg3"
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>

<!-- MPAS -->
<init_interp_attributes sim_year="2000" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm5_0_cam6.0"
hgrid="mpasa480"
Expand Down Expand Up @@ -877,7 +889,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
hgrid="ne0np4.ARCTICGRIS.ne30x8" use_cn=".false." maxpft="17"
>hgrid=ne0np4.ARCTICGRIS.ne30x8 maxpft=17 mask=tx0.1v2 use_cn=.false. use_crop=.false. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>
p

<!-- 2003 -->
<init_interp_attributes sim_year="2003" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm5_0_cam6.0"
hgrid="1.9x2.5" use_cn=".false." maxpft="17"
Expand All @@ -890,7 +902,6 @@ p
>hgrid=ne0np4CONUS.ne30x8 maxpft=17 mask=tx0.1v2 use_cn=.false. use_crop=.false. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>


<!--
1850 preindustrial IC (if use_init_interp is added and set to .true. then MUST still interpolate even on an exact match)
(if it will work on an exact match, leave use_init_interp off)
Expand Down Expand Up @@ -970,6 +981,14 @@ p
>lnd/clm2/initdata_map/clmi.I1850Clm50BgcCrop-ciso.1366-01-01.0.9x1.25_gx1v7_simyr1850_c200428.nc
</finidat>

<!-- Use f09 clm5_0 cam6 spinup file for clm5_1 cam6-->
<finidat hgrid="0.9x1.25" maxpft="79" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
ic_ymd="18500101" sim_year="1850" do_transient_pfts=".false."
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".false."
lnd_tuning_mode="clm5_1_cam6.0"
>lnd/clm2/initdata_map/clmi.B1850Clm50BgcCrop.0161-01-01.0.9x1.25_gx1v7_simyr1850_c200729.nc
</finidat>

<!--
Present day IC (if use_init_interp is set and .true. then MUST still interpolate even on an exact match)
(if it will work on an exact match, leave use_init_interp off)
Expand Down Expand Up @@ -1068,6 +1087,13 @@ p
>lnd/clm2/initdata_map/clmi.BHIST.2000-01-01.0.9x1.25_gx1v7_simyr2000_c200728.nc
</finidat>

<finidat hgrid="0.9x1.25" maxpft="79" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
ic_ymd="20000101" sim_year="2000" do_transient_pfts=".false."
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".true."
lnd_tuning_mode="clm5_1_cam6.0" use_init_interp=".true."
>lnd/clm2/initdata_map/clmi.BHIST.2000-01-01.0.9x1.25_gx1v7_simyr2000_c200728.nc
</finidat>

<!-- 2003 -->
<finidat hgrid="1.9x2.5" maxpft="17" mask="gx1v7" use_cn=".false." use_cndv=".false." use_fates=".false."
ic_ymd="20030101" sim_year="2003" do_transient_pfts=".false."
Expand Down Expand Up @@ -1323,10 +1349,12 @@ lnd/clm2/surfdata_map/NEON/surfdata_1x1_NEON_TOOL_hist_78pfts_CMIP6_simyr2000_c2
use_crop=".false." >lnd/clm2/surfdata_map/release-clm5.0.18/landuse.timeseries_48x96_hist_16pfts_Irrig_CMIP6_simyr1850-2015_c190214.nc</flanduse_timeseries>


<flanduse_timeseries hgrid="ne30np4" sim_year_range="1850-2000" irrigate=".true."
use_crop=".false." >lnd/clm2/surfdata_map/landuse.timeseries_ne30np4_hist_16pfts_Irrig_CMIP6_simyr1850-2015_c170824.nc</flanduse_timeseries>
<flanduse_timeseries hgrid="ne30np4" sim_year_range="1850-2000"
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_ne30np4_SSP5-8.5_78pfts_CMIP6_simyr1850-2100_c200426.nc</flanduse_timeseries>
<flanduse_timeseries hgrid="ne30np4.pg3" sim_year_range="1850-2000"
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_ne30np4.pg3_SSP5-8.5_78pfts_CMIP6_simyr1850-2100_c200426.nc</flanduse_timeseries>
<flanduse_timeseries hgrid="ne0np4.ARCTIC.ne30x4" sim_year_range="1850-2000"
>lnd/clm2/surfdata_map/landuse.timeseries_ne0np4.ARCTIC.ne30x4_hist_78pfts_CMIP6_simyr1850-2015_c191023.nc</flanduse_timeseries>
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_ne0np4.ARCTIC.ne30x4_SSP5-8.5_78pfts_CMIP6_simyr1850-2100_c200426.nc</flanduse_timeseries>

<!-- Dynamic PFT surface datasets for crop -->

Expand Down
2 changes: 1 addition & 1 deletion bld/namelist_files/namelist_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ Land mask description

<entry id="lnd_tuning_mode" type="char*20" category="default_settings"
group="default_settings"
valid_values="clm4_5_CRUv7,clm4_5_GSWP3v1,clm4_5_cam6.0,clm5_0_cam6.0,clm5_0_CRUv7,clm5_0_GSWP3v1,clm5_1_GSWP3v1">
valid_values="clm4_5_CRUv7,clm4_5_GSWP3v1,clm4_5_cam6.0,clm5_0_cam6.0,clm5_0_CRUv7,clm5_0_GSWP3v1,clm5_1_GSWP3v1,clm5_1_cam6.0">
General configuration of model version and atmospheric forcing to tune the model to run under.
This sets the model to run with constants and initial conditions that were set to run well under
the configuration of model version and atmospheric forcing. To run well constants would need to be changed
Expand Down
2 changes: 1 addition & 1 deletion bld/unit_testers/build-namelist_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ sub cat_and_create_namelistinfile {
$inputdata_rootdir = $ENV{'CSMDATA'};
} else {
# use yellowstone location as default
$inputdata_rootdir="/glade/p/cesm/cseg/inputdata";
$inputdata_rootdir="/glade/campaign/cesm/cesmdata/cseg/inputdata";
print("WARNING: -csmdata nor CSMDATA are set, using default yellowstone location: $inputdata_rootdir\n");
}

Expand Down
13 changes: 0 additions & 13 deletions bld/unit_testers/xFail/expectedClmTestFails.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@
</goldbach>
</tools_test_driver>

<PTCLM>
<yellowstone>
<INTEL>
<entry testId="no_towerdata.-d+/glade/p/cesmdata/cseg/inputdata++-s+RF-Bra+--debug+--pftgrid+--soilgrid."
failType="FAIL">Doesn't check for valid values</entry>
</INTEL>
</yellowstone>
<goldbach>
<PGI>
</PGI>
</goldbach>
</PTCLM>

<unit_tests>
<yellowstone>
<INTEL>
Expand Down
3 changes: 2 additions & 1 deletion cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<desc>Tuning parameters and initial conditions should be optimized for what CLM model version and what meteorlogical forcing combination?
</desc>
<default_value>UNSET</default_value>
<valid_values>clm5_0_cam6.0,clm5_0_GSWP3v1,clm5_0_CRUv7,clm4_5_CRUv7,clm4_5_GSWP3v1,clm4_5_cam6.0,clm5_1_GSWP3v1</valid_values>
<valid_values>clm5_0_cam6.0,clm5_0_GSWP3v1,clm5_0_CRUv7,clm4_5_CRUv7,clm4_5_GSWP3v1,clm4_5_cam6.0,clm5_1_GSWP3v1,clm5_1_cam6.0</valid_values>
<values>
<value compset= "CLM45" >clm4_5_CRUv7</value>
<value compset="DATM%CRUv7.+_CLM45" >clm4_5_CRUv7</value>
Expand All @@ -76,6 +76,7 @@
<value compset="CAM.+_CLM50" >clm5_0_cam6.0</value>
<value compset="DATM%CPLHIST.*_CLM50" >clm5_0_cam6.0</value>
<value compset= "_CLM51" >clm5_1_GSWP3v1</value>
<value compset="CAM.+_CLM51" >clm5_1_cam6.0</value>
</values>
</entry>

Expand Down
Loading

0 comments on commit 50bfc43

Please sign in to comment.