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

Some multi-threading fixes #9302

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Some multi-threading fixes #9302

merged 2 commits into from
Aug 24, 2021

Commits on Aug 24, 2021

  1. ompi/request: Add a read memory barrier to sync the receive buffer so…

    …on after wait completes.
    
    We found an issue where with using multiple threads, it is possible for the data
    to not be in the buffer before MPI_Wait() returns. Testing the buffer later after
    MPI_Wait() returned would show the data arrives eventually without the rmb().
    
    We have seen this issue on Power9 intermittently using PAMI, but in theory could
    happen with any transport.
    
    Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
    AboorvaDevarajan authored and awlauria committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    12192f1 View commit details
    Browse the repository at this point in the history
  2. Allow mpi_init_thread to override the MPI_THREAD_LEVEL

    Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
    AboorvaDevarajan authored and awlauria committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    babfd93 View commit details
    Browse the repository at this point in the history