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

Proper Locking #809

Open
JBlaschke opened this issue Jan 23, 2024 · 0 comments
Open

Proper Locking #809

JBlaschke opened this issue Jan 23, 2024 · 0 comments
Assignees

Comments

@JBlaschke
Copy link
Contributor

Following our discussion in the HPC call, there is a need for Julia to manage locks when calling into MPI. The thinking so far is:

  • Currently MPI.jl defaults to THREAD_SERIALIZE, but we expect the user to guarantee serial access into MPI functions:
  • The current solution is problematic because we're using c-locks to lock out Julia threads. The better solution is to manage locks for Julia threads from Julia. This will make things easier for things like: Cooperative_waitall / cooperative_waitany

Open questions:

  • Look at the MPI standard: Should lock be on communicator level? Or for MPI in its entirety?

Tagging: @vchuravy @eschnett @simonbyrne

@JBlaschke JBlaschke self-assigned this Jan 23, 2024
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