Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pack/unpack #5

Open
jeffhammond opened this issue Jun 23, 2016 · 0 comments
Open

fix pack/unpack #5

jeffhammond opened this issue Jun 23, 2016 · 0 comments
Assignees

Comments

@jeffhammond
Copy link
Member

MPI pack and unpack functions are not count-safe because they use int to express a number of bytes.

ROMIO uses these functions, so I guess @roblatham00 would like to see this fixed.

Pack

int MPI_Pack(const void *inbuf,
             int incount,
             MPI_Datatype datatype,
             void *outbuf,
             int outsize,
             int *position,
             MPI_Comm comm)

Unpack

int MPI_Unpack(const void *inbuf,
             int insize,
             int *position,
             void *outbuf,
             int outcount,
             MPI_Datatype datatype,
             MPI_Comm comm)
@jeffhammond jeffhammond self-assigned this Jun 23, 2016
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

No branches or pull requests

1 participant