summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* fix a regexp bug in the parsing of the upper bound for an open-intervaljthorn2005-09-06
| | | | | | | | | | | integer parameter ranges in parse_param_ccl(): The perl regexp was checking for somthing like ( number : ( number whereas we really want (and this fix changes the code to test for) something like ( number : number ) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4121 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Also allow a single '*' as range specification for integer and real parameters.tradke2005-09-05
| | | | | | | This closes PR CactusEinstein/1962: "IDAxiBrillBH: CST errors (Invalid range)". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4120 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check that the ranges and default value for integer parameterstradke2005-09-02
| | | | | | | are also given as integers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4118 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use '-Wall -w1 -Wcheck' for {C,CXX}_WARN_FLAGS for Intel 8.0 and newer.tradke2005-08-30
| | | | | | | | | Use '-Wall -w1' for older versions of Intel C/C++ compilers. This closes PR Compiler-1955: "configuring with Intel compiler doesn't pass any -W options (configuring with gcc does)". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4117 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use 'head -n1' when querying the compiler version.tradke2005-08-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4116 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Also check consistency of GHOSTSIZE option in CreateThornGroupInitialisers().tradke2005-08-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4115 17b73243-c579-4c4c-a9d2-2d5706c11dac
* If a thorn defines group A containing one variable A the CST prints a level-1tradke2005-08-29
| | | | | | | | warning. Now it also gives an error if that group A contains more than one variable of the same name as its group. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4114 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Comment out check for cyclic dependencies. Some thorns need toschnetter2005-08-23
| | | | | | | | | require capabilities that they provide themselves, which is flagged as error by this check. Discussion about this is on the developers' mailing list; I expect this problem to be resolved soon. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4112 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For "make clean", remove the complete scratch directory instead ofschnetter2005-08-21
| | | | | | | | just its contents. This avoids problems if there are so many files in there that the shell glob "scratch/*" cannot be expanded any more. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4110 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configuration.ccl fix. Please test and report if anything breaksyye002005-08-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't use '-ip' in CXX_OPTIMISE_FLAGS when using Intel icpc 9.0.tradke2005-08-09
| | | | | | | It has the same bug as 8.1 when compiling C++ code with anonymous namespaces. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4107 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Discussed on Patches mailing list 15.7.05:swhite2005-08-04
| | | | | | | PATCH: PR 1916--ThornGuide generation fails if arrangements are links git-svn-id: http://svn.cactuscode.org/flesh/trunk@4106 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support for Darwin 8.1.0 (nemeaux.cct.lsu.edu).tradke2005-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4097 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put shell variable expansion into quotes because it can expand to moreschnetter2005-07-20
| | | | | | | than one word. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4096 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Properly quote the names and email address when creating theschnetter2005-07-18
| | | | | | | | | | | documentation.tex file from the template, using the function ClearForLatex. Copy the function CleanForLatex from ThornUtils.pm file from the sbin directory into the file new_thorn.pl. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4095 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Insert a single space also at the beginning of all string values withtradke2005-06-20
| | | | | | | | | | | "{USES|REQUIRES|PROVIDES} FUNCTION" keys in the interface database. When matching the function list against a specific function name, use that space as a delimiter. This closes PR Cactus/1947: "Name clashes for aliased functions". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4080 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not abort on latex errors during the first two passes; only theschnetter2005-06-18
| | | | | | | last pass must succeed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4079 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect compiler versions.tradke2005-06-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4078 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect the compiler versions for CC, CXX, F77, and F90, and put the informationtradke2005-06-16
| | | | | | | as a comment into make.config.defn. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4077 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct typo in commentschnetter2005-06-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4074 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding config file for Unicos v3.0.jshalf2005-06-05
| | | | | | | The ORNL machine got upgraded a couple of weeks ago. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4072 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo previous patch:schnetter2005-06-03
| | | | | | | | | Require quotes for keyword parameter default values again. Note the code is still broken; it requires quotes somewhere in the value, not around it. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4069 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use xlf77/xlf90 for F77/F90 if the latter aren't set otherwise by the user.tradke2005-06-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4067 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not require double quotes around the default for keyword values.schnetter2005-05-27
| | | | | | | No other place required double quotes for keyword values. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4065 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus support for latest version of OpenBSDjthorn2005-05-22
| | | | | | | (officially released last weekend) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4058 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug from my previous commit which used the wrong logical expressiontradke2005-05-16
| | | | | | | for checking the default value of numerical parameters. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4056 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't use keyword parameter ranges as regulare expressions but as ordinarytradke2005-05-16
| | | | | | | | | string values when comparing the default value against them. This closes PR Cactus/1927: "Keyword parameter checking in CST is wrong". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4055 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for checking for empty patterns in regexps:tradke2005-05-16
| | | | | | | use 'eq' rather than '==' for string comparisons. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4054 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for availability of va_copy(3).tradke2005-05-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4052 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When creating a new thorn, fill in the thorn name as default title forschnetter2005-05-15
| | | | | | | the thorn guide. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4048 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not use empty patterns in regexps in perl when checking the defaultschnetter2005-05-12
| | | | | | | | value of string parameters. (Empty patterns have a special meaning in perl.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add '-qlanglvl=stdc99' to CFLAGS when using xlc on AIX systems. This gives ustradke2005-05-12
| | | | | | | C99 support. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4045 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't add '-ip' to CXX_OPTIMISE_FLAGS when using Intel 8.1.tradke2005-05-03
| | | | | | | | This version is known to be buggy when using anonymous namespaces. Omitting the '-ip' option bypasses the problem (without preventing other optimizations). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4038 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use round brackets (instead of curly ones) to reference makefile variables.tradke2005-05-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4037 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add MPI include/lib paths and libs in case a parallel HDF5 installation was ↵tradke2005-05-02
| | | | | | | | | found. This closes PR CactusPUGHIO-1920. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4036 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect pgf95 as Portland Fortran compiler.tradke2005-04-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4035 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add pthread to the list of Intel Fortran 7.1 system libs.tradke2005-04-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4027 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct grdoc headers.schnetter2005-04-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4024 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Steve White to fix a problem when the filesystem isgoodale2005-04-08
| | | | | | | case independent. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4023 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add '-Mx,125,0x200' to F77FLAGS and F90FLAGS when using Portland compilers.tradke2005-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a workaround for calling C varargs functions from Fortran. Thanks to Roberto De Pietri who had reported this problem to the PGI developers. Here is the full explanation he got from them: ======================================================================== == Joined: 30 Jun 2004 Posts: 99 Location: Portland Group PostPosted: Wed Sep 29, 2004 9:56 am Post subject: Problem only on Opterons Reply with quote This is a problem that only occurs on Opterons when using Fortran to C with varargs. When you compile a C program on Opteron using varargs, the EAX register is expected to contain the number of XMM registers that will be used for the varargs. When you call a C function with varargs from Fortran the EAX register is not set since its not needed in Fortran. Since EAX contains garbage, the C varargs becomes corrupt. To work around this problem is to use the x flag "-Mx,125,0x200" which will set EAX to zero before every call. Note that we generally do not release x flags to the public since they are for the compiler's internal use, new, or experimental. So the caveat to using this flag is that it has not been properly QA'd and is subject to change. However, I believe in this case we plan to give it a name in a future release. ======================================================================== git-svn-id: http://svn.cactuscode.org/flesh/trunk@4020 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix the CVS $Header:$ comments in generated {README,*.ccl} filesjthorn2005-03-14
| | | | | | | | so they have the ':' (which was missing before) -- without this CVS won't expand the tag git-svn-id: http://svn.cactuscode.org/flesh/trunk@4000 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo last commit totradke2005-03-08
| | | | | | | | | make/make.configuration sbin/CreateConfigurationBindings.pl because it broke compiling of capability-requiring thorns (eg. CactusIO/IOSDF). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3998 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to fix some problems with configuration.ccl stuffgoodale2005-03-04
| | | | | | | | | and reorganise directories. Note the patch to CreateConfigurationBindings.pl is from 1.3 of that file, and, hopefully, fixes the same problems that 1.4 did. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3997 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed '-Wstrict-prototypes -Wmissing-prototypes' from CXX_WARN_FLAGS.tradke2005-03-02
| | | | | | | According to the gcc man page, these options are for compiling C code only. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3996 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed generation of makefile includes for thorns providing and/or (optionally)tradke2005-02-22
| | | | | | | requiring capabilities. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3993 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed CST error message printed in case of parsing errors.tradke2005-02-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3992 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Yet another darwin version.goodale2005-02-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3990 17b73243-c579-4c4c-a9d2-2d5706c11dac
* An attempt to auto-detect device specific libs and libdirs for a LAM ↵tradke2005-02-15
| | | | | | installation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3988 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bugfix in previous commit -- hopefully we now handle all possible casesjthorn2005-02-10
| | | | | | | of OPTIMISE=something and OPTIMIZE=something-else correctly git-svn-id: http://svn.cactuscode.org/flesh/trunk@3987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan && Thomas R jointly]]jthorn2005-02-10
| | | | | | | | | | | | | | | | | | catch the error case where ~/.cactus/config (or another options file) contains (eg) OPTIMISE=no # UK spelling with "S" but the user says gmake blah-config OPTIMIZE=yes # US spelling with "Z" or more generally, where (after combining settings from all options file(s) and the command line) we have an inconsistent mixture of OPTIMISE and OPTIMIZE settings before this commit, this would produce a no-optimization configuration with this commit, it produces an optimized configuration git-svn-id: http://svn.cactuscode.org/flesh/trunk@3986 17b73243-c579-4c4c-a9d2-2d5706c11dac