Skip to content

MPI wrappers for larger message sizes - #241

Open
hannesbrandt wants to merge 9 commits into
cburstedde:developfrom
hannesbrandt:feature-increase-msg-size
Open

hannesbrandt wants to merge 9 commits into
cburstedde:developfrom
hannesbrandt:feature-increase-msg-size

Conversation

@hannesbrandt

Copy link
Copy Markdown
Collaborator

MPI wrappers for larger message sizes

Proposed changes:
This PR adds sc_wrap_Isend and sc_wrap_Irecv which can be used to send/receive messages of bytes with a count
larger than the maximum allowed INT_MAX. The functions create a custom datatype to send the message. The workaround works for messages with size <= INT_MAX * sizeof(long) and aborts for larger message sizes. It is only enabled for MPI Standards 2.0 and above since it requires MPI_Type_create_struct.
The workaround and corresponding test was developed by @tim-griesbach.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants