| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4607 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4606 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiler gfortran as the Portland compiler when gfortran is called
through the ftn wrapper that Kraken provides.
The fix is to do what the linux architecture file does and to remove
the faulty test for Portland, and also fix the test for GNU Fortran to
not require '95' in the version string.
(Patch by Roland Haas)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4605 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@4603 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4602 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4601 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4600 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and LIBLINK_PREFIX. Expand them in makefiles.
LIBDIR_PREFIX and LIBLINK_PREFIX existed before, but were not explicit
configuration variables. RUNDIR_PREFIX is used to remember the path
to a shared library in an executable.
Keep the default value for LIBDIR_PREFIX at "-L" and LIBLINK_PREFIX at
"-l". Set the default for RUNDIR_PREFIX to "-Wl,-rpath,".
Use these variables when building the executable.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4599 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4598 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4597 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4596 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
liked, but cvs is also not that common anymore
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4595 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when the last line is in a comment or in a string, and may overrun the
end of the buffer. The symptoms are error messages past the last line
of the parameter file, because the memory after the buffer end is
interpreted as (probably mal-formed) parameter file content.
Since the paring routine is quite complex, this patch works around
this problem by increasing the size of the buffer by a few characters
and setting these to NUL.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4594 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4593 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4592 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
warnings.
Remove the function print_bold_stderr. Use bold_stdout and
bold_stderr instead.
Clean up the way variable argument lists are handled.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4591 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is consistent with the routines converting Fortran strings to C
strings.
Fortran strings have a fixed length, and trailing white space is
usually ignored. The Cactus routine converting Fortran to C strings
did already ignore trailing white space, but the routine comparing
Fortran and C strings did not. This is now consistent.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4590 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
global_late. These modes can then be used in Carpet, where they will
simplify traversing the schedule tree when local, level, and global
mode routines are mixed.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4589 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
the name of the I/O method, not an IOMethod structure.
Add a new routine CCTK_IOMethod which returns a pointer to the
IOMethod structure describing the I/O method.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4588 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4587 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
configuration variable
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4586 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4585 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
access e.g. CC and CFLAGS when building external libraries via the
configuration.ccl mechanism.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4584 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These generalise the LoopControl thorn of Carpet, and introduce a
generic looping mechanism to Cactus. They provides a simple,
straightforward implementation (without the optimisations found in
Carpet's LoopControl thorn), and other thorns can provide various
optimisations, e.g. loop tiling or OpenMP parallelisation.
The macros are defined in a new file cctk_Loop.h, automatically
included from cctk.h. There are macros for 1D, 2D, 3D, and 4D loops,
corresponding to Cactus' CCTK_GFINDEX* macros. Each macro comes in
four variants:
CCTK_LOOP3: a generic 3D loop
CCTK_LOOP3_ALL: loop over all grid points of a grid function
CCTK_LOOP3_INTERIOR: loop over the interior points, excluding
ghost, symmetry, and boundary points
CCTK_LOOP3_BOUNDARY: loop over all (outer) boundary points
The header file contains a straightforward implementation via macros
that expand to corresponding "for" statements.
There are also macros for Fortran, but these are much less elegant
since Fortran does not support block-scope local variables. In
addition, Fortran requires declaring certain variables as private when
OpenMP is used, which adds another complication.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4581 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4580 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4579 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
const
pure
unused
cold
hot
These attributes can be used to annotate declarations of variables,
functions, and member functions to avoid warnings or enable additional
optimisations.
Detect whether the _Pragma directive is recognised. _Pragma can be
used instead of #pragma, but works also inside macros.
Update the detection of the static, inline, and restrict qualifiers to
catch certain compiler errors, and avoids using these attributes with
these compilers.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4578 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@4576 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4575 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
produces is the number of the whole subsection
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4574 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files.
The main changes are:
- when reading a parameter file do not parse the file while reading,
but read it first into a buffer, preprocess that and parse the
buffer after that
- replace the code which changes $parfile into the parameter file
name to use this buffer preprocessing
- replace $ENV{'*'} "defines" by environment variable values (*),
e.g. $ENV{'HOME'} with $HOME.
Frank
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4573 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4572 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
|
|
|
|
|
|
|
| |
an user early and point to the right place to fix
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4567 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4566 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4565 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4564 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4563 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4559 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4558 17b73243-c579-4c4c-a9d2-2d5706c11dac
|