-
Notifications
You must be signed in to change notification settings - Fork 902
Fortran MPI_FILE_GET_POSITION bug #6858
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
Comments
Thanks for the bug report, I will look into it. |
and SEEK_CUR. fixes an issue reported by Wei-keng Liao Fixes Issue open-mpi#6858 Signed-off-by: Edgar Gabriel <[email protected]>
and SEEK_CUR. fixes an issue reported by Wei-keng Liao Fixes Issue open-mpi#6858 Signed-off-by: Edgar Gabriel <[email protected]>
@edgargabriel Can we close this issue now? |
Sorry for my silence on this. I could make create a patch for 3.1, the bug is also in the 3.0.x and 3.1.x series, it is really a question to the release managers whether they would like to have that fix. |
@edgargabriel How big of a fix is this? |
@jsquyres the fix itself is very localized to one file, and only really affects a special case (fixing the calculations for moving the file pointer to the end of the file in the case where the actual end of the file offset is however not part of your file view). |
If it's nice and small like this, and you don't mind, we'd take fixes like this for v3.0.x and v3.1.x. 👍 |
ok, will do, give me a day or two for creating the pr's |
and SEEK_CUR. fixes an issue reported by Wei-keng Liao Fixes Issue open-mpi#6858 Note, that some manual adjustements were required compared to the commit on master due to structural differences in ompio between master and 3.x branches. (cherry picked from commit 34b06dc) Signed-off-by: Edgar Gabriel <[email protected]>
and SEEK_CUR. fixes an issue reported by Wei-keng Liao Fixes Issue open-mpi#6858 Note, that some manual adjustements were required compared to the commit on master due to structural differences in ompio between master and 3.x branches. (cherry picked from commit 34b06dc) Signed-off-by: Edgar Gabriel <[email protected]>
I think has been resolved on all release branches. Closing. |
Fortran test program ompi/mca/io/romio321/romio/test/fmisc.f.in
fails when calling MPI function MPI_FILE_GET_POSITION.
I tested it with the master branch and 4.0.1 release, both built with romio and without romio.
Note the Fortran file is created after running configure and available in BUILD_DIR/ompi/mca/io/romio321/romio/test/fmisc.f
The same test program passes when compiled with MPICH.
I checked MPI standard about the function MPI_FILE_GET_POSITION and
the value returned by MPICH is correct.
The text was updated successfully, but these errors were encountered: