summaryrefslogtreecommitdiff
path: root/lib/sbin/CreateScheduleBindings.pl
Commit message (Collapse)AuthorAge
* Changes for ticket #768sbrandt2012-06-18
| | | | | | | | Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx git-svn-id: http://svn.cactuscode.org/flesh/trunk@4839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Merge branch 'NewSchedule' into trunkhinder2012-01-31
| | | | | | | | | | | This provides support for specifying READS and WRITES clauses for each function scheduled in schedule.ccl. These list the variables which the scheduled function reads from or writes to. This supports future dependency-based scheduling. See https://docs.einsteintoolkit.org/et-docs/Adding_requirements_to_the_Cactus_scheduler for more information. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow zero timelevels in STORAGE timelevelseschnett2011-12-12
| | | | | | | | | | | This allows to simply set timelevels=0 to turn off storage without having to put an "if (do_something timelevels > 0)" into schedule.ccl files. It is also the only way to turn off storage inside of a GROUP of SCHEDULE statement based on a condition (other than scheduling the item twice, once with STORAGE, once without). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4774 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow parameters in STORAGE specificationseschnett2011-07-02
| | | | | | | | Allow parameters in addition to integer constants in STORAGE specifications in schedule.ccl. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4707 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This patch makes the CST stage create prototypes for all scheduledeschnett2011-03-30
| | | | | | | | | | | functions into a new file cctk_ScheduleFunctions.h, which is included into cctk.h. This is done only for C (and C++) since Fortran prototypes cannot be declared at file scope. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4695 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
* Correct typo in error messageschnetter2005-09-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4139 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to give a better error message when lang is missing orgoodale2004-06-23
| | | | | | | | | badly specified in a schedule block. Fixes PR 1722. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3789 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Disabled the check for triggers of ANALYSIS routines as the absence oftradke2004-01-22
| | | | | | | triggers now means to schedule such routines unconditionally. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3562 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allows scheduling in the analysis bin without any triggers. Thisschnetter2004-01-21
| | | | | | | executes the scheduled item always. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3552 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed text in hintallen2003-07-05
| | | | | | | Fixes Cactus/1124 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3248 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
* Moved parameter recovery routines for thorns from CST-generated source filestradke2003-01-25
| | | | | | | | "ParameterRecovery${thorn}.c" into "Schedule${thorn}.c". Configurations should be cleandep'ed and rebuilt after this update. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3104 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in warning message. Some better grdoc for generated files.tradke2002-05-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2872 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix logic for detecting attempt to try to activate more timelevels thangoodale2002-04-25
| | | | | | | | | | | | actually exist for a group, also prettyfied the error message for the 1 timelevel case. Fixes PR 981. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2753 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Passing timelevel storage info from schedule.ccl files to the flesh. Thisgoodale2002-04-17
| | | | | | | | | | | | | should now work. Note that the COMM stuff is now completely obsoleted and the schedule stuff no longer schedules variable groups for comm (this only affects driver writers as the statement has been deprecated for ages). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2725 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes to parse and validate a timelevel specifier for storage.goodale2002-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | If you have a group with more than one timelevel it is now an error not to specify in your schedule.ccl file how many timelevels to enable. Note that the information is still not passed into the flesh, this will happen soon... This change should not affect anyone who is not using timelevels. Everyone who is will need to update their schedule.ccl files, the syntax is storage: group[<number>] to enable storage for <number> timelevels, where <number> must be between 1 and the number of timelevels specified in the interface.ccl file, inclusive. See CactusWave for examples. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2724 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Produce a CST error if an analysis function or analysis group is scheduledallen2002-04-14
| | | | | | | | | | | without a trigger line. Soon the synthax will be extended to be able to trigger an analysis function by other means than just a grid variable/group, at least we will be added the ability to always schedule an analysis function. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2714 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2001-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a "help" argument to the CST_error call to start adding suggested ↵allen2001-08-19
| | | | | | | | | causes for the errors. At the moment the help message is always shown, since I've only added a couple so far. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2307 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding function prototypesallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* FORTRAN_NAME -> CCTK_FNAMEallen2000-05-10
| | | | | | | | | FMODIFIER -> CCTK_FCALL Old names will work until beta 9 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1633 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing the return code for parameter recovery:tradke2000-04-19
| | | | | | | | | | | | | | | | All the CCTKi_BindingsParameterRecovery_XXX() routines return zero: as the default value if they don't provide a scheduled parameter recovery routine, or if no recovery was requested less zero: if the scheduled parameter recovery routine failed for some reason greater zero: successful recovery of parameters CCTKi_BindingsParameterRecoveryInitialise() uses the same return codes and immediately returns after the first successful recovery. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1592 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing the default return value of the CCTKi_BindingsParameterRecovery_XXX()tradke2000-04-19
| | | | | | | | routines from 0 to -1. Positive return values indicate successfull recovery of parameters. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1584 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug fix - options weren't being passwd properly.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1581 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added parsing for parameter recoveryallen2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1580 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicit cast to void * to prevent warnings.goodale2000-04-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1537 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Errors using CST_error so they appear in the right placeallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1341 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implementedgoodale2000-01-28
| | | | | | | | | | | | | SCHEDULE AS so a function can be aliased with a different name. Untested. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1326 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now, subject to review, you can putgoodale2000-01-28
| | | | | | | | | | | | | | | | | | OPTIONS:... in a schedule block to pass miscellaneous options to the schedular. Currently the only option is "Global" which sets a flag on the FunctionData structure passed to the call function. This option only makes sense for a scheduled function, not a schedule group, though this may change in the future. It is used to indicate to the calling function that this function should only be called once as it performs global operations. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1325 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Probably a good idea to actually look at the parsed list of sync groupsgoodale2000-01-28
| | | | | | | | | for output ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1324 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Addedgoodale2000-01-27
| | | | | | | | | | | | | | | | | | | | SYNC[HRONISE]: <group list> as an option to the schedule.ccl. This will be used to tell the flesh or the driver to synchronise these groups after the function has been executed. Tom NOTE: You will need to do a gmake <config>-rebuild after this update as the bindings stuff has changed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1318 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed include line for new prototype location.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1316 17b73243-c579-4c4c-a9d2-2d5706c11dac
* COMMUNICATION switched on automatically for all groups with STORAGEallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1287 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1264 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Final code for supportingallen2000-01-12
| | | | | | | | | | | USE_CCTK_PARAMETERS USE_CCTK_CARGUMENTS which can be used to remove all the warnings about unused variables (seen on the origin or if you compile with all warnings) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1231 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug in adding to text string for output to fileallen1999-11-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1152 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use Perl5 stuff...goodale1999-10-24
| | | | | | | | | | | | | local -> my used perl 5 references for passing databases around in the CST. CST is now about a factor of 16 faster ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1101 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CST only writes files which have changed (still a couple more writesallen1999-10-20
| | | | | | | | | | to replace). Also a bug fix for Build Headers for when the file to be included is in the include directory of the thorn. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1068 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reorganisation of the perl.goodale1999-07-24
Should also have fixed the -O problem. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@779 17b73243-c579-4c4c-a9d2-2d5706c11dac