Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Parallel I/O with MPI-1
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2008-07-23 05:51:37

i have a question about parallel i/o. In my application, actually i have
implemented a file lock with C system calls, like flock. But, is this the
right way to do concurrent write?

In this cluster, every node has our operating system, so, the file lock
functions only on the processors of that node, not for all. I can have two
or more process of different nodes that writes concurrent in the file. Is
this dangerous or not? It's depends by file system? I'm using MPI-1 under


Gabriele Fatigati
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy Tel: +39 051 6171722