New NoahMP submodule instructions (unary operator bug fix)#1660
New NoahMP submodule instructions (unary operator bug fix)#1660davegill merged 1 commit intowrf-model:release-v4.4from
Conversation
TYPE: bug fix KEYWORDS: unary operator, NoahMP SOURCE: Davide del Vento (CISL/NCAR), internal DESCRIPTION OF CHANGES: Problem: Several occurences of `a * -b` were caught by the Cray compiler during routine pre-derecho testing of WRF. Solution: The standard requires parentheses: `a * (-b)`. How to fix the NoahMP version: 1. Get the WRF source code, and the right branch (let's assume `develop` is the WRF branch). ``` git clone https://github.com/wrf-model/WRF cd WRF git checkout develop git checkout -b new_noahmp_for_some_reason ``` 2. Get the NoahMP repo available and in the WRF source code. Must be in the top level of the WRF directory structure to issue this command. ``` git submodule update --init --recursive ``` 3. Get the correct NoahM branch. Usually the NoahMP group tells us what to pick up. Here, let us assume it is the `release-v4.4-WRF` branch from NoahMP. ``` cd phys/noahmp git checkout release-v4.4-WRF cd .. ``` 4. Stage this modification. ``` git add noahmp ``` ISSUE: Fixes wrf-model#1659 ASSOCIATED REPOSITORY CHANGE: NCAR/noahmp#30 LIST OF MODIFIED FILES: modified: phys/noahmp TESTS CONDUCTED: 1. All non-standard syntax of above form was modified. 2. All jenkins tests are PASS.
|
@weiwangncar @dudhia @cenlinhe @davidedelvento Davide, |
Not sure what do you mean @davegill ? Is is something related to issue #1659 ? Or to commit a32cbe5 ? If the latter, I don't have permissions to change anything
Absolutely! It'll remain in my todo list until it builds and runs correctly. Thanks for fixing it so quickly. |
|
@davidedelvento |
dudhia
left a comment
There was a problem hiding this comment.
Works neatly to show the actual changes by clicking on the submodule file. But this approval is effectively just for the new link.
|
@davegill the second "unary operator bug fix" PR in Noah-MP has been merged into the "develop" and "release-v4.4-WRF" branches |
Thanks @davegill -- the correct spelling is Davide Del Vento with "Del Vento" being last name with a space and fully capitalized. But that is uncommon, so depending on the database this goes in all the other options are ok too. |
…l#1660) TYPE: bug fix KEYWORDS: unary operator, NoahMP SOURCE: Davide Del Vento (CISL/NCAR), internal DESCRIPTION OF CHANGES: Problem: Several occurrences of `a * -b` were caught by the Cray compiler during routine pre-derecho testing of WRF. Solution: The standard requires parentheses: `a * (-b)`. ### How to get a different (probably new) NoahMP version in the WRF repository 1. Get the WRF source code, and the right branch (let's assume `develop` is the WRF branch). ``` git clone https://github.com/wrf-model/WRF cd WRF git checkout develop git checkout -b new_noahmp_for_some_reason ``` 2. Get the NoahMP repo available and in the WRF source code. You must be in the top-most level of the WRF directory structure to issue this command on some OS. ``` git submodule update --init --recursive ``` 3. Get the correct NoahMP branch. Usually the NoahMP group tells us what to pick up. Here, let us assume it is the `release-v4.4-WRF` branch from NoahMP. ``` cd phys/noahmp git checkout release-v4.4-WRF cd .. ``` 4. Stage this modification. ``` git add noahmp ``` ISSUE: Fixes wrf-model#1659 ASSOCIATED REPOSITORY CHANGE: NCAR/noahmp#30 LIST OF MODIFIED FILES: modified: phys/noahmp TESTS CONDUCTED: 1. All non-standard syntax of above form was modified. 2. All jenkins tests are PASS.
TYPE: bug fix
KEYWORDS: unary operator, NoahMP
SOURCE: Davide Del Vento (CISL/NCAR), internal
DESCRIPTION OF CHANGES:
Problem:
Several occurrences of
a * -bwere caught by the Cray compiler during routinepre-derecho testing of WRF.
Solution:
The standard requires parentheses:
a * (-b).How to get a different (probably new) NoahMP version in the WRF repository
developis the WRF branch).
top-most level of the WRF directory structure to issue this command on some OS.
Here, let us assume it is the
release-v4.4-WRFbranch from NoahMP.ISSUE:
Fixes #1659
ASSOCIATED REPOSITORY CHANGE:
NCAR/noahmp#30
LIST OF MODIFIED FILES:
modified: phys/noahmp
TESTS CONDUCTED: