Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two consecutive numeric operators (#1839)
TYPE: bug fix KEYWORDS: Fortran, Precedence of operators SOURCE: Kengo Miyamoto ( Research Organization for Information Science and Technology or RIST, Japan) DESCRIPTION OF CHANGES: Problem: In fortran, the formation rules do not permit expressions containing two consecutive numeric operators, such as A ** –B, while an expression such as A ** (–B) is permitted. This cause errors for Fujitsu Fortran compiler when building WRF load module files. gfortran warns to use parentheses. Solution: Adding parentheses. LIST OF MODIFIED FILES: phys/module_bl_mynn.F TESTS CONDUCTED: 1. Do mods fix problem? How can that be demonstrated, and was that test conducted? I checked whether Fujitsu compiler could make WRF and WPS load module files and a tutorial case (Nested Model Run: 2-way with 2 Input Files) could be completed successfully on a Fujitsu computer system. 2. The regression tests have passed.
- Loading branch information