Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TYPE: bugfix/enhancement
KEYWORDS: build, CMake, PGI, gfortran9
SOURCE: WRF-Hydro Team @ NCAR
DESCRIPTION OF CHANGES:
In the classic build system, don't report success if the underlying Make process failed.
In CMake build system, remove
-fallow-argument-mismatch
from gfortran flags, since this breaks compatibiilty with older GNU suites (< v10) and not needed anymore withuse netcdf
Update the CMake build system to use FIND_MPI() and not override the compiler variables with static
mpif90
wrapper scripts. This also explicitly links MPI libaries to modules that require it.Support PGI (> v20) and NVHPC in CMake:
use ieee_arithmetic, only: isnan => ieee_is_nan
to CROCUS since PGI doesn't support isnan() intrinsic (this may help on other compilers too)ISSUES:
TESTS CONDUCTED: pending
Checklist
Merging the PR depends on following checklist being completed. Add
X
between each of the squarebrackets if they are completed in the PR itself. If a bullet is not relevant to you, please comment
on why below the bullet.
NEWS.md