[Carpet] CCTK_TraverseString: invalid group/variable name

Erik Schnetter schnetter at cct.lsu.edu
Fri Feb 29 07:13:37 CET 2008


Luca,

people's opinions on whether a simulation should output a warning or  
should abort when a problem is detected differs greatly.  Personally,  
I prefer simulations to abort as early as possible if there is an  
error, but it would not be appropriate to impose this opinion onto  
others.

Cactus has the notion of an "error level", which is the severest  
warning level which is accepted before the simulation aborts.  It  
defaults to zero.  If you set it to one, the simulation would abort on  
this error.

Alternatively, you can write stdout and stderr to different files.  If  
you check stderr of your simulations regularly, then you will detect  
these problems.  If you find that the stderr file is too large, then  
we need to change this, because only severe problems should be  
reported there.  Sometimes Cactus repeats the same error message  
multiple times in there, which is not useful and buries the real errors.

I would prefer to have these generic mechanisms work.  If they don't  
work, then we could introduce parameters into every thorn letting  
people choose the warning level of its messages.  However, that  
wouldn't solve the problem that Cactus should do something sensible by  
default.

-erik

On Feb 28, 2008, at 23:55:23, Luca Baiotti wrote:

> Thomas, Erik,
>
> I would like the following behaviour for CarpetIO*, that when a  
> parameter error is detected by CarpetIO* like below, the warning is  
> level 0 instead of one. This feature should be easy implement and I  
> think it is useful. Let me know if you plan to add it, please.
>
>
> Thanks,
> Luca
>
>
>
> INFO (CarpetIOASCII): I/O Method 'IOASCII_1D' registered: 1D AMR  
> output of grid variables to ASCII files
> WARNING level 1 in thorn Cactus processor 4 host node0001.admin
>  (line 2279 of /data1/baiotti/Cactus/configs/belladonna_NoDebug/ 
> build/Cactus/main/Groups.c):
>  -> CCTK_TraverseString: invalid group/variable name  
> 'ADMConstraints::hamiltonian' in traversed string '
>                                            ADMBase::lapse
>                                            ADMBase::shift
>                                            ADMBase::curv
>                                            ADMBase::metric
>                                            ADMConstraints::hamiltonian
>                                            whisky::rho
>                                            whisky::dens
>


-- 
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/20080229/b99bb844/attachment.pgp 


More information about the developers mailing list