Uninitialized variable in Perl code

Create issue
Issue #2590 resolved
Erik Schnetter created an issue

I receive this error from the CST stage:

CST error in /Users/eschnett/Cactus/arrangements/CarpetX/CarpetX/interface.ccl (at 129)
  -> SYNTAX ERROR

Use of uninitialized value in concatenation (.) or string at /Users/eschnett/Cactus/repos/flesh/lib/sbin/interface_parser.pl line 985.

for this code:

CCTK_REAL regrid_error TYPE=gf CENTERING={ccc TAGS='index={1 1 1}'
{
  regrid_error
} "Regridding condition"

The code is wrong (it’s missing a closing brace), but the error message should be better.

Comments (6)

  1. Steven R. Brandt

    Sorry, it IS a syntax error. I would not expect PrintInterfaceStatistics to run in that case.

  2. Log in to comment