Skip to content

SMS3dTKE: Remove broken packaging for km_opt=5#1012

Merged
davegill merged 2 commits intowrf-model:developfrom
davegill:sms3dtke_registry
Nov 18, 2019
Merged

SMS3dTKE: Remove broken packaging for km_opt=5#1012
davegill merged 2 commits intowrf-model:developfrom
davegill:sms3dtke_registry

Conversation

@davegill
Copy link
Contributor

@davegill davegill commented Nov 15, 2019

TYPE: bug fix

KEYWORDS: packaging, sms3dtke

SOURCE: Internal

DESCRIPTION OF CHANGES:

The existing packaging in combination with the logic added in the
code for PR #972 (Add a scale-adaptive 3DTKE parameterization scheme as a subgrid
mixing option) d059afe causes segmentation faults for most model
simulations that use km_opt=2.

The packaging is important, but we have a broken repository. The
packaging will be removed, developers will fix the problem, and
then put the packaging back into the Registry file for this option.

Jan Mandel states:

"found that l_scale, th_h_tend, and tke_diffusion_h_tend made my km_opt=2 test case fail,
and with them removed from the package it did not fail. But I do not know if sms_3dtke even
with the packaging removed does not break something in a different way."

Perhaps these are the variables to start the seg fault investigation to re-introduce
packaging for this option.

LIST OF MODIFIED FILES:
modified: Registry/Registry.EM_COMMON

TESTS CONDUCTED:

  • With original packaging, all tests with km_opt=2 failed
  • With mods (removing km_opt=5 packaging), km_opt=2 and km_opt=5 tests pass

TYPE: bug fix

KEYWORDS: packaging, sms3dtke

SOURCE: Internal

DESCRIPTION OF CHANGES:

The existing packaging in combination with the logic added in the
code for HASH HERE causes segmentation faults for most model
simulations that use km_opt=2.

The packaging is important, but we have a broken repository. The
packaging will be removed, developers will fix the problem, and
put the packaging back in the Registry file.

LIST OF MODIFIED FILES:
modified:   Registry/Registry.EM_COMMON

TESTS CONDUCTED:
 - [x] With original packaging, all tests with km_opt=2 failed
 - [x] With mods (removing km_opt=5 packaging), km_opt=2 and
km_opt=5 tests pass
@davegill davegill requested a review from a team as a code owner November 15, 2019 00:34
@weiwangncar
Copy link
Collaborator

@davegill This looks ok to me.

@davegill
Copy link
Contributor Author

@kkeene44 @weiwangncar @dudhia
Kelly,
Would you please review this PR. You have "super powers", so you can be an infrastructure person. Wei and Jimy both are OK with this.

@davegill davegill merged commit 6d95883 into wrf-model:develop Nov 18, 2019
liujake added a commit that referenced this pull request Feb 12, 2020
TYPE: bug fix

KEYWORDS: wrfplus, TL/AD code

SOURCE: internal

DESCRIPTION OF CHANGES:
Two recent WRF model code changes break the wrfplus compilation:
1. ESMF name change 
This modification allowed the CTSM development to use standard ESMF without conflicting 
with WRF _old_ ESMF library namespace.
Commit 8af5385, PR #1066 "Enabling WRF build with ESMF library"
2. module_diffusion_em_ad.F, 3d scale aware TKE (one of these, take your pick)
Commit d059afe, PR #972 "Add a scale-adaptive 3DTKE parameterization scheme as a subgrid mixing option
Commit 6d95883, PR #1012 "SMS3dTKE: Remove broken packaging for km_opt=5"
Commit 94e5ed9, PR #1013 "Add missing "IF km_opt==5" tests for diag computations"
Commit dd0c209, PR #1026 "Fixing the problem that km_opt=5 breaks km_opt=2 and cleaning codes"

LIST OF MODIFIED FILES: 
M       share/mediation_integrate.F
M       wrftladj/module_diffusion_em_ad.F

TESTS CONDUCTED: wrfplus code compiles now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants