-
Notifications
You must be signed in to change notification settings - Fork 931
romio: make romio use internal opal_random instead of rand(3). #1944
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
Conversation
|
@edgargabriel can you recommend a test for this PR? |
|
without knowing too much about opal_srand etc. , but I can have a look at it and run some tests. Will let you know. |
|
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. 😄 |
|
it is a shared file pointer operation, so I think anything using e.g. MPI_File_write_shared etc. should invoke that. |
|
@edgargabriel Cool. Do we have any shared file pointer tests in ompi-tests? |
|
yes, of course. E.g. you can go to adjust the Makefile.in one level above, and compile e.g. the write_shared or the read_shared test 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 |
|
I can run those tests on this branch if you want, but I need to finish something else first urgently |
|
Excellent; thanks for running them for us! 👍 |
|
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. |
|
All mpi2basic_tests/file passed 👍 |
|
just to make sure, you did add --mca io romio314 to your execution? Otherwise it would use ompio |
|
I did not. Will retest soon. |
|
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. |
|
test with -mca io romio314 read_shared and write_shared passed 👍 |
|
Arm: please pr to v2.0.1 |
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.