[mpich-discuss] MPI I/O

vvvnew at umich.edu vvvnew at umich.edu
Wed Jun 8 18:40:39 CDT 2011



Iam not sure what you mean. If you set the displacement the same way you
wrote it , you must be able to read the "count" values. Mpi_file_read uses
individual file pointers, so if you're displacements are correct for each
proc, each one must be able to read a little chunk. (the chunk that was
written from it) 

If you can, post the section of the code where you try to read the values
and also the section where you write in parallel into the data file. 

Sreenivas 

On Thu, 9 Jun 2011 04:27:04 +0500, Irfan Gul  wrote: Dear,
I have done this approach but one of my project panel member told me to
follow MPI I/O method. I can only read a single value from the file
generated by MPI_File_write() function by each process.
but I do not know how to read multiple values and store in array from the
.txt file.
 thanks 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110608/f387bbbb/attachment.htm>


More information about the mpich-discuss mailing list