Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_File_write_ordered does not truncate files
From: Robert Latham (robl_at_[hidden])
Date: 2009-02-18 18:10:07

On Wed, Feb 18, 2009 at 02:44:09PM -0800, Brian Austin wrote:

> I don't know whether this is the correct behavior, but it is the
> correct origin of my confusion.
> I suspected this would be attributed to the standard, but it is
> contrary to what I'm used to with C's fopen:
> I expected MPI_File_open( CREATE | WRONLY ) to act like fopen("w").

Ah, I see now. MPI_FILE_OPEN is more like open(2) and not at all like


Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B