Skip to content

Conversation

@thananon
Copy link
Member

@thananon thananon commented Aug 5, 2016

Cross referenced to #1877

As I'm not familiar with romio, I don't know how to test this properly. Please review.
The code does compile.

@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

@edgargabriel can you recommend a test for this PR?

@edgargabriel
Copy link
Member

without knowing too much about opal_srand etc. , but I can have a look at it and run some tests. Will let you know.

@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

Sorry -- what I meant was: is there a simple MPI File-based test we could run to just verify simple functionality? I was kinda hoping you were pseudo-familiar with the internals of ROMIO to know what top-level MPI_File_* function(s) call ADIOI_Shfp_fname. 😄

@edgargabriel
Copy link
Member

it is a shared file pointer operation, so I think anything using e.g. MPI_File_write_shared etc. should invoke that.

@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

@edgargabriel Cool. Do we have any shared file pointer tests in ompi-tests?

@edgargabriel
Copy link
Member

yes, of course. E.g. you can go to
ompi-tests/mpi2basic_tests/file

adjust the Makefile.in one level above, and compile e.g. the write_shared or the read_shared test
make write_shared read_shared

You have to run them with exactly 6 processes on a file system that support file locking (e.g. local laptop/desktop should be fine most of the time), forcing using romio314. I just confirmed on my machine that those two test cases do pass with romio314

@edgargabriel
Copy link
Member

I can run those tests on this branch if you want, but I need to finish something else first urgently

@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

Excellent; thanks for running them for us!

👍

@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

Hah; we commented at the same time. We can run the tests - you gave us all the relevant info.

Arm: why not run the tests Edgar mentioned, just to be sure.

@thananon
Copy link
Member Author

thananon commented Aug 5, 2016

All mpi2basic_tests/file passed 👍

@edgargabriel
Copy link
Member

just to make sure, you did add --mca io romio314 to your execution? Otherwise it would use ompio

@thananon
Copy link
Member Author

thananon commented Aug 5, 2016

I did not. Will retest soon.
Thank you for catching this.

@edgargabriel
Copy link
Member

ok, just make sure to compile and run only write_shared and read_shared, one of the other testcases leads to a problem with ROMIO, but those two should work.

@thananon
Copy link
Member Author

thananon commented Aug 5, 2016

test with -mca io romio314 read_shared and write_shared passed 👍

@jsquyres jsquyres merged commit 44187b4 into open-mpi:master Aug 5, 2016
@jsquyres
Copy link
Member

jsquyres commented Aug 5, 2016

Arm: please pr to v2.0.1

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

Successfully merging this pull request may close these issues.

4 participants