summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
* Correct typoeschnett2012-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4877 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make 'make tags' properly handle symlinksrhaas2012-10-17
| | | | | | | | patch by Matt Kinsey git-svn-id: http://svn.cactuscode.org/flesh/trunk@4876 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.2.0eschnett2012-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4875 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make sure testsuite can find MPI when CACTUS_CONFIGS_DIR is setrhaas2012-09-19
| | | | | | | patch by Steve Brandt git-svn-id: http://svn.cactuscode.org/flesh/trunk@4874 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update Fortran API for CCTK_LOOP macroseschnett2012-09-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4873 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enforce that arrangement names are legal C identifierseschnett2012-09-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4872 17b73243-c579-4c4c-a9d2-2d5706c11dac
* increase default value of RELTOL to 1e-12rhaas2012-09-14
| | | | | | | | this makes the test system less prone to false alarms when quantities larger than of order unity are involved git-svn-id: http://svn.cactuscode.org/flesh/trunk@4871 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct autogenerating cctk_Capabilities.heschnett2012-09-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4870 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace CCTK_RESTRICT by restricteschnett2012-09-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Disable K&R prototype for getopt()eschnett2012-09-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4868 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use more readable variable names in CreateThornsHeaderseschnett2012-09-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4867 17b73243-c579-4c4c-a9d2-2d5706c11dac
* correct and expand documentation of CCTK_TraverseStringrhaas2012-09-06
| | | | | | | | by listing the possible values for selection and correcting the return type of the callback function to void rather than int. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4866 17b73243-c579-4c4c-a9d2-2d5706c11dac
* check that default values of restricted parameters are consistent betweenrhaas2012-09-05
| | | | | | | thorns git-svn-id: http://svn.cactuscode.org/flesh/trunk@4865 17b73243-c579-4c4c-a9d2-2d5706c11dac
* whitespace change in "grid" file to reflect change in Carpetrhaas2012-08-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4864 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 12.1.0eschnett2012-08-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4863 17b73243-c579-4c4c-a9d2-2d5706c11dac
* reintroduce dependency fixup to avoid full compile when thornlist changesrhaas2012-08-11
| | | | | | | | | | this fixes an issue introduced in r4839 where the original patch removed special treatment for three (or so) files, assuming that these files are not generated any more. This was wrong, and this patch reverts special treatment for one of these files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4862 17b73243-c579-4c4c-a9d2-2d5706c11dac