summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Make CCTK_REAL16 more flexibleeschnett2013-01-15
| | | | | | | | | Instead of assuming that CCTK_REAL16 is real*16 in Fortran, allow any real*N for user-specified values of N. This enables using CCTK_REAL16 e.g. with gcc versions that call it real*10. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4936 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make CCTK_REAL16 more flexibleeschnett2013-01-15
| | | | | | | | | Instead of assuming that CCTK_REAL16 is real*16 in Fortran, allow any real*N for user-specified values of N. This enables using CCTK_REAL16 e.g. with gcc versions that call it real*10. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4935 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autoconf attribute always_inlineeschnett2013-01-15
| | | | | | | | Add autoconf test for __attribute__((__always_inline__)). Improve autoconf test for _Pragma syntax. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4934 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct and beautify timer outputeschnett2013-01-14
| | | | | | | | | | Output "seconds" instead of the actual timer value, in accordance with the column headers. Do not indent output. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4933 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Always include <cmath> and <math.h> in the same ordereschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4932 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Output "Done" after building executableeschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4931 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove debug statementeschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4930 17b73243-c579-4c4c-a9d2-2d5706c11dac
* re-instate range checks for integer parameters rhaas2012-12-10
| | | | | | | that were lost in rev 4797. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4928 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't define C++ wrappers isnan() etc. for CUDAeschnett2012-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4925 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove arrangements directory from flesh repository. See ticket #1164knarf2012-12-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4924 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus allows for negative error levelknarf2012-12-03
| | | | | | | | | Currently, Cactus allows to set a negative error level through the command line option. This leads to CCTK_WARN(0,"") not necessarily aborting. While this is not wrong by itself, a lot of code assumes an abort at that point. This patch changes CCTKi_SetErrorLevel() to only accept non-negative error levels and to change the command-parsing code to give an error message for that case as well. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4923 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make data parameter of expression evaluation functions consthinder2012-11-30
| | | | | | data is a pointer to user-supplied data used for evaluating the expression. It should not be modified by the evaluation. Note that this modifies the flesh API to the (undocumented) thorn-visible function Util_ExpressionEvaluate. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4922 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update pdf docsrhaas2012-11-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4921 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mention ExternalLibraries/MPI as source for MPI supportrhaas2012-11-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4920 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for errors when redirecting stdout/stderreschnett2012-11-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4919 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unused variableeschnett2012-11-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4918 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ParseFile.c: Change semantics of call to fread so that error check makes sensehinder2012-11-20
| | | | | | fread takes an "item size" and a "number of items" and returns the number of items successfully read. Previously, we asked for 1 item of the size of the file, to read the entire file. The error check which was added in r4915 assumed that the returned value of fread was the number of bytes read, which is not correct since only one item is returned, and causes Cactus to fail with a fatal error when any parameter file is loaded. The present commit changes the fread call to ask for file_size items of size 1, for which the error-checking code makes sense, as there are now file_size items returned. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4917 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ScheduleInterface.c: Add printf format stringhinder2012-11-20
| | | | | | Using the data string as a format string can be a security vulnerability and hence triggers a compiler warning. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4916 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check file size while readingeschnett2012-11-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4915 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cache result of gethostname() calleschnett2012-11-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4914 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configure macro for OpenMP collapse clauseeschnett2012-11-18
| | | | | | | | Disable OpenMP collapse clause for certain versions of the Intel compiler that are known to mis-compile them. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4913 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not buffer output from thorn configuration scriptseschnett2012-11-16
| | | | | | | | Use a pipe when reading output from thorn configuration scripts, and display the output right away instead of buffering it. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4912 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.1.1eschnett2012-11-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4911 17b73243-c579-4c4c-a9d2-2d5706c11dac
* improve upon error message for missing Fortran compilerknarf2012-11-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4908 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update version numberknarf2012-11-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4907 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reverting r4901 sicne it causes simfactory's test machinism to fail.rhaas2012-11-02
| | | | | | | | | Will re-investigate after the release in November. The patch itself is ok. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4902 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Always run tests with requested number of processesrhaas2012-10-29
| | | | | | | | | This is discussed in ticket #1075. Original patch by Erik Schnetter. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4901 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configuration options allowing moving all object files into the executableeschnett2012-10-28
| | | | | | | | | | | Add configuration options allowing people to ensure that all thorn source files make it into the executable. Among other things, this ensures that each routine has a unique name. This is disabled by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4900 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configuration options allowing moving all object files into the executableeschnett2012-10-28
| | | | | | | | | | | Add configuration options allowing people to ensure that all thorn source files make it into the executable. Among other things, this ensures that each routine has a unique name. This is disabled by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTKi_VarDataPtrI in CCTK_DECLARE_ARGUMENTSeschnett2012-10-26
| | | | | | | | Introduce new function CCTKi_VarDataPtrI which does not emit warnings. Use it when defining CCTK_DECLARE_ARGUMENTS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4898 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't exclude flesh when handling requirementseschnett2012-10-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4897 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Optimise DECLARE_CCTK_ARGUMENTSeschnett2012-10-25
| | | | | | | | Remember variable indices in local static variables. Use these indices to obtain variable pointers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4896 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use ANSI C prototype for CCTKi_ExitAfterParamCheckeschnett2012-10-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4895 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTKi prefix for ExitIfParamCheckOnlyeschnett2012-10-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4894 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use find -follow instead of find -Leschnett2012-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4893 17b73243-c579-4c4c-a9d2-2d5706c11dac
* allow ${parfile} in parameter files to allow ${parfile}/subdirknarf2012-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4892 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Documentation for CCTK_TimerRunning and CCTK_TimerRunningIknarf2012-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4891 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_TimerRunning and CCTK_TimerRunningIknarf2012-10-24
| | | | | | | These functions return whether a Cactus timer is running or not (either by name or by handle). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4890 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a flag indicating if a timer is running or not.knarf2012-10-24
| | | | | | | Starting a running timer and stopping a not running timer will produce a level 1 warning and will otherwise do nothing (will not actually start/stop twice). This fixes the issue at hand - although it will now produce that warning for the total simulation time timer - which is stopped multiple times within Carpet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4889 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove outdated 'cctkbug' script along with the corresponding make rule, see ↵knarf2012-10-23
| | | | | | #1127 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4888 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the -P short version of --exit-after-param-check work.diener2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4887 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct C function prototypeseschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4886 17b73243-c579-4c4c-a9d2-2d5706c11dac
* List --exit-after-param-check in help texteschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4885 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing call to va_endeschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4884 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add autoconf check whether C99 is supportedeschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Provide macros to always make isnan available under its standard nameeschnett2012-10-22
| | | | | | | | | | | Provide macros to always make isnan available under its standard name, even if it actually needs to be called in a different manner. Provide C wrapper functions for isnan, which can function as fallback for C++. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4882 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check availability of isnan in C++eschnett2012-10-22
| | | | | | | | | | Check availability of isnan in C++. Introduce autoconf macros specifying how to call a good version of isnan in any language. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4881 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove appendices from reference manualeschnett2012-10-21
| | | | | | | | | These appendices are already in the users' guide. Also re-instate references that were commented out. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4880 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove sections describing staggeringeschnett2012-10-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4879 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct Fortran example for CCTK_Equalseschnett2012-10-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4878 17b73243-c579-4c4c-a9d2-2d5706c11dac