Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG FIX, remove PX updates that packaged RA and RS (wrf-model#763)
TYPE: bug fix KEYWORDS: bug, PX, RA, RS, package, Noah SOURCE: internal DESCRIPTION OF CHANGES: Problem: After commit sha eb79235 (PR wrf-model#733 US EPA PX LSM updates), most uses of sf_surface_physics=2 would fail in the first time step with messages that indicated some memory corruption: ``` wrf.exe(68190,0x7fff9be48380) malloc: *** error for object 0x7f8fdbc0db78: incorrect checksum for freed object - object was probably modified after being freed. ``` or a horrific number of CFLs that tend to not usually happen at the beginning of the WRF model simulation when given a reasonable IC: ``` 70631 points exceeded cfl=2 in domain d01 at time 2000-01-24_12:00:00 hours MAX AT i,j,k: 40 13 48 vert_cfl,w,d(eta)= 3.81348181E+18 -8.02897697E+15 4.13541310E-03 ``` Solution: A possible solution was to go ahead and include physics packages that permitted super-light speeds, but that seemed time consuming and Star Fleet derivative. Alternatively, it was noticed that the developers included RA and RS as part of the package for the sf_surface_physics==7 (PXLSMSCHEME). These variables are not unique to the PX LSM scheme, and were part of the argument list for Noah LSM. Removing RA and RS from the PXLSMPSCHEME list of packaged variables is a correction that fits the symptomology of the reported errors. LIST OF MODIFIED FILES: M Registry/Registry.EM_COMMON TESTS CONDUCTED: 1. Serial, OpenMP, and MPI with sf_surface_physics=2 all fail in the first time step, without this mod. 2. All three build options with gnu/6.3.0 work when including this mod.
- Loading branch information