[mpich-discuss] reading Ascii files using parallel I/o
Rajeev Thakur
thakur at mcs.anl.gov
Mon May 23 00:00:33 CDT 2011
MPI-IO doesn't support formatted I/O, i.e., the equivalent of fprintf and fscanf. However you can read/write unformatted character buffers.
Rajeev
> Date: Sat, 21 May 2011 23:48:57 -0400
> From: <vvvnew at umich.edu>
> Subject: [mpich-discuss] reading Ascii files using parallel I/o
> To: mpich-discuss at mcs.anl.gov
> Message-ID: <7f8c0ee756294fb644ab193ff0338e1c at umich.edu>
> Content-Type: text/plain; charset="UTF-8"
>
>
> Hi,
> I want to know if there's a general way to read and write ASCII data
> using parallel input/output. I know there are only 3 Mpi data formats
> 'Native', 'Internal','External32', none of which support Ascii data. Since
> all my input data is in ASCII and i also need the output to be in ASCII to
> increase interoperability with other software, can someone suggest an
> efficient way to get around this problem. Right now iam sending all the
> data in and out through one node and makes the scaling pretty bad for large
> datasets, so parallel i/o with ascii would make my life a whole lot easier.
>
> Thanks
>
> Sreenivas
More information about the mpich-discuss
mailing list