Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Open MPI access the same file in parallel ?
From: Tim Prince (n8tm_at_[hidden])
Date: 2011-03-10 01:54:18

On 3/9/2011 8:57 PM, David Zhang wrote:
> Under my programming environment, FORTRAN, it is possible to parallel
> read (using native read function instead of MPI's parallel read
> function). Although you'll run into problem when you try to parallel
> write to the same file.

If your Fortran compiler/library are reasonably up to date, you will
need to specify action='read' as opening once with default readwrite
will lock out other processes.

Tim Prince