Skip to content

Put KIAPS rad LW back to original#1612

Merged
davegill merged 1 commit intowrf-model:developfrom
davegill:LWK
Dec 21, 2021
Merged

Put KIAPS rad LW back to original#1612
davegill merged 1 commit intowrf-model:developfrom
davegill:LWK

Conversation

@davegill
Copy link
Contributor

TYPE: bug fix

KEYWORDS: KIAPS, radiation, LW

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
In an attempt to get the KIAPS radiation LW scheme to build with older GNU compilers,
some simplifications were introduced to remove ONLY clauses. However, an error was
introduced - a module from RRTMG was "USEd" (hash 911b845 introduced some
simplifications and the error, hash a83c7cb tried to fix the error in the
wrong way).

Solution:
Put the entire KIAPS radiation LW scheme back to the original pristine condition, as the
current GNU compilers have no troubles with building the scheme. And fix that bug!

LIST OF MODIFIED FILES:

TESTS CONDUCTED:

  1. GNU builds the original KIAPS LW radiation scheme.
  2. Jenkins is all PASS.

RELEASE NOTE: An error was introduced into the KIAPS LW radiation scheme. This problem
tried to fix a compilation failure, and ended up introducing yet another compile-time
failure. The solution is to revert the entire KIAPS LW radiation scheme to the original
pristine condition.

TYPE: bug fix

KEYWORDS: KIAPS, radiation, LW

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
In an attempt to get the KIAPS radiation LW scheme to build with older GNU compilers,
some simplifications were introduced to remove ONLY clauses. However, an error was
introduced - a module from RRTMG was "USEd" (hash 911b845 introduced some
simplifcations and the error, hash a83c7cb tried to fix the error in the
wrong way).

Solution:
Put the entire KIAPS radiation LW scheme back to the original pristine condition, as the
current GNU compilers have no troubles with building the scheme. And fix that bug!

LIST OF MODIFIED FILES:

TESTS CONDUCTED:
1. GNU builds the original KIAPS LW radiation scheme.
2. Jenkins is all PASS.

RELEASE NOTE: An error was introduced into the KIAPS LW radiation scheme. This problem
tried to fix a compilation failure, and ended up introducing yet another compile-time
failure. The solution is to revert the entire KIAPS LW radiation scheme to the original
pristine condition.
@davegill
Copy link
Contributor Author

davegill commented Dec 21, 2021

@weiwangncar @smileMchen
Folks,
Here is the KIAPS LW radiation PR. Note that this is reverting the (broken) mods to the original version. When I use these mods WITH Ming's GHG branch, then the GHG branch builds.

@davegill davegill merged commit 9c4124d into wrf-model:develop Dec 21, 2021
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
TYPE: bug fix

KEYWORDS: KIAPS, radiation, LW

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
In an attempt to get the KIAPS radiation LW scheme to build with older GNU compilers,
some simplifications were introduced to remove ONLY clauses. However, an error was
introduced - a module from RRTMG was "USEd" (hash 911b845 introduced some
simplifications and the error, hash a83c7cb tried to fix the error in the
wrong way).

Solution:
Put the entire KIAPS radiation LW scheme back to the original pristine condition, as the
current GNU compilers have no troubles with building the scheme. And fix that bug!

LIST OF MODIFIED FILES:

TESTS CONDUCTED:
1. GNU builds the original KIAPS LW radiation scheme.
2. Jenkins is all PASS.

RELEASE NOTE: An error was introduced into the KIAPS LW radiation scheme. This problem
tried to fix a compilation failure, and ended up introducing yet another compile-time
failure. The solution is to revert the entire KIAPS LW radiation scheme to the original
pristine condition.
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