-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meier2022 option fails in BiogeophysPreFluxCalcsMod.F90 line 208 in IHist case #2264
Comments
My test (i.e. removing the if istcrop and the endrun, as described above) and restarting on Jan 1, 2001, worked. The simulation finished in 2014 as intended. At stand-up with @samsrabin @ekluzek
A Clm50 test in the cheyenne test-suite already shows diffs greater than roundoff in 357 fields. To maintain bfb same answers in clm50 and clm45, I am now trying this:
Only Clm51 tests show diffs, as expected. Diffs are small. I also restarted (at 2001 again) the longer IHist simulation that originally revealed the problem (linked at the top of the page). Expecting changed answers, but then try the beginning of the run, too (expecting bfb). @ekluzek suggested adding (or changing) an IHist test that runs across the 2001-2002 transition, so as to catch this in the future. I don't think I agree because we are soon changing to ctsm5.2 datasets, and we do not know whether the same problem will appear in the same year. @samsrabin suggested functionalizing the return of htop_min that currently occurs in CNVegStructUpdate. Open issue? |
@slevis-lmwg this is really close to #2234 if they are duplicates we should close one or the other. Since, you are actively working on this one, I think that might mean closing #2234 as a duplicate of this. Can you look at them and figure that out? Thanks |
Our second attempt explained here does not fix the problem, presumably because initializing htop in InitCold does not initialize it at year transitions. Also, from the conversation with @samsrabin on Monday, crop htop may equal zero before emergence and after harvest. So I will return to my original fix, open a PR, and see what people think. |
Brief summary of bug
Meier2022 option fails on Dec 31, 2001, of this IHist case:
NCAR/LMWG_dev#38
Simulation started in 1989.
General bug information
CTSM version you are using:
ctsm5.1.dev154
Does this bug cause significantly incorrect results in the model's science?
Run fails.
Configurations affected:
./create_newcase --case ctsm51d154_2deg_GSWP3V1_hist --compset HIST_DATM%GSWP3v1_CLM51%BGC-CROP_SICE_SOCN_MOSART_SGLC_SWAV --res f19_g17 --run-unsupported
Details of bug
During pre-tag testing for dev154, I encountered the same failure in the aux_clm test-suite. I resolved it by adding the if istcrop statement:
That this now fails in an IHist simulation tells me that the model likely encounters tiny htop for a newly introduced non-crop patch. I propose that we remove the new if istcrop, as well as the endrun and just set z0m and displa to 0 for tiny htop.
Important details of your setup / configuration so we can reproduce the bug
Case was submitted here:
/glade/work/slevis/git_ctsm_tags/ctsm5.1.dev154/cime/scripts/ctsm51d154_2deg_GSWP3V1_hist
Important output or errors that show the problem
Case ran here:
/glade/scratch/slevis/ctsm51d154_2deg_GSWP3V1_hist/run
The text was updated successfully, but these errors were encountered: