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] reading from a file
From: Rob Latham (robl_at_[hidden])
Date: 2011-05-24 11:13:18


On Sat, May 21, 2011 at 05:15:13PM +0530, sushil samant wrote:
> hi all,
> i am a new comer in openmpi programing.i have a txt file containing
> seven column each column contains double type data. What i want to do
> is to read the file in parallel and find the average value and
> standard deviation of each column using c++ and openmpi. If someone
> can provide a sample program with explanation it will be very useful.
> And if understand it i would like to do it for .h5 file.

MPI-IO does not do formatted I/O.

You should just start with the .h5 (HDF5 ? ) file, where decomposing
the dataset over N processors will be more straightforward.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA