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

ProcListPerm not thread safe #22

Open
jeffdaily opened this issue Apr 5, 2017 · 0 comments
Open

ProcListPerm not thread safe #22

jeffdaily opened this issue Apr 5, 2017 · 0 comments

Comments

@jeffdaily
Copy link
Member

global/src/onesided.c uses a global variable ProcListPerm to locally permute MPI ranks at the initiator of put/get/acc calls in order to avoid contention by always servicing targets in a monotonically increasing order.

Make this thread safe with appropriate malloc()/free() within the scope of the functions.

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

No branches or pull requests

1 participant