Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TYPE: bug fix KEYWORDS: PBL, LES SOURCE: internal DESCRIPTION OF CHANGES: Problem: A few PBL schemes include scalar components that are advected. These fields are required on all domains. With an LES option on a finer domain, that grid does not have the additional scalar component, which causes a segfault when trying to access that field. Solution: Restrict what PBL schemes are eligible for use with the LES (no PBL) option. ISSUE: Fixes wrf-model#1514 LIST OF MODIFIED FILES: modified: Registry/Registry.EM_COMMON modified: share/module_check_a_mundo.F TESTS CONDUCTED: 1. When an incompatible CG PBL and FG LES are selected, the code successfully stops. ``` &physics bl_pbl_physics = 5, 0, --- ERROR: LES PBL on fine grid does not work with CG PBL option 5 Choose a CG PBL option without any scalar components Fix bl_pbl_physics in namelist.input Alternatively, remove all of the packaged variables from the CG PBL selection -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: <stdin> LINE: 2523 NOTE: 1 namelist settings are wrong. Please check and reset these options ``` ``` &physics bl_pbl_physics = 6, 0, --- ERROR: LES PBL on fine grid does not work with CG PBL option 6 Choose a CG PBL option without any scalar components Fix bl_pbl_physics in namelist.input Alternatively, remove all of the packaged variables from the CG PBL selection -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: <stdin> LINE: 2523 NOTE: 1 namelist settings are wrong. Please check and reset these options ``` ``` &physics bl_pbl_physics = 16, 0, --- ERROR: LES PBL on fine grid does not work with CG PBL option 16 Choose a CG PBL option without any scalar components Fix bl_pbl_physics in namelist.input Alternatively, remove all of the packaged variables from the CG PBL selection -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: <stdin> LINE: 2523 NOTE: 1 namelist settings are wrong. Please check and reset these options ``` 2. Hopefully we say All jenkins tests are a PASS. RELEASE NOTE: A test was introduced to stop the incorrect combination of particular PBL schemes on coarser grids with the LES PBL option selected on a finer grid. Previously, this problem caused an inconsistent number of variables on the CG and FG, which caused segmentation faults when trying to do feedback or advection of unavailable fields.
- Loading branch information