| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4645 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
name and host name
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4643 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4622 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
[Patch from Ian Hinder]
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4616 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4612 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4611 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
results of two similar configurations
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4610 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4604 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4583 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4582 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4579 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
documentation
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4577 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4571 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4570 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4569 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4566 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
THORNS entries in the configuration database.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4560 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4527 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
produced.
Remove .eps files.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4523 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4518 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4515 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
'#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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
range(s) with closed intervals
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4501 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4487 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
files, since the type cGH is used later on.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4472 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4470 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4466 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
distribution type of grid functions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4465 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4455 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4453 17b73243-c579-4c4c-a9d2-2d5706c11dac
|