summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Entry from Jonathan Thornburgallen2003-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E12 I'm getting wierd syntax errors in Fortran code, with an extra garbage character (often $ or &) stuck in the middle of a CCTK_INFO() or CCTK_WARN() or CCTK_EQUALS() call after it has been processed. You have probably used Fortran (either 77 or 90) line continuation in a macro call c example of broken Fortran code fragment if (CCTK_EQUALS(test,"on")) then test_state = 1 else if (CCTK_EQUALS(test, $ "off")) then test_state = 3 end if The $ is in column 6 is the Fortran 77 standard way of doing a line continuation. This doesn't work, because CCTK_EQUALS() is a macro, and macros use C lexical conventions (regardless of what language your code is written in). To continue a line in a macro, use the same technique you would in C, i.e. put a backslash ( \ ) at the end of the line to be continued (note there must *not* be any whitespace after the \ !!). For example, the above code should be written c example of valid Fortran code fragment if (CCTK_EQUALS(test,"on")) then test_state = 1 else if (CCTK_EQUALS(test, \ "off")) then test_state = 0 end if git-svn-id: http://svn.cactuscode.org/flesh/trunk@3125 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove unwanted blank line in CCTK_InterpGridArrays() descriptionjthorn2003-02-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3124 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check all arrangements for a README, as before, but discard stderrrideout2003-02-05
| | | | | | | messages which result from this test. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3123 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some fixes for 'gmake checkout':rideout2003-02-04
| | | | | | | | | | | | | | | | | * cvs now creates .cvspass entries that begin with '/1 '. Now this is parsed properly. * The port specification in .cvspass entries is ignored, which prevents spurious 'no login for xyz repository' errors. * An arrangement-wide README is only checked out for arrangements which begin with the name 'Cactus'. This prevents a misleading error message from cvs when checking out 'non-Cactus' arrangements. 'gmake checkout' still has trouble with the '!REPOSITORY_MODULE' option. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3122 17b73243-c579-4c4c-a9d2-2d5706c11dac
* wrap long lines in Fortran prototypes for CCTK_InterpGridArrays()jthorn2003-02-03
| | | | | | | and for various Util_Table*() routines git-svn-id: http://svn.cactuscode.org/flesh/trunk@3121 17b73243-c579-4c4c-a9d2-2d5706c11dac
* E11 The functions CCTK_Exit and CCTK_Abort require cctkGH as an argument.allen2003-02-01
| | | | | | | | | | | | | | | | How can I call these functions deep inside my thorns where this pointer is not available? These routines are overloaded by a driver, and the reason for passing in a cctkGH is to allow the driver to tidy up before exiting. If the particular driver you are using allows a NULL pointer to be passed you can pass this instead of the cctkGH pointer. (The worst that will happen should be a segfault if the driver cannot handle NULL). Alternatively, you need to include a mechanism to obtain the cctkGH deep inside your thorns code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3120 17b73243-c579-4c4c-a9d2-2d5706c11dac
* changes to Glossary:jthorn2003-01-31
| | | | | | | | | | | * add entries for "API", "mutual recursion", "recursion, mutual" * add explanatory text for "configuration", "HDF5", "MPI" * slightly tweak wording for "interpolation", "local interplation" * insert TeX "~" ties to prevent line breaks between "part" and "section" and the following \ref{whatever-the-label-is} git-svn-id: http://svn.cactuscode.org/flesh/trunk@3119 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some small tweaks to the section on interpolation operators.tradke2003-01-31
| | | | | | | | Changed the wording 'being phased out as of early 2002' (meaning the old interpolation API) to something hazier :-) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3118 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Completed function description of CCTK_InterpGridArrays().tradke2003-01-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3117 17b73243-c579-4c4c-a9d2-2d5706c11dac
* (from Jonathan Thornburg)tradke2003-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new error code #define CCTK_ERROR_INTERP_POINT_EXCISED in anticipation of future support for excision * add new error code #define CCTK_ERROR_INTERP_POINT_OUTSIDE as a synomym for CCTK_ERROR_INTERP_POINT_X_RANGE (keeping the old one for backwards compatability) since the old name suggested that this had something to do with the X coordinate * renumber error codes to a more logical order The resulting set of error codes is this: /* * error codes for CCTK_InterpLocalUniform() */ /* the grid is too small for the selected interpolation molecule */ #define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1000) /* an interpolation point is outside the input grid */ #define CCTK_ERROR_INTERP_POINT_OUTSIDE (-1001) /* ... old code for backwards compatability */ #define CCTK_ERROR_INTERP_POINT_X_RANGE (-1001) /* an interpolation point is in an excised region */ #define CCTK_ERROR_INTERP_POINT_EXCISED (-1002) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3116 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug when sorting out the order of libs in the thorn linklist.tradke2003-01-28
| | | | | | | This closes PR Compiler/1369 and probably also Cactus/1323. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3115 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo my last commit which didn't seem to be needed.tradke2003-01-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3114 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Recognize GNU f77 also on RH 8.0 systems.tradke2003-01-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3113 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put '#ifdef __cplusplus' around rcsid and CCTK_FILEVERSION.tradke2003-01-28
| | | | | | | This closes PR Cactus/1282. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3112 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Cactus::max_runtime to the list of flesh parameters.tradke2003-01-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3111 17b73243-c579-4c4c-a9d2-2d5706c11dac
* I1 The size of array parameters is specified by a integer number in theallen2003-01-27
| | | | | | | | | | param.ccl file. Why can't a parameter itself be used here? The size of the array has to be fixed at compile time to accomodate the use of parameters in Fortran thorns. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3110 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add entry about the removal of "old" I/O parameters in the computationalallen2003-01-27
| | | | | | | toolkit git-svn-id: http://svn.cactuscode.org/flesh/trunk@3109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Proposed revision of ordering of code in Cactus C source files.rideout2003-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3108 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Unescaping " in ThornUtils.pm's CleanForLatex subroutine. This should fix ↵ikelley2003-01-27
| | | | | | | | | the problem of the parsing of the tags for the time being, because interface_parser.pl is returning \" when it sees " in an interface.ccl file (when it is already within quotes) Hopefully this solution will not cause more problems than it fixes. I have not seen any side-efftects yet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3107 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now remove debugging statements accidently left inallen2003-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3106 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed extra comma in CST generated files for vector groupsallen2003-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3105 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved parameter recovery routines for thorns from CST-generated source filestradke2003-01-25
| | | | | | | | "ParameterRecovery${thorn}.c" into "Schedule${thorn}.c". Configurations should be cleandep'ed and rebuilt after this update. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3104 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved definitions of structures for restricted and private parameters fortradke2003-01-25
| | | | | | | | | each thorn from CST generated source files "${thorn}_private.c" and "${implementation}_restricted.c" into "${thorn}_Parameters.c". Configurations should be cleandep'ed and rebuilt after this update. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3103 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only create CST files "${thorn}_Register.c" and "${thorn}_Prototypes.h" fortradke2003-01-25
| | | | | | | | thorns which provide or use overloadable functions. Configurations should be cleandep'ed and rebuilt after this update. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3102 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CreateParameterBindingFile() to include header files only if needed.tradke2003-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3101 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A thorn's CCTKi_BindingsFortranWrapperXXX() routine is now static and definedtradke2003-01-24
| | | | | | | | | | in the CST-generated file "Variables/${thorn}.c" where it is also registered. No "${thorn}_FortranWrapper.c" files are created anymore which should save some compilation time during a rebuild. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3100 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CactusDefaultInterpGridArrays() as a default for the overloadabletradke2003-01-24
| | | | | | | | | routine CCTK_InterpGridArrays(). If no driver thorn was activated to overloaded the latter then the default routine will be called and print a level-0 warning saying so. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3099 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added descriptions for missing CCTK_GroupXXX() functions.tradke2003-01-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3098 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow square brackets in expression for size of grid arrays. Fixesrideout2003-01-23
| | | | | | | | | Cactus/1365. Fix spelling of 'arithmetic'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3097 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typosrideout2003-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3096 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Document the change in function argument order for CCTK_InterpGridArrays().tradke2003-01-22
| | | | | | | Also added synopsis of how to call this API from Fortran. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3095 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the order of function parameters in CCTK_InterpGridArrays().tradke2003-01-22
| | | | | | | Now it is consistent with the order used in CCTK_InterpLocalUniform(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3094 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added synopsis for fortran bindings of table API.tradke2003-01-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3093 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrappers for most of the table API routines.tradke2003-01-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3092 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in library name for Portland compilers.allen2003-01-14
| | | | | | | Thanks to Michael Koppitz for spotting this ... git-svn-id: http://svn.cactuscode.org/flesh/trunk@3091 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Parameter Cactus::max_runtime is now evaluated as REAL.tradke2003-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3090 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed datatype of parameter Cactus::max_runtime from INT into REAL.tradke2003-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3089 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing '#include <string.h>' to CST-generated source filetradke2003-01-10
| | | | | | | IsFunctionAliased.c to prevent compiler warnings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3088 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix problems from my last commit which didn't let you overwrite settings fromtradke2003-01-10
| | | | | | | the config files anymore. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3087 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't set makefile environment variables again when they were given on thetradke2003-01-10
| | | | | | | | command line. This fixes problems with variables containing spaces in their value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3086 17b73243-c579-4c4c-a9d2-2d5706c11dac
* How to configure with LAPACK.tradke2003-01-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3085 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Configure script for LAPACK library.tradke2003-01-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3084 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo in grdocrideout2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3083 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put semicolon after CCTK_FILEVERSION.rideout2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3082 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add helpful comment to 'Unknown option $option in grouprideout2003-01-07
| | | | | | | | | $current_group...' error message. Add a few commented lines for debuging. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3081 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding thorn name to 'parse aliased function argument' error message.rideout2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3080 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Erik Schnetter's patch to declare string parameters in a thorn's parametertradke2003-01-07
| | | | | | | struct as constant. Completes the fix for Cactus-1350. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3079 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typorideout2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3078 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typosrideout2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3077 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typos from last commit.tradke2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3076 17b73243-c579-4c4c-a9d2-2d5706c11dac