summaryrefslogtreecommitdiff
path: root/lib/sbin
Commit message (Collapse)AuthorAge
...
* 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
* 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
* 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
* f_file_processor.pl: Fix handling of continuation lines with OpenMPhinder2011-04-11
| | | | | | | | | | | | | | | | | | | | | | OpenMP requires continuation lines in Fortran 90 (and possibly Fortran 77 as well though I have not checked that) to start with the OMP sentinel (https://computing.llnl.gov/tutorials/openMP/#Directives). This patch ensures that a sentinel OMP or HPF is repeated when a line starting with that sentinel is broken to limit its length to 132 characters. It also adds a case-insensitive flag to the check for "!" like comments and adds extra backslashes to the standard_comments regex to properly match $OMP after all metacharacters have been handled. Tested with LoopControl's Fortran interface on gcc 4.5,Intel 11.1 and PGI. (Patch by Roland Haas) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4697 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
* Improve error messages when parsing configuration.ccl fileseschnett2011-03-08
| | | | | | | | | | | | | In the event of missing {}'s, the code actually went into an endless loop. The culprit was the while immediately following the error message. It was not capable of detecting end of file (i.e. when $data->[$line_number] became undefined). I added checks to ensure $data->[$Line_number] was defined in two additional while loops. [patch from Steve Brandt] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4687 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't try to update the Cactus flesh using CVS anymore - skip it instead. A ↵knarf2011-03-04
| | | | | | better solution should be found, but this at least doesn't produce an error message now git-svn-id: http://svn.cactuscode.org/flesh/trunk@4686 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve optional requirement of capabilitieseschnett2010-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thorns can specify that they can make use of a particular capability (for example HDF5), but that it is not absolutely required. It is currently not possible to detect a capability in the source code or make system of a thorn because there is no preprocessor macro and no make variable defined to indicate that the capability is available. Additionally, the preprocessor definitions which are explicitly provided by a capability are written to an include file which is malformed and hence these definitions cannot be read. This commit: * Introduces makefile and preprocessor variables HAVE_CAPABILITY_<cap> for each provided capability * Removes the incorrect definition line causing the include file to be malformed * Renames cctki_Capabilities.h to cctk_Capabilities.h and causes cctk_Capabilities.h to be included from cctk.h by all thorns * Excludes cctk_Capabilities.h from dependency checking (dependencies of the files included from this one will be sufficient) [Patch from Ian Hinder] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* support __unused__ where known. This let's e.g. gcc know that especially the ↵knarf2010-11-23
| | | | | | Cactus variables might be unused and should not be reported as such. This closes ET ticket #1 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4651 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use getpwuid($<) instead of getlogin() which returns an empty string on occationknarf2010-10-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* output (a bit) more information in the testsuite summary: current time, user ↵knarf2010-10-26
| | | | | | name and host name git-svn-id: http://svn.cactuscode.org/flesh/trunk@4643 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct handling multi-line BEGIN DEFINE blocks in configurations scriptseschnett2010-09-02
| | | | | | | | | | | | | | | I have discovered a bug in the CreateConfigurationBindings.pl script that prevents one from declaring more than one definition via the "BEGIN DEFINE" block in a configuration script. This is because the perl script receives the entire block as a single string, prefixes it with "#define" and then writes to the cctki_THORN.h file. I have modified the script to split the string on newlines and then prefix each line with "#define", which then provides the expected behavior. [Patch from Eric L. Seidel] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4629 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
* Patch from Barry Wardell, thanks:knarf2010-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables support for compiling HTML versions of the Cactus documentation. It adds new build targets: ReferenceManualHTML MaintainersGuideHTML UsersGuideHTML *-ThornDocHTML *-ArrangementDocHTML ThornDocHTML ArrangementDocHTML ThornGuideHTML Which are HTML equivalents of the existing doc targets. This makes use of the small new scripts lib/sbin/ArrangementDocHTML and lib/sbin/ThornDocHTML. This patch also introduces a small new script, lib/sbin/ConvertFigures, which automates the process of converting figures to the correct format for htlatex. Finally, it makes some changes to doc/latex/cactus.sty to improve the rendering of the HTML. It also modifies the Reference Guide to produce a more consistent result (any cases of the CCTKFunc macro were updated to use the newer FunctionDescriptionEntry). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4621 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
* sort output alphabetically (was unsorted)knarf2010-04-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4612 17b73243-c579-4c4c-a9d2-2d5706c11dac
* include more information in summary.log fileknarf2010-04-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4611 17b73243-c579-4c4c-a9d2-2d5706c11dac
* sort output of testsuite results. This makes it much easier to compare the ↵knarf2010-04-22
| | | | | | results of two similar configurations git-svn-id: http://svn.cactuscode.org/flesh/trunk@4610 17b73243-c579-4c4c-a9d2-2d5706c11dac
* sort failed files by nameknarf2010-04-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4604 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ignore system module "omp_lib" when collecting Fortran dependenciesschnetter2009-11-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4583 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove duplicate codeschnetter2009-11-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4582 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct sed patternsschnetter2009-11-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4579 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Produce pdf instead of ps versions of thorn and arrangementschnetter2009-11-11
| | | | | | | documentation git-svn-id: http://svn.cactuscode.org/flesh/trunk@4577 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
* sort list of differing files in testsuite outputknarf2009-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4566 17b73243-c579-4c4c-a9d2-2d5706c11dac
* exit loop (not die) if no progress made. This can heppen if e.g. a ↵knarf2009-06-19
| | | | | | dependency cannot be fulfilled (missing thorn) which is handled gracefully later (one hopes) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4562 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Order thorns topologically when executing configurations scripts. Ifschnetter2009-06-18
| | | | | | | | | | | | thorn A requires a feature provided by thorn B, then thorn B's configuration script is executed first. Make environment variables that are defined in configuration scripts available immediately, so that scripts (from other thorns) whicn are execute later can access them. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4561 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove commas and superfluous white space when creating REQUIRESschnetter2009-06-18
| | | | | | | THORNS entries in the configuration database. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4560 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use absolute paths because of different build possible build directories, ↵knarf2009-02-03
| | | | | | ignore latex warnings because of this until a better solution is found git-svn-id: http://svn.cactuscode.org/flesh/trunk@4538 17b73243-c579-4c4c-a9d2-2d5706c11dac
* do not treat .svn directories as unrecognized test output filesknarf2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4527 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Create documentation exclusively in pdf. No postscript or dvi isschnetter2009-01-26
| | | | | | | | | produced. Remove .eps files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4523 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix multiline perlknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4518 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use relative path to suppress latex warningknarf2009-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4515 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Also preprocess files included via '#include <header.h>' (as opposed to ↵tradke2008-10-22
| | | | | | | | | | | '#include "header.h"). This type of file inclusion is occasionally used throughout Carpet to include Cactus header files. The Cactus preprocessor had a problem with that (see thread http://www.cactuscode.org/old/pipermail/developers/2008-October/005633.html) which should be fixed by this patch. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4508 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not set the perl variable $* (turn all regexp matches intoschnetter2008-09-20
| | | | | | | | multi-line matches), since this it not supported in Perl 5.10 any more. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4507 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bugfix for comparing a parameter's default value against its allowed parametertradke2008-08-15
| | | | | | | range(s) with closed intervals git-svn-id: http://svn.cactuscode.org/flesh/trunk@4501 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Frank Loeffler's patch "Support for svn in 'make update' (2)"tradke2008-06-17
| | | | | | | (http://www.cactuscode.org/old/pipermail/patches/2008-June/000242.html) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4494 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce new schedule bin "postpostinitial".schnetter2008-05-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4487 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
* Add a statement #include "cGH.h" to the autogenerated cctk_Arguments.hschnetter2008-03-20
| | | | | | | files, since the type cGH is used later on. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4472 17b73243-c579-4c4c-a9d2-2d5706c11dac
* do not create empty difflog filestradke2008-03-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4470 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set distribution default for scalars correctlyschnetter2008-02-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4466 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check the dimension and distribution type of grid scalars and theschnetter2008-02-29
| | | | | | | distribution type of grid functions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4465 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ensure that the default value for REAL parameters is really a realschnetter2008-01-25
| | | | | | | | | | number. Ensure that the default values for keywords are checked as well, currently in the same way as strings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4456 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't treat HPF and OMP directives as commentsschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4455 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct the handling of spaces when parsing EXTENDS and USES statements.schnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4453 17b73243-c579-4c4c-a9d2-2d5706c11dac