summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* test flesh commitknarf2010-04-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4607 17b73243-c579-4c4c-a9d2-2d5706c11dac
* test flesh commitknarf2010-04-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4606 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The architecture file xt4-cray-linux misdetects the GNU Fortranschnetter2010-04-17
| | | | | | | | | | | | | | 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
* sort failed files by nameknarf2010-04-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4604 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update default options for Darwin (Mac OS)schnetter2010-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4603 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.3.0schnetter2010-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4602 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the names that gcc has on Mac OS when installed from the Mac Portsschnetter2010-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4601 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enforce reconfiguring after introducing RUNDIR_PREFIXschnetter2010-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4600 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce new configuration variables LIBDIR_PREFIX, RUNDIR_PREFIX,schnetter2010-03-26
| | | | | | | | | | | | | | | | 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
* Add support for AIX 6.1.3.0schnetter2010-03-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4598 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for "new" operating systemschnetter2010-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4597 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect HP-UX 11.11schnetter2010-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not include CVS headers in new thorns. Not only are they not universaly ↵knarf2010-01-26
| | | | | | liked, but cvs is also not that common anymore git-svn-id: http://svn.cactuscode.org/flesh/trunk@4595 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The function can get confused with detecting the end of the bufferschnetter2010-01-18
| | | | | | | | | | | | | | 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
* Improve screen message when option -S (--print-schedule) is usedschnetter2010-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4593 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not overwrite the user's MPI settingsschnetter2009-12-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4592 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Output parameter warnings to both stdout and stderr, same as regularschnetter2009-12-05
| | | | | | | | | | | | 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
* Modify the behaviour of mixed C/Fortran string comparisons, so that itschnetter2009-12-05
| | | | | | | | | | | | | 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
* Add new schedule modes meta_early, meta_late, global_early, andschnetter2009-12-05
| | | | | | | | | 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
* Rename routine CCTK_IOMethod to CCTK_IOMethodName, since it returnsschnetter2009-12-05
| | | | | | | | | | 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
* Correct error in export declarationsschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4587 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Accept both lower and upper case arguments for the PTHREADSschnetter2009-12-05
| | | | | | | configuration variable git-svn-id: http://svn.cactuscode.org/flesh/trunk@4586 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use : instead of touch to create a fileschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Export all make variables to sub-processes. This is necessary toschnetter2009-12-05
| | | | | | | | 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
* 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
* Provide LoopControl macros.schnetter2009-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update configureschnetter2009-11-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4580 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
* Detect whether the compiler supports the attributesschnetter2009-11-11
| | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Use size_t instead of char as index variable into the parse bufferschnetter2009-11-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4576 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.2.0schnetter2009-11-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4575 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't refer to the subsubsection right below by reference - all this ↵knarf2009-11-05
| | | | | | produces is the number of the whole subsection git-svn-id: http://svn.cactuscode.org/flesh/trunk@4574 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This patch improves the parser used by Cactus to prepocess parameterknarf2009-09-25
| | | | | | | | | | | | | | | | | | | 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
* Support Darwin 10.0.0 (Snow Leopard)schnetter2009-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4572 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
* Especially with the widespread use of Carpet this can catch the eye ofknarf2009-09-10
| | | | | | | 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
* 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
* Support Darwin 9.8.0schnetter2009-08-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4565 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for AIX 6.1.2.0schnetter2009-07-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4564 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 9.7.1schnetter2009-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4563 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
* Correct error in commentschnetter2009-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 9.7.0schnetter2009-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4558 17b73243-c579-4c4c-a9d2-2d5706c11dac