Skip to content

Fix CAM issues discovered during update to ifx compiler #1486

Closed
cacraigucar wants to merge 4 commits intoESCOMP:cam_developmentfrom
cacraigucar:cam_ifx_CTSM
Closed

Fix CAM issues discovered during update to ifx compiler #1486
cacraigucar wants to merge 4 commits intoESCOMP:cam_developmentfrom
cacraigucar:cam_ifx_CTSM

Conversation

@cacraigucar
Copy link
Collaborator

closes #1484

@cacraigucar cacraigucar marked this pull request as draft February 19, 2026 18:25
The MPI_ibsend calls in edyn_mpi were generating MPI tags by concatenating the source and destination PE numbers
which overflows the maximum MPI tag size (~65536) - the original tag numbers were around 10M (e.g., 12341235)

Since communicators in mp_mag_jslot is scoped to the cols_comm sub-communicator for a single
magnetic longitude column (up to nmagtaskj-1), there is no need for globally unique tags.

The code has been updated to use sender rank number which is unique within the sub-communicator
(tij) which is isrc at the receiver end.
@cacraigucar
Copy link
Collaborator Author

Breaking this PR into two pieces (code mods and the externals update). Closing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants