CAM FXHIST tests that fail
- Dominant language
- Fortran
- Stars
- 352
- Forks
- 361
- Avg merge
- 6d 6h
- Merged PRs (30d)
- 8
Description
### Brief summary of bug
In ctsm5.3.059 these two tests fail:
ERS_Ld3.f19_f19_mg17.FXHIST.derecho_intel.cam-waccmx_weimer (SETUP)
SMS_D_Ln9.f19_f19_mg17.FXHIST.derecho_intel.cam-outfrq9s_amie (SETUP)
I think the issue has to do with the RUN_STARTDATES that are choosen.
We have some testmods for waccmx type testing that probably need to be updated
### General bug information
**CTSM version you are using:** ctsm5.3.058-93-gb96596982 (will be ctsm5.3.059)
**Does this bug cause significantly incorrect results in the model's science?** No
**Configurations affected:** Seems to occur for f19 cases at non standard RUN_STARTDATE times
### Details of bug
### Important details of your setup / configuration so we can reproduce the bug
The config files for each case looks like this:
```
cat shell_commands
./xmlchange --force RUN_STARTDATE=2005-12-31
./xmlchange --force ROF_NCPL=\$ATM_NCPL
cases/ERS_Ld3.f19_f19_mg17.FXHIST.derecho_intel.cam-waccmx_weimer.GC.ctsm5358testdelist> cat user_nl_cpl
reprosum_diffmax=1.0e-14
reprosum_recompute=.true.
```
```
cat shell_commands
./xmlchange --force ROF_NCPL=\$ATM_NCPL
./xmlchange --force GLC_NCPL=\$ATM_NCPL
./xmlchange --force RUN_STARTDATE=2003-10-28
```
### Important output or errors that show the problem
Fails in preview_namelist step like this:
```
If an old case build already exists, might want to run 'case.build --clean' before building
You can now run './preview_run' to get more info on how your case will be run
---------------------------------------------------
2025-06-16 17:33:17: Test 'ERS_Ld3.f19_f19_mg17.FXHIST.derecho_intel.cam-waccmx_weimer' failed in phase 'SETUP' with exception 'ERROR: Fatal error in case.cmpgen_namelists: 2025-06-16 17:33:16 atm
Create namelist for component cam
Calling /glade/derecho/scratch/erik/cesm3_0_alpha07a/components/cam//cime_config/buildnml
...calling cam buildcpp to set build time options
CAM namelist copy: file1 /glade/derecho/scratch/erik/cesm3_0_alpha07a/cime/scripts/cases/ERS_Ld3.f19_f19_mg17.FXHIST.derecho_intel.cam-waccmx_weimer.GC.ctsm5358testdelist/Buildconf/camconf/atm_in file2 /glade/derecho/scratch/erik/cases/ERS_Ld3.f19_f19_mg17.FXHIST.derecho_intel.cam-waccmx_weimer.GC.ctsm5358testdelist/run/atm_in
2025-06-16 17:33:17 lnd
Create namelist for component clm
Calling /glade/derecho/scratch/erik/cesm3_0_alpha07a/components/clm//cime_config/buildnml
ERROR: Command /glade/derecho/scratch/erik/cesm3_0_alpha07a/components/clm/bld/build-namelist failed rc=255
out=
err=Attempt to call undefined import method with arguments ("main") via package "CLMBuildNamelist" (Perhaps you forgot to load the package?) at /glade/derecho/scratch/erik/cesm3_0_alpha07a/components/clm/bld/build-namelist line 21.
ERROR : CLM build-namelist::CLMBuildNamelist::setup_logic_initial_conditions() : use_init_interp is NOT synchronized with init_interp_attributes in the namelist_defaults file, this should be corrected there'
```
Contributor guide
Assessment
This issue has not been assessed yet.