Repository navigation
Fix NAG build on macOS (surface components and utilities) - #1564
Open
weiyuan-jiang wants to merge 4 commits into
Open
weiyuan-jiang wants to merge 4 commits into
weiyuan-jiang wants to merge 4 commits into
Conversation
- Replace nonstandard procedures: iargc/getarg -> command_argument_count/ get_command_argument, call exit(0) -> stop, call exit(N) -> error stop N, isnan -> ieee_is_nan, int8 -> int(...,int64), dfloat -> dble - Replace hardcoded kinds: kind=4 -> REAL32, _8 literals -> _REAL64, f_p=8 -> REAL64, integer(kind=4) -> integer (kind 4 is 64-bit in NAG) - clm_varcon: use real literals instead of integer literals with _r8 kind - Declare dummy array bounds before use (GEOS_IgniGridComp, LUDCMP) - CatchmentCNRst: explicit int() for real array subscript - nanMod: NAG-only NaN/Inf via equivalence (NAG rejects NaN parameters) - mk_restarts: NAG-only RecordEndPos() replacement for ftell() - LandIce: guard ICESMB_IN update with HAVE_ISSM - CMake: NAG-only -wmismatch for NetCDF F77 calls in makebcs/mk_restarts
mathomp4
reviewed
Dec 2, 2026
weiyuan-jiang
marked this pull request as ready for review
December 2, 2026 14:25
Member
|
I think we need to update the |
gmao-rreichle
approved these changes
Dec 3, 2026
mathomp4
approved these changes
Dec 3, 2026
Member
|
@gmao-rreichle I super-approved. if @sdrabenh is happy, we can merge whenever! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Testing: