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

CLM not outputting NPP in BGC_CROP mode

James King

James King
Member
Hi all,

I'm running CESM2 with CLM5 in BGC_CROP mode. The model fails very quickly and the error is in the lnd log file

htapes_fieldlist ERROR: NPP in fincl( 29 ) for history tape
2 not found
ENDRUN:
ERROR: ERROR in histFileMod.F90 at line 699

I have asked the model to output NPP in user_nl_clm. The model is definitely not set up to use SP mode, so I'm not sure what the problem is. Logs are attached along with my user_nl_clm and lnd_in.

Thanks,

James
 

Attachments

  • lnd.log.1337885.chadmin1.ib0.cheyenne.ucar.edu.211104-093742.txt
    94.7 KB · Views: 4
  • lnd_in.txt
    8 KB · Views: 5
  • user_nl_clm.txt
    2.7 KB · Views: 8

oleson

Keith Oleson
CSEG and Liaisons
Staff member
It doesn't look like you are running with BGC-CROP. The lnd_in namelist settings indicate that BGC-CROP is not active (e.g., use_cn = .false., use_crop = .false., etc.)
 

James King

James King
Member
Hi Keith,

I specified it in the compset longname, which is
HIST_CAM60%CCTS2_CLM50%BGC-CROP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV

and it's in README.case

2021-11-01 08:30:08: Component LND is clm5.0:BGC (vert. resol. CN and methane) with prognostic crop:

Any idea what might have switched it off?

Cheers,

James
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I tried that compset with release-cesm2.2.0 and it seemed to work fine.
What do you have for "CLM_BLDNML_OPTS" in your env_run.xml?
I have:
value="-bgc bgc -crop"
 

James King

James King
Member
Hi Keith,

./xmlquery CML_BLDNML_OPTS

returns

CLM_BLDNML_OPTS:

This may be a result of me fiddling with the caseroot while trying to set CLM to cycle over a single year of transient landuse timeseries data. If I set

CLM_BLDNML_OPTS="-bgc bgc -crop"

do you reckon that would work? Or should I just rebuild the case from scratch?

Cheers,

James
 
Top