Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Error reading landunit CESM2_1_2

Hi everybody, I have just installed the new release of CESM2_1_2 in our computer. I get the following error reading the initial data.

check_dim ERROR: mismatch of input dimension 62336 with expected value
62125 for variable landunit
Did you mean to set use_init_interp = .true. in user_nl_clm?
(Setting use_init_interp = .true. is needed when doing a
transient run using an initial conditions file from a non-transient run,
or a non-transient run using an initial conditions file from a transient run,
or when running a resolution or configuration that differs from the initial conditions.)
ERROR:
ERROR in /lustre/lusitania_homes/UniversidadDeExtremadura/joseagustin.garcia/Do
cuments/CESM/cesm2_1_2/components/clm/src/main/ncdio_pio.F90.in at line 368
check_dim ERROR: mismatch of input dimension 62336 with expected value
62125 for variable landunit

I am using a hybrid starting using the file b.e21.BHIST.f09_g17.CMIP6-historical.001 as the initial conditions

<entry id="RUN_REFCASE" value="b.e21.BHIST.f09_g17.CMIP6-historical.001">

this problem does not happen with CESM2_1_1.

Any help is wellcome,

Agustin
 

dbailey

CSEG and Liaisons
Staff member
I believe this also requires setting init_interp_method = 'general' for the land as well. However, I will let @erik chime in here.
 
Hi everybody, I have just installed the new release of CESM2_1_2 in our computer. I get the following error reading the initial data.

check_dim ERROR: mismatch of input dimension 62336 with expected value
62125 for variable landunit
Did you mean to set use_init_interp = .true. in user_nl_clm?
(Setting use_init_interp = .true. is needed when doing a
transient run using an initial conditions file from a non-transient run,
or a non-transient run using an initial conditions file from a transient run,
or when running a resolution or configuration that differs from the initial conditions.)
ERROR:
ERROR in /lustre/lusitania_homes/UniversidadDeExtremadura/joseagustin.garcia/Do
cuments/CESM/cesm2_1_2/components/clm/src/main/ncdio_pio.F90.in at line 368
check_dim ERROR: mismatch of input dimension 62336 with expected value
62125 for variable landunit

I am using a hybrid starting using the file b.e21.BHIST.f09_g17.CMIP6-historical.001 as the initial conditions

<entry id="RUN_REFCASE" value="b.e21.BHIST.f09_g17.CMIP6-historical.001">

this problem does not happen with CESM2_1_1.

Any help is wellcome,

Agustin

I have just writen both options in the user_nl_clm file:

use_init_interp = .true.
init_interp_method = 'general'

and it now works. Thanks very much for your help
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
The init_interp_method = 'general' should appear by default in lnd_in if use_init_interp = .true., so it may not be necessary to add it to user_nl_clm.
 

Hemraj

Hemraj Bhattarai
Member
The init_interp_method = 'general' should appear by default in lnd_in if use_init_interp = .true., so it may not be necessary to add it to user_nl_clm.
Yes, @oleson the default setting inside $CaseDir>CaseDocs>lnd_in is:
use_init_interp = .true.
init_interp_method = 'general'
I also have a similar problem as discussed above. I also copied these two lines in the $CaseDir>user_nl_clm and rerun the model, it solved the problem. Now I am confused, if it is taking the same thing by default, why is the problem solved when copied to user_nl_clm?
Could you please clear my confusion? Many thanks.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Hmmm, if you added those settings to the user_nl_clm file and it started working, they both must not have been set that way by default for this case. What @oleson was saying however was just that you did need to set

Code:
use_init_interp = .true.

But, you didn't really need to set "init_interp_method" in this case. It's fine to set it, but only required to set use_init_interp.
 
Top