summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Documented CCTK_TerminationReachedswhite2006-01-13
| | | | | | | More fully documented CCTK_TerminateNext git-svn-id: http://svn.cactuscode.org/flesh/trunk@4233 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 8.4.0schnetter2006-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4232 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for the erroneuously lablelled memory corruption. It seems what was just ↵yye002006-01-10
| | | | | | needed was more checking. This checked out alright on lemieux. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4231 17b73243-c579-4c4c-a9d2-2d5706c11dac
* minor fix for complex numbersyye002006-01-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4230 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_vsnprintf() += seealso to <stdarg.h>jthorn2006-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4229 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix Util_vsnprintf() discussion to be about Util_vsnprintf()jthorn2006-01-05
| | | | | | | | -- previously it was cut-n-pasted from other functions and didn't actually mention Util_vsnprintf() git-svn-id: http://svn.cactuscode.org/flesh/trunk@4228 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add more detail to how parameter recovery works, explaining theschnetter2006-01-04
| | | | | | | meaning of the return value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4227 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Indicate that RECOVER_PARAMTERS routines are called before STARTUP routinesschnetter2006-01-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4226 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_snprintf() += clarify comment in example codejthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4225 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_snprintf() += one more bugfix -- it's <stdarg.h>, not <stdargs.h>jthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4224 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_snprintf() += tweak footnote wordingjthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4223 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change obselete <varargs.h> to modern <stdarg.h> in SeeAlso referencejthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4222 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix Util_snprintf() description so it has correct title (previously title ↵jthorn2006-01-03
| | | | | | said Util_sprintf()) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4221 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_snprintf() += cross-reference to Util_vsnprintf()jthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4220 17b73243-c579-4c4c-a9d2-2d5706c11dac
* table of contents += Util_vsnprintf() descriptionjthorn2006-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4219 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct description of SYNC statements in the schedule. These areschnetter2006-01-03
| | | | | | | preferred, but are not necessary for mesh refinement. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4218 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Describe the schedule group CCTK_RECOVER_PARAMETERS correctly; as itschnetter2006-01-03
| | | | | | | is special. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4217 17b73243-c579-4c4c-a9d2-2d5706c11dac
* correct a (serious!) bug in the example program for CCTK_InterpGridArrays()jthorn2005-12-16
| | | | | | | -- thanks to Frank Loeffler for spotting this git-svn-id: http://svn.cactuscode.org/flesh/trunk@4216 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix macro for getting size of staggered array.goodale2005-12-15
| | | | | | | Patch from David Rideout. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4215 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Extend CCTK_VWarn() so that, if Cactus::cctk_full_warnings is set to true,tradke2005-12-13
| | | | | | | | | it also prints the hostname of the originating warning message. This information comes in handy when debugging a problem on clusters by directly logging into the nodes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4214 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Warn if there are empty macro arguments. That is, givengoodale2005-12-13
| | | | | | | | | | | | | | | #define M2(a,b) warn about the uses M2(x,) or M2(,y) or M2(,). The empty arguments are still handled correctly. These warnings are only to make it easier to port to systems where the system cpp does not handle empty arguments and where one does not want to use the perl cpp instead. Patch from Erik Schnetter. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4213 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Erik Schnetter to add preprocessor version in comments.goodale2005-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4212 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix from Erik Schnetter so that CCTK_RESTRICT works when 'restrict'goodale2005-12-13
| | | | | | | is actually 'restrict'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4211 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Erik Schnetter to track the capacity of the list andgoodale2005-12-13
| | | | | | | produce an error if it is exceeded. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4210 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define macros CCTK_{INT,REAL,COMPLEX}_PRECISION to values of 1, 2, 4, 8, 16,goodale2005-12-13
| | | | | | | | | | | or 32, depending on the definition of the default data types CCTK_{INT,REAL,COMPLEX}. These new macros make type generic code more convenient to write. Patch from Erik Schnetter. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4209 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cosmetic changes.goodale2005-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4208 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing unused variables as found by David Rideout and Erik Schnetter.goodale2005-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4207 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correcting some formatting.goodale2005-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4206 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct ProcessIf: When evaluating a macro in an #if statement,schnetter2005-12-13
| | | | | | | | | | convert the macro value to either 0 or 1 before returning it. Otherwise things fail badly if the macro is defined but empty: The returned value is then not an integer, and cpp.pl would keep both the #if and the #else branch of an if statement. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4205 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bumped the warning level from 3 to 1 on missing reduction operators (now ↵yye002005-12-12
| | | | | | that they are going mainstream). Fixed fortran interface to reduce local arrays, and a few minor cosmetic changes git-svn-id: http://svn.cactuscode.org/flesh/trunk@4204 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ignore duplicate entries in the ThornList file when querying thorns withtradke2005-12-08
| | | | | | | testsuites. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4203 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Applying patch from Josh Abadie; adds documentation forgoodale2005-12-01
| | | | | | | | | | | | | | | | | | | CCTK_DisableGroupCommI CCTK_DisableGroupStorageI CCTK_GroupDynamicData CCTK_GroupStorageIncrease CCTK_GroupStorageDecrease CCTK_MaxTimeLevelsGN CCTK_MaxTimeLevelsVarI ** referred to, but not in src UTIL_vsprintf CCTK_EnableGroupCommI() Fixes PR 1933. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4202 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the prefix "cctki_" to the auto-generated header files forschnetter2005-11-21
| | | | | | | | capabilities. This prevents name clashes with e.g. system header files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4201 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove auto-generated capability files if they should not existschnetter2005-11-21
| | | | | | | (e.g. if a thorn's configuration.ccl has changed). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4200 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct handling of newline characters and spaces when writing theschnetter2005-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration bindings. When reading the configuration settings from the output of the configuration scripts (that provide capabilities), new lines were lost in certain circumstances. This lead to makefile fragments like PETSC_DIR = /usr/local/apps/petscPETSC_ARCH = linux which are obviously incorrect (since these should be two lines, not one), although this does not lead to errors or warnings. This patch makes sure that all configuration settings have newline characters appended or blanks prepended as they are concatenated into the internal database (ConfigScriptParser.pl). When the database is read out, the strings can just be printed to the file (CreateConfigurationBindings.pl). While doing this, this patch also removes some superfluous blanks and newline characters from the output of the configuration settings. This patch also removes a perl idiosyncracy when appending newline characters to a string. It changes code like "#endif" . "\n" to "#endif\n". Tested on Mac OS and Red Hat Linux. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle empty files correctly in WriteFile. Before, the existing fileschnetter2005-11-21
| | | | | | | | | was left untouched if the new content was empty. This meant that empty files were never generated, and existing non-empty files were never made empty. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4198 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct typos in comments.schnetter2005-11-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4197 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added reduce arrays globally functions, I seem to be getting warnings about ↵yye002005-11-15
| | | | | | missing references on at least 1 machine. Investigation will start after I am done with reduce commits git-svn-id: http://svn.cactuscode.org/flesh/trunk@4196 17b73243-c579-4c4c-a9d2-2d5706c11dac
* migration from misnomer pointwise-reduction to reduce arrays globallyyye002005-11-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4195 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pointwise reduction flesh supportyye002005-11-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4194 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Very latest Mac OS X Darwinswhite2005-11-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4193 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For MacOS Xswhite2005-11-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4192 17b73243-c579-4c4c-a9d2-2d5706c11dac
* known_architectures file for recent Mac OS Xswhite2005-11-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4191 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make parameter array assignments without specifying the actual indextradke2005-11-03
| | | | | | | a major error also at the default parameter checking level. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4190 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Escape metacharacters when extracting a variable group description.tradke2005-11-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4189 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Apply patch ↵tradke2005-10-24
| | | | | | | | | | | | | | | | | | | | | http://www.cactuscode.org/old/pipermail/patches/2005-October/000112.html: Check if there is more than one assignment to a parameter in the parfile and will print a warning with line number information in such a case. It checks both for multiple parameter assignments of the same or a different value. Depending on the parameter checking level (as set via the command line option '-parameter-level {strict|normal|relaxed}') the flesh will also abort the run after printing the warning in the following two cases: * the parameter level is "normal" (which is the default) or "strict" and there are multiple assignments of different values * the parameter level is "strict" and there are multiple assignments of the same value git-svn-id: http://svn.cactuscode.org/flesh/trunk@4188 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo my last commit to check if a user-set MPICH_DEVICE matchestradke2005-10-24
| | | | | | | | $MPICH_DIR/bin/tdevice. Unfortunately the tdevice command is broken, even for a 'ch_shmem' device it reports 'ch_p4'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4187 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A fix to routine documentation, more of these will be made as time allows ↵yye002005-10-21
| | | | | | (stumbled on it during reduction code review). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4186 17b73243-c579-4c4c-a9d2-2d5706c11dac
* If the user specified MPICH_DEVICE, check if it really exists in MPICH_DIR.tradke2005-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4185 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The lineschnetter2005-10-14
| | | | | | | | | | | | | | | | | | | ${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS) in the PGI configuration section in lib/make/known-architectures/linux causes trouble. It means "use as F90 flags whatever the F77 flags will be set to". This doesn't work together with the a recent patch to configure.in, which says "use the same flags for F77 as for F90". Overall we now have a circular definition. As a quick fix, I replace the above line with the value of F77_OPTIMISE_FLAGS. Since there is no other code which sets a shell variable (the left hand side) to a Makefile expression (the right hand side), it may have been an oversight anyway -- probably the author of the above line wanted to write ${F77_OPTIMISE_FLAGS} instead anyway. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4184 17b73243-c579-4c4c-a9d2-2d5706c11dac