[Carpet] status of CarpetSlab

Erik Schnetter schnetter at cct.lsu.edu
Wed Mar 12 19:07:23 CET 2008


On Mar 12, 2008, at 13:02:53, Thomas Radke wrote:

> Hi,
>
> I tried to get the CarpetTest/test/arraysizes.par testsuite working
> again. It tests the functionality of thorn CarpetSlab. The testsuite's
> current runtime behaviour is:
>
>> cactus_debug: /home/tradke/cactus/configs/debug/build/CarpetLib/ 
>> mem.cc:105: mem<T>::mem(unsigned int, unsigned int, T *, unsigned  
>> int) [with T = double]: Assertion `memsize >= vectorlength * nelems  
>> * sizeof (T)' failed.
>> Abort
>
> which is caused by a call to allocate() in CarpetSlab/src/slab.cc: 
> 208. I
> tried to rewrite this call to something similar in CarpetIOASCII but
> then got stuck when entering singlemap mode - in which mode should
> Hyperslab_Get be called ?

It should be called in singlemap mode.

> It seems that CarpetSlab has been broken for a long time already (at
> least since December 2006 when the nightly Cactus integration tests  
> had
> started). It is not being used anywhere except in CarpetTest. Should  
> it
> be moved to CarpetDev ?


CarpetSlab exists because it is the parallel to PUGHSlab.  It turns  
out that it was much easier to implement I/O using lower-level  
interfaces to Carpet, since the Cactus Slab API doesn't know about  
refinement levels or about the fact that some points in a slab exist  
while others don't if it is called on a refined grid.  It has been  
unused for a long time.  In the presence of mesh refinement, it turns  
out to be much more convenient to access grid functions via  
coordinates (interpolation) instead of integer indices (slabbing).

Yes, I we can move it to CarpetDev, or maybe CarpetAttic since we have  
no concrete plans to improve it.

-erik

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

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: 194 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20080312/f7e6d31c/attachment.pgp 


More information about the developers mailing list