Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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