Hello,
I am unsure whether I understood correctly the idea of MPI_File_{open,
write, close}. Could please somebody confirm or correct me if I am
wrong.
1)
The main feature of MPI_File_{open, write, close} is to control access
to a file, so that several processes can read/write efficiently from/to
the same file.
2)
When reading from/writing to a file from multiple processes,
MPI_File_{open, write, close} needs a file system (nfs other similar)
which is mounted on all nodes involved in writing/reading. This means,
that MPI_File_{open, write, close} does not do any transportation of the
data from one node to the other (the transportation is implicit done by
the mounted file system).
3)
If I write to the local file system the files written are valid and can
be read again, but only by the process running on the node with the file
system (to which I wrote the files).
Thank you for comments.
Michael
|