I've been trying to debug an issue for Eleanor, a postdoc in Jen Kay's group. She is trying to branch off of the CESM2 CMIP6 PI control at year 501. The restarts are here:
/glade/p/cesmdata/inputdata/cesm2_init/b.e21.B1850.f09_g17.CMIP6-piControl.001/0501-01-01/
The source code she is using is here: /glade/work/eleanorm/models/cesm2_1_3/ ... the externals point to release-clm5.0.30 code base.
When she runs a B1850 compset, w/ the same grid alias used in the CMIP6 run (f09_g17). It fails:
/glade/scratch/eleanorm/B1850_clockoutput_v2.1.3_y501-503/run/lnd.log.1804910.chadmin1.ib0.cheyenne.ucar.edu.200417-094831
Reading restart file
b.e21.B1850.f09_g17.CMIP6-piControl.001.clm2.r.0501-01-01-00000.nc
Reading restart dataset
check_dim ERROR: mismatch of input dimension 50827 with expected value
50591 for variable landunit
The dimension size "landunit" is 50827 in the CMIP6 clm restart file, and apparently in conflict w/ her run. I noticed that the fsrudat file used in the CMIP runs were different from the ones defaulted to in her code base.
default: /glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr1850_c190214.nc
CMIP6: /glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/surfdata_0.9x1.25_78pfts_CMIP6_simyr1850_c170824.nc
an ncdiff shows that most stuff is zero, but there were non-zero's for PCT_WETLAND. I was *guessing* that the landunit variable is the total number of subgrid landunts in the domain, and so I figured with a different fsurdat file, it may have a different landunit size. So she ran her codebase w/ the CMIP6 fsurdat file instead (from her lnd_in: fsurdat = '/glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/surfdata_0.9x1.25_78pfts_CMIP6_simyr1850_c170824.nc'):
/glade/scratch/eleanorm/B1850_clockoutput_y501-503/run/lnd.log.1781780.chadmin1.ib0.cheyenne.ucar.edu.200416-130250
Reading restart file
b.e21.B1850.f09_g17.CMIP6-piControl.001.clm2.r.0501-01-01-00000.nc
Reading restart dataset
check_dim ERROR: mismatch of input dimension 50827 with expected value
50525 for variable landunit
While this did change the landunit size, it is still not equal to the size used in the CMIP6 restart file. At this point, I'm at the limit of knowledge of CTSM, and am hoping the real experts can jump in and help debug this issue. Thanks!
/glade/p/cesmdata/inputdata/cesm2_init/b.e21.B1850.f09_g17.CMIP6-piControl.001/0501-01-01/
The source code she is using is here: /glade/work/eleanorm/models/cesm2_1_3/ ... the externals point to release-clm5.0.30 code base.
When she runs a B1850 compset, w/ the same grid alias used in the CMIP6 run (f09_g17). It fails:
/glade/scratch/eleanorm/B1850_clockoutput_v2.1.3_y501-503/run/lnd.log.1804910.chadmin1.ib0.cheyenne.ucar.edu.200417-094831
Reading restart file
b.e21.B1850.f09_g17.CMIP6-piControl.001.clm2.r.0501-01-01-00000.nc
Reading restart dataset
check_dim ERROR: mismatch of input dimension 50827 with expected value
50591 for variable landunit
The dimension size "landunit" is 50827 in the CMIP6 clm restart file, and apparently in conflict w/ her run. I noticed that the fsrudat file used in the CMIP runs were different from the ones defaulted to in her code base.
default: /glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr1850_c190214.nc
CMIP6: /glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/surfdata_0.9x1.25_78pfts_CMIP6_simyr1850_c170824.nc
an ncdiff shows that most stuff is zero, but there were non-zero's for PCT_WETLAND. I was *guessing* that the landunit variable is the total number of subgrid landunts in the domain, and so I figured with a different fsurdat file, it may have a different landunit size. So she ran her codebase w/ the CMIP6 fsurdat file instead (from her lnd_in: fsurdat = '/glade/p/cesmdata/cseg/inputdata/lnd/clm2/surfdata_map/surfdata_0.9x1.25_78pfts_CMIP6_simyr1850_c170824.nc'):
/glade/scratch/eleanorm/B1850_clockoutput_y501-503/run/lnd.log.1781780.chadmin1.ib0.cheyenne.ucar.edu.200416-130250
Reading restart file
b.e21.B1850.f09_g17.CMIP6-piControl.001.clm2.r.0501-01-01-00000.nc
Reading restart dataset
check_dim ERROR: mismatch of input dimension 50827 with expected value
50525 for variable landunit
While this did change the landunit size, it is still not equal to the size used in the CMIP6 restart file. At this point, I'm at the limit of knowledge of CTSM, and am hoping the real experts can jump in and help debug this issue. Thanks!