I will look into this, I have a suspicion on what might be wrong. Give me a day or three.

Thanks

EDgar


On 1/18/2017 9:36 AM, Nicolas Joly wrote:
Hi,

We have a tool where all workers will use MPI_File_write_shared() on a
file that was opened with MPI_MODE_APPEND, mostly because rank 0 will
have written some format specific header data.

We recently upgraded our openmpi version from v1.10.4 to v2.0.1. And
at that time we noticed a behaviour change ... ompio do not show the
same result as romio with the attached code.

njoly@tars-submit0 [tmp/mpiio]> mpirun --version
mpirun (Open MPI) 2.0.1
[...]
njoly@tars-submit0 [tmp/mpiio]> mpirun -n 1 --mca io romio314 ./openappend
njoly@tars-submit0 [tmp/mpiio]> echo $?
0
njoly@tars-submit0 [tmp/mpiio]> cat openappend.test
Header line
Data line
njoly@tars-submit0 [tmp/mpiio]> mpirun -n 1 --mca io ompio ./openappend
njoly@tars-submit0 [tmp/mpiio]> echo $?
0
njoly@tars-submit0 [tmp/mpiio]> cat openappend.test
Data line
e

With ompio, it seems that, for some reason, the shared file pointer
was reset/initialised(?) to zero ... leading to an unexpected write
position for the "Data line" buffer.

Thanks in advance.
Regards.


_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to