Skip to content

Add missing MAPL_Return import in fv_shared - #430

Merged
pchakraborty merged 1 commit into
release/MAPL-v3from
pchakrab/fix-fv_shared-mapl-return
Oct 7, 2026
Merged

pchakraborty merged 1 commit into
release/MAPL-v3from
pchakrab/fix-fv_shared-mapl-return

Conversation

@pchakraborty

Copy link
Copy Markdown
Collaborator

Description

fv_shared.F90 uses the _RETURN macro, which expands to a call to MAPL_Return, but MAPL_Return was missing from the use MAPL, only: list. This produced an unresolved external mapl_return_ (bare name instead of the module-mangled symbol) in libFVdycoreCubed_GridComp.so, breaking the link of interp_restarts.x and rs_scale.x.

Changes

  • Add MAPL_Return to the use MAPL, only: list.
  • Apply codee formatting (lowercase keywords, 3-space indent).

_RETURN expands to a call to MAPL_Return, which was not in the use-only
list, producing an undefined reference at link time. Also apply codee
formatting.
@pchakraborty
pchakraborty requested a review from a team as a code owner October 7, 2026 00:22
@pchakraborty pchakraborty self-assigned this Oct 7, 2026
@pchakraborty pchakraborty added bug Something isn't working 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) MAPL3 MAPL 3 Related Skip Changelog labels Oct 7, 2026
@pchakraborty
pchakraborty merged commit 8f7f801 into release/MAPL-v3 Oct 7, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) bug Something isn't working MAPL3 MAPL 3 Related Skip Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants