summaryrefslogtreecommitdiff
path: root/src/schedule/ScheduleCreater.c
Commit message (Collapse)AuthorAge
* add parameters to reverse un-enforced Cactus schedule orderingrhaas2012-07-16
| | | | | | | | | | | | | | | | | | | | | | 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
* correctly detect circular schedule itemsrhaas2012-06-11
| | | | | | | | | before this Cactus would not detect certain cyclic dependencies eg. ones where two scheduled functions are each scheduled after the other or where a function wants to be scheduled after itself. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4832 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add IF clauses to schedule itemsschnetter2008-04-09
| | | | | | | | | | | | | | | Schedule items in Cactus can already have WHILE clauses, which means that they are executed while a certain condition are true. This patch adds IF clauses, which means that they are executed only if a certain condition is true. The syntax is equivalent to WHILE clauses. These if clauses is different from the existing C-syntax if statements, which are only evaluated at startup and determine how the schedule is constructed. These if clauses are evaluated every time the schedule is traversed, and can skip certain schedule items. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4478 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This is a partial fix for bug Cactus/1908jthorn2005-03-21
| | | | | | | | | | | | | | | | | | | | | | scheduling error neither aborts Cactus run nor gives useful error message so scheduling errors now abort the Cactus run. In particular, this commit changes the error-handling strategy of CCTKi_DoScheduleSortAllGroups() ScheduleSortGroup() from "print a message to stderr, then return error code" to CCTK_VWarn(CCTK_WARN_ABORT, ...), i.e. "print a message to stderr, then abort the Cactus run". The CCTKi_DoScheduleSortAllGroups() message is the same one as before. The ScheduleSortGroup() message is changed to include the group name. (N.b. the other part of Cactus/1908, that the schedule-error message is uninformative, is *not* fixed by this commit.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4016 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a check against scheduling items with the same name in a schedule bingoodale2003-02-17
| | | | | | | | | or group. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3148 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now scheduling a group AS preserves the identity of the group, allowinggoodale2003-02-17
| | | | | | | | | | | | | | | | people to schedule in the real name and then schedule many aliases of the group in the same schedule bin or parent group. Note that you need to do a make <config>-rebuild on your configurations after updating with this change. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3147 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding ; after CCTK_FILEVERSION macro.goodale2002-12-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3050 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc and style.goodale2000-10-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* getting of rcsid warnignslanfer2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1591 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put #include "cctki_Schedule.h" in to enforce consistency.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1309 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various changes to make sure there are function prototypes for things.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1179 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in function name.goodale1999-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the new traversal routines.goodale1999-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@934 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Lots of tidying and reorganisation.goodale1999-09-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@929 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This commit was generated by cvs2svn to compensate for changes in r924,goodale1999-09-15
which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.cactuscode.org/flesh/trunk@925 17b73243-c579-4c4c-a9d2-2d5706c11dac