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 while creating surface dataset for single point simulation using PTCLM tool

Jyoti Singh

Jyoti Singh
Member
I am getting an error as following:

1647970971255.png
I am using I2000Clm50BgcCrop and cism ice evolution is turned off by default do I still need to provide the variable glc2lnd_smapname?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
The compset longname for I2000Clm50BgcCrop is:

2000_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_CISM2%NOEVOLVE_SWAV

For this single-point case I would set it up with stub runoff and glacier models:

2000_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_SROF_SGLC_SWAV

Then you shouldn't have to provide any glc and lnd mapping files.
 

Jyoti Singh

Jyoti Singh
Member
Using the compset 2000_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_SROF_SGLC_SWAV, I have successfully build and submitted the case.
But the job was terminated with exit status 1.

So I checked the log files, this is the content from vi run.CH-XIA_test23mar.o3409291 file




jyotis@cheyenne4:/glade/work/jyotis/point_runs/CH-XIA_test23mar> vi run.CH-XIA_test23mar.o3409291
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Generating namelists for /glade/work/jyotis/point_runs/CH-XIA_test23mar
Creating component namelists
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/data_comps/datm/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime_config/buildnml
WARNING: CLM is starting up from a cold state
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/sice/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/socn/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/srof/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/sglc/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/swav/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/components/stub_comps/sesp/cime_config/buildnml
Calling /glade/work/jyotis/clm5.0.34/cime/src/drivers/mct/cime_config/buildnml
Finished creating component namelists

-------------------------------------------------------------------------

- Prestage required restarts into /glade/scratch/jyotis/CH-XIA_test23mar/run
- Case input data directory (DIN_LOC_ROOT) is /glade/work/jyotis/inputdata
- Checking for required input datasets in DIN_LOC_ROOT

-------------------------------------------------------------------------

2022-03-23 13:01:02 MODEL EXECUTION BEGINS HERE
run command is /glade/scratch/jyotis/CH-XIA_test23mar/bld/cesm.exe >> cesm.log.$LID 2>&1
ERROR: RUN FAIL: Command ' /glade/scratch/jyotis/CH-XIA_test23mar/bld/cesm.exe >> cesm.log.$LID 2>&1 ' failed
See log file for details: /glade/scratch/jyotis/CH-XIA_test23mar/run/cesm.log.3412359.chadmin1.ib0.cheyenne.ucar.edu.220323-130100



So I checked cesm.log.3412359.chadmin1.ib0.cheyenne.ucar.edu.220323-130100 file


.
.
.
ERROR: (datm_comp_run) ERROR: wind and tbot must be in streams for CLMNCEP
Image PC Routine Line Source
cesm.exe 0000000001463D4D Unknown Unknown Unknown
cesm.exe 0000000000D56CE2 shr_abort_mod_mp_ 114 shr_abort_mod.F90
cesm.exe 00000000004E12A8 datm_comp_mod_mp_ 893 datm_comp_mod.F90
cesm.exe 00000000004E278F datm_comp_mod_mp_ 551 datm_comp_mod.F90
cesm.exe 00000000004DAF39 atm_comp_mct_mp_a 167 atm_comp_mct.F90
cesm.exe 0000000000424668 component_mod_mp_ 267 component_mod.F90
cesm.exe 000000000041372B cime_comp_mod_mp_ 1231 cime_comp_mod.F90
cesm.exe 000000000042180E MAIN__ 114 cime_driver.F90
cesm.exe 0000000000404F5E Unknown Unknown Unknown
libc-2.22.so 00002B7E156586E5 __libc_start_main Unknown Unknown
cesm.exe 0000000000404E69 Unknown Unknown Unknown


I also checked the contents of atm.log.3412359.chadmin1.ib0.cheyenne.ucar.edu.220323-130100 file and the last portion of the file is as follows:


(shr_strdata_print) ----------------------------------------------------------
(datm_comp_init) initialize gsmaps
(datm_comp_init) copy domains
(datm_comp_init) allocate AVs
(datm_comp_init) flds_strm =
(shr_dmodel_readstrm) open : /glade/work/jyotis/inputdata/atm/datm7/CLM1PT_data/1x1pt_CH-XIA/2007-11.nc
(shr_dmodel_readstrm) file lb: /glade/work/jyotis/inputdata/atm/datm7/CLM1PT_data/1x1pt_CH-XIA/2007-11.nc 337
(shr_dmodel_readstrm) file ub: /glade/work/jyotis/inputdata/atm/datm7/CLM1PT_data/1x1pt_CH-XIA/2007-11.nc 338
(shr_dmodel_readstrm) open : /glade/work/jyotis/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc
(shr_dmodel_readstrm) file lb: /glade/work/jyotis/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc 1824
(shr_dmodel_readstrm) file ub: /glade/work/jyotis/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc 1824
(shr_dmodel_readstrm) open : /glade/work/jyotis/inputdata/atm/datm7/topo_forcing/topodata_0.9x1.25_USGS_070110_stream_c151201.nc
(shr_dmodel_readstrm) file lb: /glade/work/jyotis/inputdata/atm/datm7/topo_forcing/topodata_0.9x1.25_USGS_070110_stream_c151201.nc 1
(shr_dmodel_readstrm) file ub: /glade/work/jyotis/inputdata/atm/datm7/topo_forcing/topodata_0.9x1.25_USGS_070110_stream_c151201.nc 1
(datm_comp_run) ERROR: wind and tbot must be in streams for CLMNCEP
ERROR: (datm_comp_run) ERROR: wind and tbot must be in streams for CLMNCEP


This is the content of my user_datm.streams.txt.CLM1PT.CLM_USRDAT file and wind and bot is

1648063998930.png


I have included wind and bot in the streams so why is the error?
 

Jyoti Singh

Jyoti Singh
Member
I am checking the netCDF files with climate data (e.g. 2007-11.nc) and some missing values are written as Nan, seems like that may be a problem.
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
The variable names on the left in your streams file need to be the variable names in your forcing file, while the variable names on the right need to be the variable names the datm expects, e.g., for GSWP3V1:

ZBOT z
TBOT tbot
RH rh
WIND wind
PRECTmms precn
FSDS swdn
PSRF pbot
FLDS lwdn
 

Jyoti Singh

Jyoti Singh
Member
Thanks, I changed the variable names as I thought the right side is for user forcing variables. It works now.
Now their is different error and I referred to land log file.

.
.
.
paramMod.F90::readParameters :: reading CLM parameters
(GETFIL): attempting to find local file clm5_params.c200717.nc
(GETFIL): using /glade/work/jyotis/inputdata/editparam/clm5_params.c200717.nc

Opened existing file
/glade/work/jyotis/inputdata/editparam/clm5_params.c200717.nc 262144
Attempting to read CN/BGC shared namelist parameters .....
Read in bgc_shared namelist from: lnd_in
CN/BGC shared namelist parameters:
decomp_depth_efolding = 10.0000000000000
constrain_stress_deciduous_onset = T
ncd_inqvid: variable psi_soil_ref is not on dataset
ENDRUN:
ERROR:
-Error reading in parameters file:psi_soil_refERROR in PhotosynthesisMod.F90 at
line 656

So I changed the parameter file and build the case again. This error was solved but different error was thrown, the ext from land log file

.
.
.
(shr_strdata_print) ----------------------------------------------------------

(shr_dmodel_readstrm) open : /glade/work/jyotis/inputdata/lnd/clm/ndepdata/fndep_clm_hist_b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensmean_1849-2015_monthly_0.9x1.25_c180926.nc
(shr_dmodel_readstrm) file lb: /glade/work/jyotis/inputdata/lnd/clm2/ndepdata/fndep_clm_hist_b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensmean_1849-2015_monthly_0.9x1.25_c180926.nc 1822
shr_dmodel_readstrm) file ub: /glade/work/jyotis/inputdata/lnd/clm2/ndepdata/fndep_clm_hist_b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensmean_1849-2015_monthly_0.9x1.25_c180926.nc 1823
hist_htapes_build Initializing clm2 history files

------------------------------------------------------------

htapes_fieldlist ERROR: ALEAF in fincl( 1 ) for history tape
2 not found
ENDRUN:
ERROR: ERROR in histFileMod.F90 at line 698

I did not added the ndepdata, when I ran ./preview_namelist these files were downloaded automatically so I don't know what to change here.
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
ALEAF is not a valid history field in your code base. Or it's encapsulated in an if statement that is not being triggered.
 
Top