Skip to content

ROMIO 3.1.4 : Add support for missing ops #3688

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

Merged
merged 2 commits into from
Jun 9, 2017

Conversation

jjhursey
Copy link
Member

@jjhursey jjhursey commented Jun 9, 2017

  • Add work around support for the following missing ops in ROMIO 3.1.4
    • MPI_File_iread_at_all
    • MPI_File_iwrite_at_all
    • MPI_File_iread_all
    • MPI_File_iwrite_all

This mimics the fallback mechanism in OMPIO when it doesn't have internal support.

 * Protects us from segv when ROMIO 314 is selected and one of the
   following operations is called:
   - MPI_File_iread_at_all
   - MPI_File_iwrite_at_all
   - MPI_File_iread_all
   - MPI_File_iwrite_all

Signed-off-by: Joshua Hursey <[email protected]>
@edgargabriel
Copy link
Member

@jjhursey looks generally good, but I have a comment/suggestion: for the explicit offset operations, I would suggest to just simply call the corresponding non-collective version of that operation, e.g. for MPI_File_iread_at_all just call MPI_File_iread_at, and let that operation handle internally how they deal with explicit offsets. Basically, the pattern that you copied was how OMPIO deals with them, but I am not convinced that this is the ROMIO way. MPI_File_iread_at will however do the right thing on your behalf. (t

@jjhursey
Copy link
Member Author

jjhursey commented Jun 9, 2017

@edgargabriel Thanks for the suggestion. That sounds like a better path. I'll update the PR in a moment with those modifications.

 * Add work around support for the following missing ops in ROMIO 3.1.4
    - `MPI_File_iread_at_all`
    - `MPI_File_iwrite_at_all`
    - `MPI_File_iread_all`
    - `MPI_File_iwrite_all`

Signed-off-by: Joshua Hursey <[email protected]>
@jjhursey jjhursey force-pushed the fix/romio-314-missing-ops branch from 29e9564 to 80a91dc Compare June 9, 2017 19:43
@jjhursey
Copy link
Member Author

jjhursey commented Jun 9, 2017

@edgargabriel I just pushed the change to the second commit. Let me know what you think. Thanks!

@jjhursey jjhursey merged commit c4971cf into open-mpi:master Jun 9, 2017
@jjhursey jjhursey deleted the fix/romio-314-missing-ops branch June 9, 2017 21:59
@jjhursey
Copy link
Member Author

jjhursey commented Jun 9, 2017

@jjhursey Don't forget to PR this to the release branches 😄

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

Successfully merging this pull request may close these issues.

2 participants