summaryrefslogtreecommitdiff
path: root/lib/sbin/CST
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
* Declare string array as "const char*"eschnett2012-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4822 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow a configuration.ccl file for the flesheschnett2011-08-25
| | | | | | | | | The mechanism in Cactus that handles configuration.ccl files currently cannot handle a configuration.ccl for the flesh. This patch corrects this. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4720 17b73243-c579-4c4c-a9d2-2d5706c11dac
* move debug declarations to the top of the file, no actual change in the codeknarf2010-06-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4622 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This patch corrects a typo in the CST output.eschnett2010-05-27
| | | | | | | [Patch from Ian Hinder] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4616 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add option to save parameter database for further analysisknarf2009-09-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4571 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix pointer vs hash errorknarf2009-09-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4570 17b73243-c579-4c4c-a9d2-2d5706c11dac
* simplify code by combining similar (debug) functionsknarf2009-09-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4569 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add function to save interface database to file for further analysis. ↵knarf2009-09-11
| | | | | | Disabled by default (to enable, uncomment "$debug_interface" in lib/sbin/CST) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4568 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use "cctk_unlikely_dummy_name" instead of "dummy" when sorting thorns.schnetter2007-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4417 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor cleanup in generated code -- remove spacesschnetter2005-09-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4138 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve error messageschnetter2005-09-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4137 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configuration.ccl fix. Please test and report if anything breaksyye002005-08-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make cactus thorn lib names less likely to clash with system namesgoodale2004-11-30
| | | | | | | by prefixing - currently use thorn_ for nostalgie reasons 8-) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3921 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added tracking of options for thorn configuration scripts. Now a thorngoodale2004-08-27
| | | | | | | | | | | | | | | | | | | | | | may specify OPTIONS a b c in a PROVIDES block in its configuration.ccl and these options will be tracked and stored in the configuration's config-info file. The config-info file, and any options file specified on the command line are now used to setup the environment before a configuration script is run by the CST. Note that the only options stored to the config-info file by the CST are ones specified in the configuration.ccl files, and configuration scripts are invoked each time the CST is run, so any option used by a thorn's configuration script MUST be mentioned in the configuration.ccl file to be remembered the next time the CST is invoked. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3855 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect if two thorns providing the same implementation have inconsistentgoodale2004-08-17
| | | | | | | | | restricted parameter sets. Patvh from Yaakoub. Fixes PR 1289. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3832 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow a thorn, which PROVIDES a certain capability, to also REQUIRE it.tradke2004-05-17
| | | | | | | | In this case the REQUIRES clause will be silently ignored to avoid cyclic dependencies in the makefile as well as for the tsort algorithm. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3739 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Just another fix for my latest commit on sorting an empty thornlist.tradke2004-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3707 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for my last commit: forgot to remove dummy entries in thornlist.tradke2004-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3706 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't try to sort an empty thornlist.tradke2004-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3705 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes from Yaakoub.goodale2004-05-03
| | | | | | | | Added true topological sorting of thorns. Proper error logging from configuration scripts. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3685 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed compile-time dependency of all thorns on Cactus and CactusBindings.tradke2004-03-29
| | | | | | | | Now that the F90 interface declarations were sourced out into AlphaThorns/F90 this isn't necessary anymore. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3618 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Erik Schnetter:goodale2004-03-27
| | | | | | | | | | Do not list thorn dependencies twice. Do not use upper case for makefile variables containing thorn names, because the makefiles cannot convert the library names to upper case. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3608 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing a debugging statement.goodale2004-03-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3606 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implementation of configuration.ccl spec from Yaakoub Y El-Khamra.goodale2004-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3602 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix dependency generationschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3535 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add (incomplete) Fortran 90 bindings for the flesh functions.schnetter2004-01-19
| | | | | | | Also, detect Fortran 90 inter-module dependencies automatically. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3524 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow vector groups of scalars.schnetter2003-11-21
| | | | | | | | | | Allow vector groups with more than one declared variable. Much of this patch consists of removing special case code for scalars. Scalars are now almost everywhere treated as rank 0 arrays. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3465 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed routine to create a minimal THORN_LINKLIST. Also checks for crosstradke2003-11-18
| | | | | | | dependencies but doesn't deal with them (just issues an error message). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3458 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Traverse all hashes alphabetically, so that all output files of theschnetter2003-10-07
| | | | | | | | CST stage will be identical. This is necessary at least since perl 5.8.1 to avoid redundant recompilation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Another fix for the generation of the THORN_LINKLIST.tradke2003-09-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3401 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Another fix in creating the THORN_LINKLIST.tradke2003-09-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3398 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sort the thorn link list also by the 'Requires Thorns:' list as taken fromtradke2003-09-05
| | | | | | | configuration.ccl files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3396 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Parse information in thorns' configuration.ccl files.tradke2003-09-04
| | | | | | | | | So far only the "REQUIRES THORNS: <list of thorns>" attribute is evaluated and checked that (1) all required thorns are in the ThornList to be compiled and (2) activated at runtime. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3393 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improved CreateThornLinkList() so that it greatly reduces the link list fortradke2003-07-22
| | | | | | | a thorn list with cross dependencies. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3344 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug when sorting out the order of libs in the thorn linklist.tradke2003-01-28
| | | | | | | This closes PR Compiler/1369 and probably also Cactus/1323. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3115 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed hint message for long thorn namesallen2002-08-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2976 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/983allen2002-04-26
| | | | | | | | | | | | Check for existance of timebins/groups for scheduling <IN> as well as scheduling <AT>. Give a warning for scheduling <IN> a non-existant timebin. Print warnings at the end of CST as well as during CST. This needs more tidying to look prettier. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2756 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reworked treatment of CCTK_DECLARE macros. Now the C file preprocessortradke2002-03-27
| | | | | | | | | | | | | | | | | | | will put everything up to the closing bracket for a routine into a new block. Also, the USE_CCTK macro is now appended directly to the CCTK_DECLARE macro. There is no need anymore to use CCTK_NO_AUTOUSE_MACRO. Also changed the way how parameters and arguments are used within the USE_CCTK macros: now it's done by "(void) (parameter = 0);" which is better than assigning the address of it to some dummy pointer. This fixes problems where one had to parse for a possible return statement at the end of the routine. This fix closes PR Cactus/949. Also did some perl code optimization and added grdoc headers for files generated by the CST. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2676 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check thorn names are valid when running CSTallen2001-09-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2363 17b73243-c579-4c4c-a9d2-2d5706c11dac
* removing some line breaks in print statementsallen2001-09-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2330 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
* Added more checking for consistency of ancestors. Now CST catches privateallen2001-07-11
| | | | | | | | | | | | | | variables in a thorn with the same names as public variables from it's parents. (I'm sure I did this to fix a bug report but I can't find it now). Expanded some warnings to give more suggestions. Also added a system_database to hold odd things like the configuration and cctk directories. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2286 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a missing space in the link lineallen2001-07-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2285 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Build a sorted list of all thorns' libraries which is minimal if there aretradke2001-07-11
| | | | | | | | | | | | | | | | no cross-dependencies - otherwise it will fall back to the old scheme of putting every lib twice on the linker command line. This should fix problems with unresolved symbols for configurations with thorns which indirectly depend on other thorns (.eg. IOStreamedHDF5 -> IOHDF5Util -> PUGHSlab). Closes PR Cactus 658 and Cactus-722. You need to also update lib/make/make.configuration and then rebuild your configuration in order to use the new liblist. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2283 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check that array sizes in interface.ccl are parametersallen2001-05-12
| | | | | | | | At the moment this is still crude, only check is that the parameter name is in a thorn, I'm not checking the implementation/thorn name git-svn-id: http://svn.cactuscode.org/flesh/trunk@2177 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initial implementation of Function Aliasing for thorns.allen2001-02-24
| | | | | | | | | | | | | | | | | | This is described on a Spec on the web pages at the moment, and will move to the documentation once it is tested and extended a bit more. If you want to have a look at it in action, checkout the thorns TestFunctions1A, TestFunctions1B and TestFunctions2 which will be in AlphaThorns in a few minutes time. At the moment it is only possible to use Function Aliasing for C functions which use and return Cactus data types. You will need to rebuild your configurations once you update, but apart from that these changes shouldn't affect anyone ... if you see any problems please let us know. Gabrielle git-svn-id: http://svn.cactuscode.org/flesh/trunk@2060 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't stop if the thorn list contains identical thorns from identical packages.allen2000-09-17
| | | | | | | Added better error message for duplicate thorn names git-svn-id: http://svn.cactuscode.org/flesh/trunk@1822 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configuration.ccl stuff from a while back. Parses the .ccl file as pergoodale2000-08-31
| | | | | | | | | | spec, and generates a list of 'thorns' with no source files - i.e. ones which shouldn't get libraries built for them. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1804 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ignore directives in thorn listsallen2000-06-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1678 17b73243-c579-4c4c-a9d2-2d5706c11dac