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

mpi::detail::c_data needs to check for empty vectors #81

Merged
merged 1 commit into from
Mar 11, 2019
Merged

mpi::detail::c_data needs to check for empty vectors #81

merged 1 commit into from
Mar 11, 2019

Conversation

mkuron
Copy link
Contributor

@mkuron mkuron commented Feb 14, 2019

If the standard library is configured to do range checks (-D_GLIBCXX_ASSERTIONS), accessing the zeroth element of a vector to get its address triggers an assertion.

This issue was discovered in espressomd/espresso#2507, where boost::mpi::detail::dispatch_scatter_sendbuf runs into it.

If the standard library is configured to do range checks (-D _GLIBCXX_ASSERTIONS), accessing the zeroth element of a vector to get its address triggers an assertion.
@aminiussi
Copy link
Member

I'll merge this in develop soon. Should be in 1.71
Thanks

@aminiussi aminiussi merged commit dc70843 into boostorg:develop Mar 11, 2019
koomie added a commit to openhpc/ohpc that referenced this pull request Oct 7, 2019
boostorg/mpi#81 which has been landed in
v1.71.0 release (#1035)

Signed-off-by: Karl W. Schulz <[email protected]>
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