-
Notifications
You must be signed in to change notification settings - Fork 727
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
Segfault with sf_surface_mosaic in WRF4.3.1. #1633
Comments
@epn09 Do you have a simple fix for this? If you do, can you test it and let us know? |
@weiwangncar Please take a look at #1638. |
davegill
pushed a commit
that referenced
this issue
Jan 19, 2022
…z = 0 (#1638) TYPE: bug fix KEYWORDS: noah mosaic, wudapt SOURCE: Do Ngoc Khanh (Tokyo Institute of Technology) DESCRIPTION OF CHANGES: Fix runtime error when using sf_surface_mosaic = 1 with use_wudapt_lcz = 0. Problem: Segmentation fault occurs when running the model using sf_surface_mosaic = 1 with use_wudapt_lcz = 0 as described in detail in #1633. Solution: The code now checks for use_wudapt_lcz and uses different code to define urban categories in lsm_mosaic routine in module_sf_noahdrv.F. ISSUE: Fixes #1633 LIST OF MODIFIED FILES: M dyn_em/module_first_rk_step_part1.F M phys/module_sf_noahdrv.F M phys/module_surface_driver.F TESTS CONDUCTED: 1. When use_wudapt_lcz = 1: bit-by-bit identical output before and after modification. 2. When use_wudapt_lcz = 0: Segmentation fault is fixed. 3. The Jenkins tests are all passing. RELEASE NOTE: Fix runtime error when using sf_surface_mosaic = 1 with use_wudapt_lcz = 0.
vlakshmanan-scala
pushed a commit
to scala-computing/WRF
that referenced
this issue
Apr 4, 2024
…z = 0 (wrf-model#1638) TYPE: bug fix KEYWORDS: noah mosaic, wudapt SOURCE: Do Ngoc Khanh (Tokyo Institute of Technology) DESCRIPTION OF CHANGES: Fix runtime error when using sf_surface_mosaic = 1 with use_wudapt_lcz = 0. Problem: Segmentation fault occurs when running the model using sf_surface_mosaic = 1 with use_wudapt_lcz = 0 as described in detail in wrf-model#1633. Solution: The code now checks for use_wudapt_lcz and uses different code to define urban categories in lsm_mosaic routine in module_sf_noahdrv.F. ISSUE: Fixes wrf-model#1633 LIST OF MODIFIED FILES: M dyn_em/module_first_rk_step_part1.F M phys/module_sf_noahdrv.F M phys/module_surface_driver.F TESTS CONDUCTED: 1. When use_wudapt_lcz = 1: bit-by-bit identical output before and after modification. 2. When use_wudapt_lcz = 0: Segmentation fault is fixed. 3. The Jenkins tests are all passing. RELEASE NOTE: Fix runtime error when using sf_surface_mosaic = 1 with use_wudapt_lcz = 0.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
sf_surface_mosaic = 1
.sf_surface_mosaic = 0
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Attachments
Additional context
I think the error is due to #1419, particularly this change:
WRF/phys/module_sf_noahdrv.F
Lines 3601 to 3607 in 236c1de
WRF/phys/module_sf_noahdrv.F
Lines 3624 to 3634 in c2f9b99
The text was updated successfully, but these errors were encountered: