[Carpet] Carpet::checksum_timelevels

Erik Schnetter schnetter at cct.lsu.edu
Sun Nov 19 00:03:08 CET 2006


Checksumming in Carpet is there to ensure that grid functions do not  
change when they are not supposed to change.  Carpet creates a  
checksum when it thinks an entity should remain constant, and checks  
the checksum before it is allowed to change again.

Checksumming was never popular, and I am afraid it has apparently  
seen some bit-rot.  That means that Carpet has now new features, and  
these do not work together with checksumming.  Since checksumming was  
not used, no one spent the time and effort to ensure that it  
continues to work correctly.

If you are interested in checksumming, we can make it work again.

-erik

On Nov 18, 2006, at 16:37:42, Bela Szilagyi wrote:

> Just to make the statement more precise:  I could get the same  
> assertion
> failure using the minimal-lenght parfile
>
> ActiveThorns="IOUtil Carpet CarpetLib Boundary CartGrid3D CoordBase  
> SymBase "
> Carpet::checksum_timelevels=yes
>
> On Saturday 18 November 2006 22:26, Bela Szilagyi wrote:
>> Is the parameter Carpet::checksum_timelevels every to be used for  
>> users'
>> code-testing?
>>
>> I tried it and got a very quick reply from carpet:
>>
>> cactus_harm:
>> /home/szilagyi/Cactus/configs/harm/build/Carpet/Checksum.cc:110: void
>> Carpet::CheckChecksums(const _cGH *, Carpet::checktimes): Assertion
>> `(int)checksums.size()==maxreflevels' failed.
>> p0_6443:  p4_error: interrupt SIGx: 6
>>
>>
>> I am using an up-to-date version of everything, I believe.
>> My trimmed-down parameters are
>>
>>
>> ActiveThorns = "IOUtil"
>> ActiveThorns = "Carpet CarpetLib CarpetInterp CarpetReduce  
>> CarpetSlab"
>> ActiveThorns = "Boundary CartGrid3D CoordBase SymBase "
>> ActiveThorns = "CarpetRegrid"
>>
>>
>> Carpet::domain_from_coordbase           = yes
>> Carpet::enable_all_storage = no
>>
>> CartGrid3D::type                        = coordbase
>>
>> CoordBase::domainsize                   = minmax
>> CoordBase::xmax                         =  8.0
>> CoordBase::ymax                         =  8.0
>> CoordBase::zmax                         =  8.0
>> CoordBase::xmin                         = -8.0
>> CoordBase::ymin                         = -8.0
>> CoordBase::zmin                         = -8.0
>> CoordBase::dx                           =   0.4
>> CoordBase::dy                           =   0.4
>> CoordBase::dz                           =   0.4
>>
>> Carpet::max_refinement_levels           = 10
>> CarpetRegrid::refinement_levels         = 2
>> CarpetRegrid::refined_regions           = manual-coordinate-list
>> CarpetRegrid::smart_outer_boundaries    = yes
>> CarpetRegrid::coordinates = "[ [([-3,-3,-3]:[3,3,3]: 
>> [0.2,0.2,0.2]) ] ]"
>>
>> Carpet::checksum_timelevels                             = yes
>
> -- 
> Bela Szilagyi
>
> Max-Planck-Institut für Gravitationsphysik
> Albert-Einstein-Institut
> Tel: +49 331 567 7632
> Fax: +49 331 567 7649
>
> _______________________________________________
> developers mailing list
> developers at lists.carpetcode.org
> http://lists.carpetcode.org/listinfo/developers
>


-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20061118/fe5cdf45/attachment.pgp 


More information about the developers mailing list