Opened 6 years ago

Last modified 6 years ago

#1230 new enhancement

Make Cactus test suite mechanism independent of Carpet's domain decomposition

Reported by: Erik Schnetter Owned by:
Priority: major Milestone:
Component: Cactus Version:
Keywords: Cc:


I recently used this line to look for differences:

diff -u <(grep '[#]' arrangements/EinsteinEvolve/GRHydro/test/balsara1_2d/grhydro\:\:bcons.y.asc | sort -u) <(grep '[#]' TEST/sim/GRHydro/balsara1_2d/grhydro\:\:bcons.y.asc | sort -u)

This removes all comments and empty lines, then sorts the output and removes duplicate lines (from different processes). The result is rather easy to interpret.

If one also deleted column 5 (?) containing the component number, then this would make the self-test independent of Carpet's process decomposition.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Frank Löffler

We tried something similar but more complex recently - directly interpreting the files 'knowning' which columns to use and which to ignore. This is not finished, but something we found is that at least for some testsuites data at the same point (ghost zones) isn't always identical, i.e., ghost zone data isn't always synced. One might argue that this shouldn't be the case in the first place, but apparently this is the case sometimes right now. The example you give wouldn't catch this. Nevertheless I found it quite neat. :)

Of course - something also nice would be a thorn writing data already independent of the process layout, a bit like PUGH ASCII output. This would scale probably terribly, but it already does so right now anyway.

comment:2 Changed 6 years ago by Erik Schnetter

If ghost zones are output, but are undefined (not synced), this is arguably an error in the test case.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.