summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* Discard spaces after "LANGUAGE xxx" specification in interface.ccleschnett2012-03-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4795 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for getpid()eschnett2012-02-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4792 17b73243-c579-4c4c-a9d2-2d5706c11dac
* implement per-variable tolerances for Cactus testsuites, for long ↵knarf2012-02-23
| | | | | | discussion, see ET ticket #114 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4791 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.3.0eschnett2012-02-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4789 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
* make testsuite script aware of comments in lines with ActiveThorns statements.knarf2012-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4784 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename variable CUCC_POSTPROCESSING to CU_POSTPROCESSINGeschnett2012-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicitly list passing test caseseschnett2012-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4780 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add number of processes to testsuite outputeschnett2011-12-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4776 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Properly check for errors when parsing parameter STEERABLE valueseschnett2011-12-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4775 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
* Ignore comments in test output fileshinder2011-12-06
| | | | | | | | Previously the content of comment lines was ignored. This commit causes comment lines to be ignored completely, allowing differing numbers of them to compare as "the same". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4773 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't sort thorn list unnecessarilyeschnett2011-11-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4771 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not add /lib64, /usr/lib64, or /usr/local/lib64 to LIBDIRSeschnett2011-11-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4770 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass unallocated arrays to Fortran as NULL pointerseschnett2011-11-09
| | | | | | | | The deleted comment is wrong. We should always pass unallocated arrays to Fortran to catch allocation errors. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4768 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve performance of Fortran index calculationseschnett2011-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | In Fortran, Cactus currently declares grid functions e.g. as (this is the expansion of DECLARE_CCTK_ARGUMENTS) REAL*8 gxx (X0metric,X1metric,X2metric) where X0metric etc. are integers passed into the routine. Each grid function group has its own, independent size. This has two disadvantages: - The compiler does not know that all grid functions have the same size (namely cctk_lsh), and thus has to perform array index calculations separately for each group - The argument list is longer than neded The enclosed patch declares grid functions via cctk_lsh. Grid arrays are still declared independently. This reduces the code size of e.g. GRHydro/GRHydro_Tmunu.F90 from 6836 to 6241 bytes on my system. I have not attempted to measure a performance difference. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4763 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.2.0eschnett2011-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4748 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use basename to lead strip directory from full path to the compilers.diener2011-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4747 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ThornUtils.pm: Escape # character for LaTeXhinder2011-10-19
| | | | | | Some parameter description strings contain "#" to mean "number". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4745 17b73243-c579-4c4c-a9d2-2d5706c11dac
* doc: Use absolute instead of relative paths for arrangement and thorn ↵hinder2011-10-19
| | | | | | | | | documentation This fixes a problem which occurs when the doc directory is actually a symbolic link. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4744 17b73243-c579-4c4c-a9d2-2d5706c11dac
* clarify error message about missing aliased functionknarf2011-10-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4742 17b73243-c579-4c4c-a9d2-2d5706c11dac
* - fix several issues with recent VERBOSE changeknarf2011-10-04
| | | | | | | - re-introduce SILENT=no to set VERBOSE=yes, for some time git-svn-id: http://svn.cactuscode.org/flesh/trunk@4740 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix issue #586: bashisms, and uppercase VERBOSE=YES, as well as a couple of ↵knarf2011-09-28
| | | | | | minor cosmetics issues git-svn-id: http://svn.cactuscode.org/flesh/trunk@4739 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove bashisms and unnecessary curly bracesknarf2011-09-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4738 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace the SILENT option with a VERBOSE option (of opposite meaning). Defaultknarf2011-09-27
| | | | | | | | | is still VERBOSE=no, but this now actually produces a lot less output: almost no "cosmetic" lines (only ---), and no messages for pre- and postprocessing anymore. Add VERBOSE=yes to get the old beavior of SILENT=no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4737 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add support for testsuite data as (optionally compressed) tarballknarf2011-09-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4736 17b73243-c579-4c4c-a9d2-2d5706c11dac
* only try to read test.ccl when it existsknarf2011-09-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4735 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix errorknarf2011-09-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4734 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Depreciate config files in test/ directories.knarf2011-09-26
| | | | | | | | | | | | If for some reason there exists both a test.ccl and a file 'config' in a thorn's test directory, Cactus uses the config file while telling the user that it's using the test.ccl. Config is so outdated this shouldn't affect anybody. This patch depreciates config files. Support for test.ccl was added in 2002 and I coulnd't find a single thorn which still uses config files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4733 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change case in file name of internal auto-generated fileeschnett2011-09-26
| | | | | | | | | | | | Cactus auto-generates header files from CCL files into the bindings/include directory. One of these files is called ${thorn}_arguments.h, which stands out because "a" is lower case. Other auto-generated files are called e.g. ${thorn}_Schedule.h with an upper case "S". This patch changes "arguments" to upper case "Arguments". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4732 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerate configure scripthinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4729 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configure.in: Correct typo in CCTK_CHECK_FUNCS(crypt,…)hinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4728 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerate configure scripthinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4727 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect backtrace-related functions during configurationhinder2011-09-22
| | | | | | | | See https://trac.einsteintoolkit.org/ticket/443 Patch by Roland Haas git-svn-id: http://svn.cactuscode.org/flesh/trunk@4726 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Jian Tao: let gmake newthorn create configuration.cclknarf2011-09-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4723 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
* Support Darwin 11.1 (Mac OS X 10.7.1)eschnett2011-08-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4718 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When checking for particular compiler names on AIX, remove the path,eschnett2011-08-17
| | | | | | | and check only the file names themselves. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4717 17b73243-c579-4c4c-a9d2-2d5706c11dac
* #define HAVE_CCTK_C_INLINE when inlining is supported, even when theeschnett2011-08-14
| | | | | | | "inline" keyword works as is. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4715 17b73243-c579-4c4c-a9d2-2d5706c11dac
* dry run of autoconf, no changes to configure.inknarf2011-08-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4713 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Lioneschnett2011-08-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4712 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Expand $extra in auto-generated comment in makefile fragmenteschnett2011-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4711 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
* When linking, sort library directories so that system directorieseschnett2011-06-28
| | | | | | | | | (/opt/local/*) come last. This increases the probability that the correct library is used, e.g. if a library exists both in a specific path and in /opt/local/lib. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4705 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect <sched.h> and sched_getaffinity()eschnett2011-06-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4704 17b73243-c579-4c4c-a9d2-2d5706c11dac