[mpich2-dev] [PATCH 1/1] Issue 4120:Read/write size error checking.

Robert Latham robl at mcs.anl.gov
Fri Mar 21 11:37:01 CDT 2008


On Thu, Mar 20, 2008 at 04:31:44PM -0500, Bob Cernohous wrote:
> I'm not sure about this one.  I'm bothered when i see
> count*datatype_size in the code and I imagine a >= 2G total
> size that causes odd problems later.  So I added error
> checking up front.  (This is different from writing/reading
> data at >= 2G offsets in a file which we're trying to support.)
> 
> For you review and approval.  I've kept the patch separate so
> I can easily add or remove it.

I can't find the email, but I know we've had this come up before.  We
say "well if you're working with such large amounts of data, you're
doing pretty well".   Seems exactly right that we should error early
on with an informative message.

You get a +1 from me.   

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B




More information about the mpich2-dev mailing list