summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* reintroduce dependency fixup to avoid full compile when thornlist changesrhaas2012-08-11
| | | | | | | | | | this fixes an issue introduced in r4839 where the original patch removed special treatment for three (or so) files, assuming that these files are not generated any more. This was wrong, and this patch reverts special treatment for one of these files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take REQUIRES and OPTIONAL into account when determining library link ordereschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4860 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force reconfiguringeschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take $(CFLAGS) or $(CXXFLAGS) into account when determining dependencieseschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4858 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve flesh MPI configuration messageshinder2012-08-03
| | | | | | Avoid confusion now that the flesh MPI support is deprecated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4856 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.0.0 (OS X 10.8.0)eschnett2012-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make cleandeps a no-op if build directory does not existrhaas2012-07-25
| | | | | | | eg. because of a previous realclean git-svn-id: http://svn.cactuscode.org/flesh/trunk@4853 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.2eschnett2012-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4852 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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
* Correct error in determining dependencieseschnett2012-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4843 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
* 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
* 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 bashisms, resolves ticket #901knarf2012-05-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4824 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
* 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
* 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