[mpich2-dev] dataloop bug

David Gingold david.gingold at sicortex.com
Thu Aug 7 20:51:46 CDT 2008


Rob Ross says that I should send this patch along.  It's a bug that  
shows up only when ALL_BYTES is turned on in the dataloop code.  (In  
the stock code it's not turned on.)

Thanks for the help today, Rob!

-dg

....

--- dataloop_create_indexed.c.~1~	2008-08-05 15:09:54.619072000 -0400
+++ dataloop_create_indexed.c	2008-08-07 14:05:46.049021000 -0400
@@ -266,6 +266,8 @@
  	    /* increase block lengths so they are in bytes */
  	    tmp_blklen_array[i] *= old_extent;
  	}
+
+	new_dlp->loop_params.i_t.total_blocks *= old_extent;
      }

      *dlp_p     = new_dlp;




More information about the mpich2-dev mailing list