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

Allocate arrays on non-root nodes to avoid SIGSEG #373

Merged

Conversation

qiaojunfeng
Copy link
Collaborator

Although these arrays are not used by the non-root nodes, in some
versions of OpenMPI (e.g. 4.0), SIGSEGV may occur when doing
MPI_scatterv. Allocating 0-sized arrays could bypass the issue.

fix #348
fix #351
fix #371

Although these arrays are not used by the non-root nodes, in some
versions of OpenMPI (e.g. 4.0), SIGSEGV may occur when doing
MPI_scatterv. Allocating 0-sized arrays could bypass the issue.
Copy link
Member

@giovannipizzi giovannipizzi left a comment

Choose a reason for hiding this comment

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

Thanks!

@giovannipizzi giovannipizzi merged commit a75344b into wannier-developers:develop Jul 13, 2021
@qiaojunfeng qiaojunfeng deleted the openmpi_allocate branch July 13, 2021 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants