[Users] Problem regriding using trigger thorn

Roland Haas rhaas at illinois.edu
Tue May 10 14:52:22 CDT 2022


Hello all,

Here's a ticket:

https://bitbucket.org/einsteintoolkit/tickets/issues/2609/trigger-thorn-does-not-properly-check

which fixes (I think) the return code checks (<0 is error, >= 0 is
number of variables parsed). 

I am still not quite sure how to get the exact error message
encountered but there definitely were bugs.

Yours,
Roland

> Hello Dhruv, Erik,
> 
> Ok. I can see where there are bugs handling TraverseString return
> values. I will add a bugfix and extend the regression test for Trigger
> to test steering sclaars and parameters.
> 
> Yours,
> Roland
> 
> > Roland
> > 
> > Dhruv and I discussed. The error was that the parameter file specified
> > a group name ("CarpetRegrid2::radii") instead of a variable name
> > ("CarpetRegrid2::radius"), and `CCTK_TraverseString` got confused, and
> > the respective error doesn't seem to be caught properly. Things seem
> > to be working after specifying the group name.
> > 
> > -erik
> > 
> > On Sat, May 7, 2022 at 11:08 AM Roland Haas <rhaas at illinois.edu> wrote:  
> > >
> > > Hello Dhruv,
> > >    
> > > >   while executing schedule bin CCTK_ANALYSIS, routine Trigger::Trigger_Check
> > > >   in thorn Trigger, file
> > > > /gpfs/fs1/home/d/dsiegel/dhruv/repos/ET_Mayer/Cactus/arrangements/CactusUtils/Trigger/src/trigger.c:404:    
> > > >   ->^[[0m steered scalar is of type CCTK_INT    
> > >
> > > Are you sure you are using an up to date version of the thorn? I cannot
> > > find the string "steered scalar is of type" anywhere in Trigger as of
> > > git hash a2bc1d4.
> > >
> > > Since fa26b80 there is specific support for integers in Trigger.
> > >
> > >    
> > > > I am confused why it thinks this is an integer quantity, and I am having
> > > > trouble printing/debugging too. I am not sure how exactly the functions in
> > > > the trigger thorn determine the 'type' of the cactus quantity, but at least
> > > > it seems to be finding the right quantity to change.    
> > >
> > > This may be a bug in the code. However, as stated above I am not sure
> > > which version of Trigger you are using.
> > >
> > > Can you verify that indeed it is checked out from (view "git remote -v")
> > >
> > >  https://urldefense.com/v3/__https://bitbucket.org/cactuscode/cactusutils.git__;!!DZ3fjg!-UVFEg5nsMLJAHqs7uVuoRVffzwAVPbX2Kbqiekfqk-wQHGJXnsvNI5bfmleT4XFvNqYHNH85fEK6SW4LA$ 
> > >
> > > and report the git hash of the current checkout (ie the output of "git
> > > log -1"), please?
> > >
> > > Yours,
> > > Roland
> > >
> > > --
> > > My email is as private as my paper mail. I therefore support encrypting
> > > and signing email messages. Get my PGP key from https://urldefense.com/v3/__http://keys.gnupg.net__;!!DZ3fjg!-UVFEg5nsMLJAHqs7uVuoRVffzwAVPbX2Kbqiekfqk-wQHGJXnsvNI5bfmleT4XFvNqYHNH85fG2-QKepg$ .
> > > _______________________________________________
> > > Users mailing list
> > > Users at einsteintoolkit.org
> > > https://urldefense.com/v3/__http://lists.einsteintoolkit.org/mailman/listinfo/users__;!!DZ3fjg!-UVFEg5nsMLJAHqs7uVuoRVffzwAVPbX2Kbqiekfqk-wQHGJXnsvNI5bfmleT4XFvNqYHNH85fF_OvlIfA$     
> > 
> > 
> >   
> 
> 
> 



-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20220510/3ddd1f3c/attachment.bin 


More information about the Users mailing list