Reputation: 873
If I have individual files for each process, does it make any difference if i write into those files using normal file pointer or writing using MPI.File?
Upvotes: 0
Views: 65
Reputation: 5223
If you are using simple contiguous i/o operations? no, no difference.
If you are using MPI datatype (to describe memory) and/or MPI file views (to describe structure or some other non-contiguous file access), then it's possible the MPI implementation has some kind of noncontiguous i/o operation (e.g. data sieving, list i/o, datatype i/o)
Upvotes: 2