summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Switch from yasm to nasm.HEADmasterAnton Khirnov2020-06-17
|
* make.config.rules: add support for yasm filesAnton Khirnov2016-02-27
|
* add known support for linux-gnueabi (linux)knarf2013-10-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reformat routineeschnett2013-10-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5045 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.5.0eschnett2013-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5044 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add more checks when checking for C99 featureseschnett2013-08-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5043 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve argument nameeschnett2013-08-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5042 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unused variableseschnett2013-08-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5041 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updated the docs on the parser.sbrandt2013-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5040 17b73243-c579-4c4c-a9d2-2d5706c11dac
* expand error message for CCTK_DISABLE_OMP_COLLAPSE to contain instructions ↵rhaas2013-08-06
| | | | | | for fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@5039 17b73243-c579-4c4c-a9d2-2d5706c11dac
* commit typo in function name of strtolrhaas2013-08-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5038 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the --python flag work.sbrandt2013-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5037 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added parfile pegsbrandt2013-07-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5036 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus currently printsknarf2013-07-27
| | | | | | | | | | | | | | | | | | | | | 10 1 0101 ************************ 01 1010 10 The Cactus Code V4.0 1010 1101 011 www.cactuscode.org 1001 100101 ************************ 00010101 100011 (c) Copyright The Authors 0100 GNU Licensed. No Warranty 0101 Cactus version: 4.2.1 Note the first version, mentioned in the Banner (4.0) is wrong - it's hard-coded in the source. The attached patch uses CCTK_FullVersion() instead. Kudos to Steve to spot this. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5035 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Currently Cactus sets up flags like CPPFLAGS or CFLAGS by adding e.g.knarf2013-07-09
| | | | | | | | | | | | | | | | | | | | | | | | CPP_OPENMP_FLAGS. However, later it overwrites these again by their original value in sbin/ProcessConfiguration.pl (search for FIXME). This patch implements what the 'FIXME' suggests - accepting the drawbacks that are mentioned there: that configuration settings not originating from a thorn might not be forwarded from e.g., a .cactus/config file. MPI was one of these, but this is now handled differently anyway. With this patch, we would need to be aware of these and might need to add them to @allowed_opts in the future. Without the patch however, compilation might fail for perfectly valid setups. One of these is when using openmp, setting all the corresponding *_OPENMP_FLAGS, but not setting CPPFLAGS (only CPP_OPENMP_FLAGS). In this case ProcessConfiguration.pl will set CFLAGS to the version in the config file (*without* the -openmp), but it will leave CPPFLAGS to the version *with* -openmp. This later leads to a linker error in external libraries, since compilation there uses CPPFLAGS (with openmp), but the linker doesn't (It correctly uses CFLAGS, but this doesn't have openmp flags here). git-svn-id: http://svn.cactuscode.org/flesh/trunk@5034 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add CCTK_BUILTIN_ASSUME_ALIGNEDeschnett2013-07-07
| | | | | | | | | This checks whether the GCC extension __builtin_assume_aligned is available, which can generate more efficient code when accessing data via pointers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5033 17b73243-c579-4c4c-a9d2-2d5706c11dac
* return "parameter already set" when resetting a fixed parameter during recoveryrhaas2013-07-04
| | | | | | | | | this allows the caller to abort the run since the user tried to change a non-steerable parameter during recovery. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5031 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use lrint and casts to avoid compiler warnings about type conversionrhaas2013-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5030 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take subdirectories into account when determining Fortran dependencieseschnett2013-06-24
| | | | | | | | | I have also rewritten and partly redesigned some other features, correcting some unrelated errors in the course, and simplifying the code a bit. I have also added some comments. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerateeschnett2013-06-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Honour CCTK_DISABLE_OMP_COLLAPSEeschnett2013-06-13
| | | | | | | Also add CCTK_ATTRIBUTE_UNUSED. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5027 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ensure auto-generated parameter declaration file ends with newlineeschnett2013-06-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5026 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.4.0eschnett2013-06-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5025 17b73243-c579-4c4c-a9d2-2d5706c11dac
* check that providing function name is different from aliased function namerhaas2013-06-05
| | | | | | | | | | | | | | | | | | in interface.ccl. Before f an aliased function is declared in interface.ccl with PROVIDES FUNCTION fun WITH fun LANGUAGE C Cactus went into an infinite loop when calling that function. It did so because it creates a function 'fun' (the first) itself, which then calls (fun) the second. Instead, Cactus now produces an error for above declaration. The two 'fun' must be different for this to work, and Cactus should catch this. Reported by Frank Loeffler in ticket 1376. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5024 17b73243-c579-4c4c-a9d2-2d5706c11dac
* refer to 'index' argument in CCTK_VarTypeI as 'variable index'rhaas2013-06-05
| | | | | | | rather than 'group' git-svn-id: http://svn.cactuscode.org/flesh/trunk@5023 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix implementation of 'complex' for c++0x, see #1374knarf2013-05-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5022 17b73243-c579-4c4c-a9d2-2d5706c11dac
* trigger reconfigure after r5014 "Auto-configure static_assert"rhaas2013-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5021 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update Cactus version numberknarf2013-05-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5018 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Auto-configure static_asserteschnett2013-05-20
| | | | | | | | Check whether static_assert is supported by C++. Define a work-around if it is not supported. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5014 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add separate pages of documentation for CCTK_Error, CCTK_Info, CCTK_Warnrhaas2013-05-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5013 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move all of Piraha into cctki_piraha namespaceeschnett2013-05-15
| | | | | | | | | | Change namespace "piraha" to "cctki_piraha", as per Cactus naming standard. Move smart_ptr into this namespace as well. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5012 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Disable Piraha debugging codeeschnett2013-05-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5010 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update pdf reference manualrhaas2013-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5009 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add documentation for util_asprintfrhaas2013-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5008 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed license text.sbrandt2013-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5006 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undoing an accidental commit.sbrandt2013-05-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5003 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Closing tickets #1290, #1328, #1324sbrandt2013-05-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5002 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Workaround for compiler-bug with Intel compiler and 'restrict'.knarf2013-05-06
| | | | | | | | | | | | | | | | | | | | | See https://trac.einsteintoolkit.org/ticket/1276 Add conditional on the version of the (Intel) compiler for all CCODE. Then, for C and CXX separately, skip the autoconf-provided values for 'restrict' if the compiler was found to be bad, and instead let HAVE_CCTK_CXX_RESTRICT remain undefined and set CCTK_CXX_RESTRICT to empty, which later defines 'restrict' to empty too (similarly for C). Because someone might actually want to overwrite this, CCTK_INTEL_COMPILER_DONT_DISABLE_RESTRICT is checked, and if set, doesn't disable restrict even for bad compilers. Also, now all Intel compilers with build dates between 20121010 and 20130313 are flagged 'bad'. Others might need to be added later. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5001 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the basic grammar files, and the changessbrandt2013-04-03
| | | | | | | | | to the piraha code necessary to parse all of Cactus. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4990 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow setting parameter values at build timeeschnett2013-03-25
| | | | | | | | | | | | | | | Allow setting parameter values at build time, enabling additional compiler optimisations. I measured that e.g. ML_BSSN runs 5% to 10% faster if its parameters are chosen at build time. This introduces macros CCTK_PARAMETER${thorn}${parameter}. If unset, the parameter value is taken from the parameter file (default). If set at compile time, e.g. via a -D option in CPPFLAGS, this overrides the parameter database, and DECLARE_CCTK_PARAMETERS will always use this value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4989 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updates to Piraha:sbrandt2013-03-22
| | | | | | | | | | | 1) Added some debug code 2) Fix logic bugs that only I noticed Still passes the ET testsuite. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4988 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor cleanup of the grammar.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Let active thorns treat \r as whitespace when parsing tokens.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4986 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't require a final newline.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4985 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.3.0eschnett2013-03-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4984 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a bit of white space to generated codeeschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4983 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove debug outputeschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4982 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct typo in commenteschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4981 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mark code after CCTK_Warn(0,...) as unreachableeschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace Cactus complex number type with C/C++ complex numberseschnett2013-03-08
| | | | | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4979 17b73243-c579-4c4c-a9d2-2d5706c11dac