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: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2008-07-23 06:35:19


>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.

2008/7/23 George Bosilca <bosilca_at_[hidden]>:

> 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 :)
>
> Open MPI use ROMIO for file operations, and normally this is compiled in by
> default. You should not have any troubles using MPI I/O with Open MPI.
>
> Have fun,
> george.
>
>
> On Jul 23, 2008, at 11:51 AM, Gabriele Fatigati wrote:
>
>
>> Hi,
>> 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
>> OpenMPI.
>>
>> Thanks.
>> --
>> Gabriele Fatigati
>>
>> CINECA Systems & Tecnologies Department
>>
>> Supercomputing Group
>>
>> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>>
>> www.cineca.it Tel: +39 051 6171722
>>
>> g.fatigati_at_[hidden]
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Gabriele Fatigati
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
www.cineca.it Tel: +39 051 6171722
g.fatigati_at_[hidden]