diff options
author | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-16 19:12:39 +0000 |
---|---|---|
committer | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-16 19:12:39 +0000 |
commit | e85e80bdb8bf5a32c017c2c89eebaea96b25980b (patch) | |
tree | b0a57474d1ce1834a59692db3726f7f7bb5f2853 /src/param.ccl | |
parent | 8c217ff59b154985a8321420968d9803601ee06a (diff) |
add parameters to reverse un-enforced Cactus schedule ordering
This patch adds two new parameters to the flesh:
* schedule_sort_mode - which affects the order of schedule items before
enforcing BEFORE/AFTER
* schedule_sort_warnings - which outputs warnings if a schedule item refers
to a non-existing item in its BEFORE/AFTER modifiers
Neither one is intended to be used in production runs but they are useful for
debugging a schedule.
schedule_sort_warnings is intended to catch typos in dependency names and when
one tries to order with respect to items hidden within a group. It will find a
number of false positives for items that are only scheduled based on parameter
settings. Eg. MoL's RHS NaN checker.
schedule_sort_mode can be used to ensure that the schedule order does not
depend on the (semi-random) order that Cactus generates for non-enforced
ordering.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4845 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/param.ccl')
-rw-r--r-- | src/param.ccl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/param.ccl b/src/param.ccl index 8b6929b7..5746f0bf 100644 --- a/src/param.ccl +++ b/src/param.ccl @@ -91,6 +91,18 @@ KEYWORD recovery_mode "How to behave when recovering from a checkpoint" STEERABL "relaxed" :: "Recover variables if possible, after INITIAL timebins have been scheduled" } "strict" +# these options are intended to help debugging schedule files. Do not rely on +# them to ensure any particular ordering. +KEYWORD schedule_sort_mode "How to behave when no explicit ordering is prescribed between itemse" STEERABLE=RECOVER +{ + "none" :: "no special ordering is enforced" + "ascending" :: "sorted alphabetically by thorn name and item name" + "descending" :: "sorted in reverse alphabetical order by thorn name and item name" +} "none" + +BOOLEAN schedule_sort_warnings "Output warnings if a schedule item refers to a non-existing item for ordering" +{ +} "no" restricted: |