Skip to content

Change branch order to fix MPI branching mismatch#98

Merged
mo-joshuacolclough merged 1 commit intofeature/bug_fix_interpolation_01from
feature/fix_branch_ordering_spherical_vector
Mar 5, 2026
Merged

Change branch order to fix MPI branching mismatch#98
mo-joshuacolclough merged 1 commit intofeature/bug_fix_interpolation_01from
feature/fix_branch_ordering_spherical_vector

Conversation

@mo-joshuacolclough
Copy link

Description

Fixes an issue encountered with lfric-jedi 3dfgat_atms where some MPI ranks go down different if branches. Changing the order so that the scalar Method is returned first fixes the problem. Potentially the issue is due to checks that Method performs that call halo exchanges. Returning early with Method ensures that the additional logic in SphericalVector does not interfere.

Dependencies

For ecmwf/pull/351

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

Copy link

@odlomax odlomax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, @mo-joshuacolclough!

@mo-joshuacolclough mo-joshuacolclough merged commit cf0b069 into feature/bug_fix_interpolation_01 Mar 5, 2026
45 of 47 checks passed
@mo-joshuacolclough mo-joshuacolclough deleted the feature/fix_branch_ordering_spherical_vector branch March 5, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants