Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Parallel I/O with MPI-1
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-07-23 06:59:38

On Jul 23, 2008, at 6:35 AM, Gabriele Fatigati wrote:

> >There is a whole chapter in the MPI standard about file I/O
> operations. I'm quite confident you will find whatever you're
> looking for there :)
> Hi George, i know this chapter :) But i'm using MPI-1, not MPI-2. I
> would like to know methods for I/O with MPI-1.

Open MPI builds ROMIO by default; there's no real distinction between
MPI-1 features and MPI-2 features in the Open MPI code base.

You could always effect your own parallel IO (e.g., use MPI sends and
receives to coordinate parallel reads and writes), but why? It's
already done in the MPI-IO implementation.

FWIW: I do not believe that flock() is guaranteed to be safe across
network filesystems such as NFS.

Jeff Squyres
Cisco Systems