[mpich2-dev] Update resized.c code to match the comments.

Bob Cernohous bobc at us.ibm.com
Thu Apr 9 18:28:42 CDT 2009


> 
> 
> > On Thu, Apr 09, 2009 at 04:10:06PM -0500, Bob Cernohous wrote:
> > > Hi,
> > > 
> > > The io/resized.c test is failing in 1.1b1.   It looks like the code
> > > doesn't match the comments.  It says use an lb at 0, but sets lb to
> > > 4.  If I change the code, it runs fine.  Comments?
> > 
> > Hi Bob.  Yeah, sorry, the comment is wrong.  The code is correct in
> > that it finds a tricky case with respect to tiling of types.  If you
> > set the LB to 0 it's not a very tricky type at all :>
> 
> Ok, I'll look into this but let's start with the resize test.  I 
> obviously don't understand it. 
> 
> It seemed to make sense to me that a lb 0, extent 12 would write the 
> two int's at offsets 0 and 12.   What's the lb 3 really do?  Why would 
> it still write to 0 and 12? 

and that should have read.. What's the lb 4 really do? ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mcs.anl.gov/mailman/private/mpich2-dev/attachments/20090409/f42c05c9/attachment.htm>


More information about the mpich2-dev mailing list