io/ompio: fix the get_byte_offset code #1212
Conversation
Test PASSed. |
Build Failed with XL compiler! Please review the log, and get in touch if you have questions. |
Ignore the IBM-CI (XL Compiler) bot - it was a local issue I'm working on resolving. |
bot:retest: |
Test PASSed. |
what's the corresponding commit/pr that went in to master? |
On master it was commit d6af544 |
@edgargabriel please assign a reviewer |
@vvenkates27 would you mind reviewing this code? The ompi-tests/mpi2basic-tests/filetests contains a testcase for this particular scenario. |
@vvenkates27 Will you be able to review this in the near future? |
handle preallocating sizes less than the current file size correctly.
Test FAILed. |
Hm, does not look like the failed mellanox build has anything to do with my stuff
_EDIT_ Added verbatim block |
@jladd-mlnx Can you have a look? |
I have reviewed this patch, overall it looks good to me. I haven't had a chance to test and verify this as couldn't access ompi-tests. Now that I have access. I can verify this by tonight. |
mpi4py tests are happy now with this. |
I now tested MPI_File_get_byte_offset with and without gaps in file-view with this branch. And all the filetest from ompi-tests also pass on my local build. So +1 verified from my side. |
bot:retest |
Test PASSed. |
Per discussion with @hppritcha earlier today, this is good to go. |
fix the MPI_File_get_byte_offset bug in ompio reported by @dalcini reported on the mailing list
bot:milestone:v2.0.0
bot:label:bug
I leave it up the release managers to decide whether it truly comes in the 2.0.0 or the 2.0.1 release.