Open MrSmile opened 5 years ago
Just out of curiosity, what other MPI implementation did you try? I can confirm that msmpi throws an error, but Intel MPI on the same code hangs for me.
I've tried it under different OSes and it works fine with OpenMPI under Linux (ubuntu 18.04). Looks like most MPI implementations can't handle this.
I have unexpected results with fairly complex usage of
MPI_File_set_view
. With some experimenting I managed to minimize test case to this:I expect that after running at 4 nodes
test.txt
would contain::::ABCDabcd
and with another MPI implementation it's indeed the case. But under MS-MPI I haveAnd with 1 node I even have hang up.
When I use direct element order instead of reverse (swap last two elements of array
offsets
) I have slightly better result ofabcdABCD
but first characters get wiped out.