Skip to content

New default setting for RRTMG FAST and RRTMG KIAPS: no compile#1091

Merged
davegill merged 1 commit intowrf-model:developfrom
davegill:rrtmg_build_defaults
Feb 12, 2020
Merged

New default setting for RRTMG FAST and RRTMG KIAPS: no compile#1091
davegill merged 1 commit intowrf-model:developfrom
davegill:rrtmg_build_defaults

Conversation

@davegill
Copy link
Contributor

@davegill davegill commented Feb 12, 2020

TYPE: enhancement

KEYWORDS: RRTMG, FAST, KIAPS, postamble, cpp

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
The WRF code with the GNU compilers (from 6.3.* inclusive to anything before 9.1.0) will
sometimes fail to compile. The error is listed as an "internal compiler error". The two RRTMG
schemes (FAST and KIAPS) are the standard causes for GNU failing to compile the WRF
code successfully.

Solution:
The following two mods were previously made to the WRF source code:

  1. commit 17b5ac4, PR KLUGE: RRTMG FAST + GNU > 6.3.0 is an internal compiler error (attempt #2) #517 "KLUGE: RRTMG FAST + GNU > 6.3.0 is an internal compiler error"
  2. commit a83c7cb, PR KLUGE - Option to avoid building RRTMK due to GNU problem #1084 "KLUGE - Option to avoid building RRTMK due to GNU problem"

This new PR just resests the default settings from "always build these schemes" to "never
build these schemes".

LIST OF MODIFIED FILES:
modified: arch/postamble

TESTS CONDUCTED:

  1. The logic to disable the RRTMG FAST scheme has been in place for more than 18 months.
  2. Actually disabling the build of RRTMG FAST has been tested hundreds of times with
    the combination of the automated Jenkins regression test and the NCAR-only classroom
    tests.
  3. The KIAPS infrastructure has been tested with both the automated Jenkins test and
    the NCAR classroom regression tests.

RELEASE NOTE: The default setting for the WRF model is to NOT compile either of the two derivative RRTMG schemes: FAST or KIAPS. These codes break the GNU compiler (v6.3.0 through v8.*). To re-enable the schemes, modify the configure.wrf file after running the ./configure command. Replace the "zero" values with "ones" in the lines -DBUILD_RRTMG_FAST=0 or -DBUILD_RRTMK=0. This is a compile-time modification.

TYPE: enhancement

KEYWORDS: RRTMG, FAST, KIAPS, postamble, cpp

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
The WRF code with the GNU compilers (from 6.3.* inclusive to anything before 9.1.0) will
sometimes fail to compile. The error is listed as an "internal compiler error".
The two RRTMG schemes (FAST and KIAPS) are the standard causes for GNU failing to compile
the WRF code successfully.

Solution:
The following two mods were previously made to the WRF source code:
1. commit 17b5ac4, PR wrf-model#517 "KLUGE: RRTMG FAST + GNU > 6.3.0 is an internal compiler error"
2. commit a83c7cb, PR wrf-model#1084 "KLUGE - Option to avoid building RRTMK due to GNU problem"

This new PR just resests the default settings from "always build these schemes" to "never
build these schemes".

LIST OF MODIFIED FILES:
modified:   arch/postamble

TESTS CONDUCTED:
1. The logic to disable the RRTMG FAST scheme has been in place for more than 18 months.
2. Actually disabling the build of RRTMG FAST has been tested hundreds of times with
the combination of the automated Jenkins regression test and the NCAR-only classroom
tests.
3. The KIAPS infrastructure has been tested with both the automated Jenkins test and
the NCAR classroom regression tests.

RELEASE NOTE: The default setting for the WRF model is to NOT compile either of the two derivative RRTMG schemes: FAST or KIAPS. These codes break the GNU compiler (v6.3.0 through v8.*). To re-enable the schemes, modify the `configure.wrf`file after running the `./configure` command. Replace the "zero" values with "ones" in the lines `-DBUILD_RRTMG_FAST=0` or -DBUILD_RRTMK=0`. This is a compile-time modification.
@davegill davegill requested a review from a team as a code owner February 12, 2020 18:58
@davegill
Copy link
Contributor Author

@weiwangncar
Wei,
As requested, the default is OFF for these two schemes.

@weiwangncar
Copy link
Collaborator

@davegill Thanks and I'm good with this change.

@davegill davegill merged commit bf2b1b8 into wrf-model:develop Feb 12, 2020
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