[Developers] Warn if grid structure changes upon recovery

Erik Schnetter schnetter at cct.lsu.edu
Thu Jun 3 13:56:40 CDT 2010

On Jun 2, 2010, at 16:36 , Erik Schnetter wrote:

> Ian
> Thanks for the discussion in the chat; this was a good brainstorming  
> session.  The enclosed patch to CarpetIOHDF5 introduces two  
> parameters:
> use_process_decomposition_from_checkpoint re-uses the stored process  
> decomposition if possible, which should avoid having to read data  
> from checkpoint files from other processes.
> warn_if_process_decomposition_differs_from_checkpoint compares the  
> stored and the recreated grid structures, and warns if there is a  
> difference.
> The patch builds, but is untested otherwise.  Consider it a  
> suggestion that may help finding the cause of and/or a remedy for  
> the slow recovery.


Here is an updated version of the patch that also handles the  
regrid_in_level_mode case (which is the more important case).


Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CarpetIOHDF5.diff
Type: application/octet-stream
Size: 7487 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20100603/15d083fd/attachment-0001.obj 

More information about the Developers mailing list