summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
* Cactus overrides the user's setting of F77 with that of F90. It alsoschnetter2005-10-12
| | | | | | | | | overrides F77FLAGS with F90FLAGS. This patch also sets F77_DEBUG_FLAGS and F77_OPTIMISE_FLAGS from the corresponding F90 flag settings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4183 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Re-instating the configure test for X, but protecting it ingoodale2005-10-11
| | | | | | | | | | an if clause so it is only tested if CCTK_NEED_X is true. The PETSc extras file has been updated to set this flag. This will be reverted when the extras stuff is removed and thorns are using the thorns in CactusExternal to detect things. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4182 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Small optimisation in function WriteFile():tradke2005-10-11
| | | | | | | only read the file if it its size equals the length of the rdata string. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4181 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support MacOS when configuring HDF5 with lib/make/extras/HDF5.schnetter2005-10-08
| | | | | | | | | | | Similar to Windows, which is already handled as special case, it uses a different extension for dynamic libraries, namely ".dylib". I test for MacOS by grepping the output of uname for "^Darwin". This patch is necessary to make Cactus configure with HDF5 on my notebook, where I installed HDF5 via fink in the standard way. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4180 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The perl cpp does not handle empty macro arguments correctly. Whenschnetter2005-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the last macro argument is empty, it thinks there is one argument too few. That is, the following code #define M2(a,b) M2(x,) leads to an error message stating that M2 was used with only a single argument. This is wrong, as it is called with two arguments, where the second argument is the empty string. After reading the GNU cpp manual, I think that the ANSI standard requires that empty arguments must be handled. The problem is that the routine SplitArgs that decodes the macro arguments cannot distinguish between an empty last argument and no argument, as both are represented by an empty string. I change the routine so that an empty string always means "empty argument". This means that SplitArgs cannot be called any more if there are no arguments -- but this does not matter. I place a corresponding if statement around the call. Empty macro arguments may cause problems on some system. A later patch will produce warnings or errors for them. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4179 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Known architecture file for the IBM Blue Gene/L.goodale2005-10-06
| | | | | | | | | | | | | | | | | | | You should configure with HOST_MACHINE=ppc-ibm-bgl and set the compilers as necessary, e.g. CC=blrts_xlc CXX=blrts_xlC F90=blrts_xlf90 and MPI with MPI=NATIVE git-svn-id: http://svn.cactuscode.org/flesh/trunk@4177 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Hack to support the bluegene.goodale2005-10-06
| | | | | | | | | Should configure Cactus with something like HOST_MACHINE=ppc-ibm-bgl git-svn-id: http://svn.cactuscode.org/flesh/trunk@4176 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sort out some preprocessor stuff.goodale2005-10-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4175 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing the check for X libraries. This should now be donegoodale2005-10-05
| | | | | | | via a thorn and a configuration script. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4174 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Documentation for the new warning and info message callbacks basedgoodale2005-10-05
| | | | | | | upon the patch submitted by Jian Tao. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4173 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Documentation from Jian-Tao for the new warn and info callbacks.goodale2005-10-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4172 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Josh to add crossreferencing.goodale2005-10-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4171 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added some info on cross compiling.goodale2005-10-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing so it doesn't use 'return' - these files are not functionsgoodale2005-10-04
| | | | | | | | but are included into the main configure script, so please don't use return in them. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4169 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing perl syntax so it works on the SR8000.goodale2005-10-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4168 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove self-dependency from list of thorns passed to cyclic dependency checker.goodale2005-10-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4167 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix documentation on how to configure Cactus with MPICH-G2.tradke2005-10-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4166 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix configuration of Cactus with Globus (MPICH-G2) device.tradke2005-10-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4165 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reverse changes made in version 1.133 to enable separate F77 and F90goodale2005-10-04
| | | | | | | | compilers --- this caused problems on an SP system and also needs to ensure that F90 and F77 naming schemes are the same. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4164 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabifying.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4163 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renaming min macro to MIN to avoid a conflict on windows.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4162 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding missing header.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4161 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing C++ comment markers to C comment markers.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4160 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do sanity checking on parameter file name and give a reason why itgoodale2005-10-03
| | | | | | | | can't be opened if at all possible. Fixes PR 1864. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabifying.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4158 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Jian Tao to add some callback functionality to thegoodale2005-10-03
| | | | | | | | | | warning system. This allows thorns to register functions which will be called when CCTK_Warn or CCTK_Info are called, with the contents of the warning/info message, thus allowing thorns to do things like logging warnings to file or displaying on webpages. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4157 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Applying patch from Josh Abadie to detect cyclic dependencies.goodale2005-09-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4156 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo changes that prevent more unwanted warnings about unused variables.schnetter2005-09-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4155 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch applicationswhite2005-09-27
| | | | | | | | | | Tue Aug 23 08:26:52 CDT 2005 [Patches] Correctly report ThornGuide log directory As discussed in CactusMaint Wed, 14 Sep 2005 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4154 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace comments by nothing instead of whitespace to allow old-styleschnetter2005-09-26
| | | | | | | token concatenation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4153 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow empty macro arguments.schnetter2005-09-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4152 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unused function declarations.schnetter2005-09-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4151 17b73243-c579-4c4c-a9d2-2d5706c11dac