[ET Trac] #2667: Test periodic_weight of CarpetReduce produces non numeric output in grid_coordinates.asc

Roland Haas trac-noreply at einsteintoolkit.org
Thu Nov 24 10:33:04 CST 2022


#2667: Test periodic_weight of CarpetReduce produces non numeric output in grid_coordinates.asc

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: development version
     Type: bug
 Priority: major
Component: EinsteinToolkit thorn

`.asc` files are registered with the test system \(by the ASCII output thorn\) as output files to be compared and must be columnar ASCII data files. However `periodic_weight` enables output for `grid_coordinates.asc` which do not adhere to that format and instead contain descriptions of the boxes:

```text
# grid coordinates
# format: map reflevel region mglevel   bounding-box
iteration 0
maps 1
0 mglevels 1
0 0 reflevels 1
0 0 0 regions 1
0 0 0 0   ([-2.6,-2.6,-2.6]:[2.4,2.4,2.4]:[0.2,0.2,0.2]/[0,0,0]:[0,0,0]/[26,26,26]/17576)
```

which causes the test system to complain:

```text
Argument "([-2.6,-2.6,-2.6]:[2.4,2.4,2.4]:[0.2,0.2,0.2]/[0,0,0]:[0..." isn't numeric in subtraction (-) at lib/sbin/RunTestUtils.pl line 1920, <INNEW> line 8.
```

the testsuite should be changed to not output this file or give a different name that does not match one of the registered extensions.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2667/test-periodic_weight-of-carpetreduce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20221124/3dc8e15f/attachment.html 


More information about the Trac mailing list