-
Notifications
You must be signed in to change notification settings - Fork 250
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
Smoke/Dust updates for RRFS code freeze #2024
Conversation
@haiqinli Please check the code for errors. Your Hera log indicates the listed tests failed to run, not that the results did not compare. |
Thanks for pointing this out. We introduced a new namelist option "ebb_dcycle" to support fire emission for different mode. ebb_dcycle=1 is the original option (we call it retro run mode) to read hourly emission and fire radiation power, and corresponds to the fire emission input data in the regression test run case. ebb_dcycle=2 is the new option (we call it forecast mode) to read daily mean fire emission, fire radiation power, fire duration and fire potential, and calculate the diurnal cycle of biomass burning emission within RRFS-SD. ebb_dcycle=2 will be used for RRFS-A parallel run, and was set as default configuration in the code. Since ebb_dcyle is not available in the input namelist of the regression test run cases, and the fire emission input data in the regression test run cases is for ebb_dcycle=1. Thus those regression test runs failed. I will update the code to use ebb_dcycle=1 as default configuration, and rerun the regression test. Will update the log file when the regression test rerun is done. Thanks. |
@haiqinli Thanks. You also note that new input-data is required. Is that correct? If yes, please provide the location where the data is currently staged so that code managers can transfer it to all the platforms. You indicate this is for a code freeze. Do you have date when this will be required? We need to know if this is a high priority PR. |
@DeniseWorthen Yes, we need to update the fire emission input data. We are processing a real case for conus13km, and will update when we make it done. Yes, this PR is for the RRFSv1 code freeze. We will also update when we get the exact required date. Thanks. |
@haiqinli We're adding a Commit Message requirement to the PRs. Please add one in the space provided. |
@DeniseWorthen We have updated the PR to address UFS code reviewers's comments, and rerun the regression test run. If we run the forecast mode for diurnal cycle of plume, the vegetation fraction from RUC LSM is required, but it is not available in the conus13km regression test cases. So I set the retro mode with hourly fire emission as default for the conus13km regression test cases, and we don't need to update the input files. The log file of regression test run is attached. Thanks. |
@haiqinli Thanks. Do you have a target date this is required by? |
@DeniseWorthen It would be great if we can process this PR this week. Thanks. |
@jkbk2004 Please note the requested priority for this PR. |
Thanks for reminding! Several priority PRs are going-on. #2044 is on-going. I think we can commit this pr tomorrow. |
@haiqinli I think we're going to begin regression testing on this PR next. Can you please sync up your branch? |
@haiqinli can you sync up the branches? so we can work on this pr. |
cc4bb07
to
991d652
Compare
@haiqinli did you intend to close this PR? |
@zach1221 No. I just synced with the authoritative repository. |
@haiqinli can you re-open NOAA-EMC/fv3atm#728 ? |
@jkbk2004 Reopened. Thanks. |
Jenkins-ci ORTs failed |
@hu5970 FYI: all other tests pass except a few Hercules/gnu rap cases. |
I see many big local arrays in cu_gf_deep.F90. One of their dimensions is nchem, which may be zero. If smoke is enabled, nchem=3. What does the Intel and GNU compiler do when a dimension is 0? Do they allocate the array with a dimension of 1? Or is it not allocated at all? |
Actually I also sent the nchem as input to the MYNN PBL, and defined some local arrays in module_bl_mynn.F90. |
In the develop branch, I used the following, In this PR, I changed it as, @SamuelTrahanNOAA Maybe we should change it back? |
If you're passing in the correct value for nchem, it should be better than 3. When smoke/dust is disabled, nchem=0, and the model should use less memory. You could try hard-coding it to 3 and see what happens. |
@jkbk2004 Would you like to try hard-coding nchem=3 in ccpp/data/GFS_typedefs.F90 for Hercules/gnu? Or should I update the PR with hard-coding nchem=3? Thanks. |
@jkbk2004 - Can you tell us how to reproduce the problem? |
@haiqinli try to update on physics feature branch. I will try to manually update on hercules/gnu. @SamuelTrahanNOAA the issue only pops up on hercules/gnu. If you don't have access to hercules, I think I will follow up to check on hercules. |
@haiqinli I tried to set in GFS_typedefs.F90
But I see still same issue. |
@jkbk2004 Thank you very much for trying this. I am also checking the code, and will update if I can find something. |
Regardless of the value of nchem and ndvel (0 or 3) the arrays like chem3d are never allocated if Model%rrfs_sd is false, which probably is for these rap tests. In that case status of chem3d pointer in disassociated. Disassociated pointer should not be passed to dummy array (which is not pointer itself) with explicit shape, like chem3d is in cu_gf_deep_run. |
@haiqinli - I believe @DusanJovic-NOAA's suggestion is to change the dimensions to |
@SamuelTrahanNOAA @DeniseWorthen Thank you very much for your suggestions. I will update the feather branch with dimension to ":". |
@haiqinli keep me posted. I will check on hercules. |
@jkbk2004 I have updated the feature brach of ccpp-physics and fv3atm. Thanks. |
@haiqinli Did you commit your changes? You say you've updated your branch, but I don't see any update here. |
@DeniseWorthen I am sorry that only the fv3atm and ccpp-physics were updated. The feature branch of ufs-weather-model is just updated. Thanks! |
rap_control_gnu is running ok with the fix on hercules. I will finish remaining test on hercules and push test log. @zach1221 FYI |
FYI: sanity check shows no impact of last commit on existing tests on other machines. So all tests are done. We can start merging process. |
@jkbk2004 Thank you very much for your updates! I am available to work with you to update the submodules. |
PR Author Checklist:
Description
Commit Message
This smoke/dust update PR is for the RRFS code freeze.
Linked Issues and Pull Requests
Associated UFSWM Issue to close
Subcomponent Pull Requests
Blocking Dependencies
"None"
Subcomponents involved:
Anticipated Changes
Input data
Regression Tests:
FAILED TESTS:
conus13km_control_intel
conus13km_debug_intel
conus13km_debug_qr_intel
conus13km_debug_2threads_intel
conus13km_radar_tten_debug_intel
conus13km_control_gnu
conus13km_debug_gnu
conus13km_debug_qr_gnu
conus13km_debug_2threads_gnu
conus13km_radar_tten_debug_gnu
Tests effected by changes in this PR:
The above RT's will be changed by the code updates. Since the inclusion of convective transport and wet removal of smoke/dust; a new dry deposition; and updated smoke emission inputs. The log file of regression test run is attached. [RegressionTests_hera.log](https://github.com/ufs-community/ufs-weather-model/files/13540338/RegressionTests_hera.log)Libraries
Code Managers Log
Testing Log: