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@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...
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!-UVFEg5nsMLJAHq... . _______________________________________________ Users mailing list Users@einsteintoolkit.org https://urldefense.com/v3/__http://lists.einsteintoolkit.org/mailman/listinf...