[mpich-discuss] ad_pvfs2_read bug in ADIOI_PVFS2_ReadStrided()

Rob Latham robl at mcs.anl.gov
Tue Jun 2 08:07:31 CDT 2009


On Tue, Jun 02, 2009 at 01:11:54AM -0500, Wei-keng Liao wrote:
> I don't think WriteContig or ReadContig along will move the file pointer
> to the offset whose immediate first byte is in the fileview visible  
> range.
> They just add whatever is written/read to the file pointer. Moving the
> pointer to this position requires additional work, such as those in
> ADIOI_XXX_WriteStrided/ReadStrided. If filetype is non-contiguous, the
> independent MPI_File_read/write will still have to call
> ADIOI_XXX_WriteStrided/ReadStrided, and then WriteContig/ReadContig.

Ah, thanks! You're right: what I was worried about can't happen
without the user resetting the file view.  Terrific. 

OK, I'll commit your simplified version.  

Thanks again for fielding all my questions.
==rob

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


More information about the mpich-discuss mailing list