summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Correct dependency calculation for CUDAeschnett2012-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4850 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Generate a fatal error if trying to run tests on more than one process ↵hinder2012-07-24
| | | | | | without having MPI git-svn-id: http://svn.cactuscode.org/flesh/trunk@4849 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare argument const to prevent compiler warningeschnett2012-07-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4848 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move MPI support from flesh to a thorneschnett2012-07-21
| | | | | | | | | | | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list. * Declare that the flesh optionally uses MPI (because it needs to call MPI_Init) * Update test case mechanism to find out whether MPI is used * Handle configuration bindings for flesh * Don't special-case Crays any more when configuring Linux git-svn-id: http://svn.cactuscode.org/flesh/trunk@4847 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add documentation for CCTK_TraverseStringrhaas2012-07-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4846 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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
* have -reconfig target execute -cleandeps after reconfigurationrhaas2012-07-15
| | | | | | | this can be required if the reconfiguration changes dependency relationships git-svn-id: http://svn.cactuscode.org/flesh/trunk@4844 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct error in determining dependencieseschnett2012-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4843 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTKReference.tex: Add information on vector variables to CCTK_VarIndexhinder2012-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4842 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4841 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove redundant includessbrandt2012-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4840 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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
* Add script to auto-generate cctk_Loop.heschnett2012-06-18
| | | | | | | | Also update API. Add documentation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4838 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove accidentally commited duplicate capabilites handling coderhaas2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4837 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace CCTK_RESTRICT by restrict, which is now defined by the flesheschnett2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4836 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct errors in handling optional capabilitieseschnett2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4835 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unused and broken BinaryTree implementationeschnett2012-06-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4834 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing lssh field to struct cGroupDynamicDataeschnett2012-06-11
| | | | | | | | | The size and memory layout of grid functions is described by two variables, cctk_lsh and cctk_lssh. The structure cGroupDynamicData is missing the lssh field. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4833 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
* have CCTK_RegexMatch return a distinct error code if patterns is invalidrhaas2012-06-05
| | | | | | | | | | | | | | This patch changes the return value in the "does not compile" case to -1 and updates all source files that I could find that use it. Note that this patch changes behaviour of a routine. It used to return 0 for non-compiling patterns so thorns that test for C-like true would interpret invalid patterns as does-not-match, but will interpret the -1 return value as does-match. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4831 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't reference something outside the appendix because the appendices are ↵knarf2012-05-21
| | | | | | used in more than one document git-svn-id: http://svn.cactuscode.org/flesh/trunk@4826 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Describe OPTIONS and TAGS in schedule.ccleschnett2012-05-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4825 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove bashisms, resolves ticket #901knarf2012-05-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4824 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Clean up CCTK_GFINDEX definitionseschnett2012-05-12
| | | | | | | | Do not use macros for CCTK_GFINDEX; use static inline functions all the time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4823 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
* Support Darwin 11.4.0 (Mac OSX 10.7.4)eschnett2012-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4821 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove outdated language recommendationseschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4820 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing table labeleschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4819 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update description of configuration.ccleschnett2012-05-09
| | | | | | | | Don't call this "new" any more. Remove description of ideas that are not implemented. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4818 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reorder file name suffix tableeschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4817 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add I/O timers to Cactus flesheschnett2012-05-08
| | | | | | | Add timers for each I/O method in the flesh. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4816 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove stand-alone ThornGuide make targeteschnett2012-05-08
| | | | | | | | | Remove the make target that builds the stand-alone, global Thorn Guide. The configuration-specific ThornGuides and the individul ThornDocs remain. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4815 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare missing 0D GFIndex functionseschnett2012-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4814 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect declarations with external "C"eschnett2012-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4813 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enable "restrict" as keyword in C++eschnett2012-05-07
| | | | | | | You can now use "restrict" instead of CCTK_RESTRICT in C++. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4812 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle requirements recursivelyeschnett2012-05-02
| | | | | | | | | | If A requires B, and B requires C, then A also requires C. This is necessary e.g. for include directories: If A includes a file from B, which in turn includes a file from C, then C's include directory must be in the search path of A. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4811 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More error checking for capability nameseschnett2012-05-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4810 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle BEGIN/END INCLUDE in configuration.ccl script outputeschnett2012-05-02
| | | | | | | Translate BEGIN INCLUDE...END INCLUDE into include statements. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4809 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support OpenCL source code (.cl files)eschnett2012-05-02
| | | | | | | | | | | | | | | | | | OpenCL source code needs to be compiled at run time, and thus needs to be passed as string to the OpenCL run-time library. This makes writing OpenCL source code inconvenient. This patch adds *.cl as supported file type to Cactus. *.cl files are transformed into globally visible strings, with a name consisting of the thorn name and file name. These strings can then be easily used at run time to build and run OpenCL code. Since *.cl files are converted to strings (and are not OpenCL-compiled at build time), there are no CL* options specifying compiler type, compiler flags etc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4808 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct info messageeschnett2012-05-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4807 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prevent CST from hanging if a {} "" block is missing after a scheduling ↵knarf2012-05-01
| | | | | | block and before the end of the file. Closes #825. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4806 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add function to query name of currently scheduled functionrhaas2012-04-23
| | | | | | | | | | this adds a function CCTK_ScheduleQueryCurrentFunction which returns the cFunctionData of the function currently executing via CCTK_CallScheduledFunction git-svn-id: http://svn.cactuscode.org/flesh/trunk@4805 17b73243-c579-4c4c-a9d2-2d5706c11dac
* expand expression language, add error checking, and more documentationrhaas2012-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4804 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some cleanup: Use my, use better variable names, re-indent.eschnett2012-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4803 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix memory leak in SetVarEvaluatorrhaas2012-04-17
| | | | | | | forgot to call free() after strdup() git-svn-id: http://svn.cactuscode.org/flesh/trunk@4802 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix access to free()ed memory in ParameterSetReal introduce in r 4797rhaas2012-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4801 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing #includeeschnett2012-04-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4800 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Simplify two routines in ParseFile.ceschnett2012-04-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4799 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add documenation on expression parser to UserGuiderhaas2012-04-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4798 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow arithmetic expression in ParameterSetrhaas2012-04-11
| | | | | | | | | | | | | | | | | | Expression are of the form: foo::bar = 2*sin(foo:baz) ie. arithmetic and access to already set parameters. The new behaviour is triggered if the parameter string (for real, boolean and int parameters) does not parser properly as a double/int/bool. This last test is mostly an optimization. The largest change is actually in the expression parser which has been extended to handle eg. exponential notation and negations. It now uses a state machine to parse its input. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4797 17b73243-c579-4c4c-a9d2-2d5706c11dac