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 02:14:26


On 3/9/2011 11:05 PM, Jack Bryan wrote:
> thanks
>
> I am using GNU mpic++ compiler.
>
> Does it can automatically support accessing a file by many parallel
> processes ?
>

It should follow the gcc manual, e.g.
http://www.gnu.org/s/libc/manual/html_node/Opening-Streams.html
I think you want *opentype to evaluate to 'r' (readonly).

-- 
Tim Prince