summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Tidying patch from Yaakoub - removing unused vars and fixing some prototypes.goodale2004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3861 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Yaakoub to add new GA reduction API.goodale2004-08-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3858 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Comment out debug message about registration of new reduction ops.tradke2004-08-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3844 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New reduction APIs - as done by Yaakoub.goodale2004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3829 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Functions completing the Cactus Timer API.swhite2004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3828 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct wrong function description.schnetter2004-08-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3819 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add additional scheduler options "loop-local", "loop-singlemap",schnetter2004-07-31
| | | | | | | | "loop-level", "loop-global", and "loop-meta". This makes CallFunction loop over the corresponding modes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3812 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Output more information when an unknown schedule option is encountered.schnetter2004-07-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3811 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Delimit timer info with "=" instead of "-" to make it more readable.schnetter2004-07-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3810 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use new HAVE_CCTK_<datatype> macro names.tradke2004-06-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3795 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not use CCTK_L2_CACHE_SIZE and CCTK_L2_CACHELINE_BYTES macros anymore.tradke2004-06-26
| | | | | | | They have been depricated in beta13. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3791 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add option flag for 'local' mode.tradke2004-06-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change #if CCTK_HAVE_REAL16 --> #ifdef CCTK_HAVE_REAL16jthorn2004-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and similarly for other such #if tests, to avoid warnings from icc: /afs/aei-potsdam.mpg.de/u/jthorn/cactus/Cactus/src/include/cctk_Types.h(32): rem ark #193: zero used for undefined preprocessing identifier #if CCTK_HAVE_REAL16 ^ /afs/aei-potsdam.mpg.de/u/jthorn/cactus/Cactus/src/include/cctk_Complex.h(46): r emark #193: zero used for undefined preprocessing identifier #if CCTK_HAVE_REAL16 ^ [N.b. Harbison & Steele: "C: A Reference Manual", section 3.5.1, states that #if undefined_identifier is equivalent to #if 0 , so so long as we define the symbols with nonzero values when we do define them, #if and #ifdef are equivalent here. But #ifdef is cleaner because * it avoids spurious compiler warnings such as the above * it follows the standard convention for feature-test macros (see, for example, the discussion in the first example of Harbison & Steele's section 3.5.3) and so reduces "programmer surprise" for future maintainence programmers] [Note also that this change is orthogonal to the current discussion on the developers mailing list of what the names of these feature-test macros should be.] git-svn-id: http://svn.cactuscode.org/flesh/trunk@3787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed local variable 'index' to 'idx' to get rid of gcc compiler warningstradke2004-06-21
| | | | | | | about naming variables after global functions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3779 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in macros names in my previous commit: HAVE_CCTK_REAL* should readtradke2004-06-20
| | | | | | | CCTK_HAVE_REAL*. Ditto for CCTK_INT*. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_REAL{8|16|32} fortran datatypes only if the correspondingtradke2004-06-20
| | | | | | | | CCTK_HAVE_REAL{8|16|32} macros are defined. Dito for CCTK_COMPLEX* datattypes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3776 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use '#if CCTK_HAVE_REAL*' rather than '#ifdef CCTK_REAL*'.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3775 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed old interpolator API code.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3771 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Describe POSTRESTRICT and POSTREGRID bins during startup.schnetter2004-06-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3768 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_TraverseString() returns error code (-5) if it encounters an invalidtradke2004-06-09
| | | | | | | variable or group name. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3764 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix indentation.schnetter2004-06-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3759 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing fortran wrapper prototypes.tradke2004-06-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3756 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper for CCTK_InterpLocalUniform().tradke2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3733 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix previous patch so we only warn at most onece per processor per API.jthorn2004-05-14
| | | | | | | | This avoids problems with millions of warnings being printed if user code calls the interpolator separately at each grid point. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3729 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add level 1 warnings to CCTK_InterpGV() and CCTK_InterpLocal()jthorn2004-05-11
| | | | | | | | | | | | (both C and Fortran versions) warning that these APIs are obsolescent and people should convert their code to the replacement APIs CCTK_InterpGridArrays() and CCTK_InterpLocalUniform() respectively. Still to be done: a Fortran wrapper for CCTK_InterpLocalUniform() ... I am working on this next... git-svn-id: http://svn.cactuscode.org/flesh/trunk@3716 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to support parameter files with <CR><LF> at ends of lines.goodale2004-05-10
| | | | | | | Fixes PR 1596. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3713 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in warning message.tradke2004-05-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3703 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't do cache padding if cache size or cacheline size are unknown.tradke2004-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3697 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed deprecation commentallen2004-05-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3686 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Give error when trying to treat a non-array parameter as an array parameter.goodale2004-05-03
| | | | | | | Fixes PR Cactus/1607. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3684 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stop after printing warning for being unable to open parameter file.goodale2004-05-03
| | | | | | | Fixes PR Cactus/1569. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3683 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed CCTKi_GroupLengthAsPointer() to return the length of a single vectortradke2004-04-30
| | | | | | | | | variable for vector groups. This closes Cactus/1664: vector group with multiple elements passes arrays of incorrect size to F90. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3680 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the way how CCTK arguments are used in a following C function blocktradke2004-04-24
| | | | | | | | so that certain compilers don't generate compile-time warnings about "unused variable ...". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3676 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTKBindings_RegisterThornFunctions() returns any non-negative value in casetradke2004-04-24
| | | | | | | of an error. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3675 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check return code of CCTKBindings_RegisterThornFunctions() and stop withtradke2004-04-23
| | | | | | | a level-0 warning in case of an error. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3671 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move group constants to cctk_Constants.h so that they are available toschnetter2004-04-17
| | | | | | | | | Fortran as well. Remove duplicate prototype. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3666 17b73243-c579-4c4c-a9d2-2d5706c11dac
* * introduce new #define UTIL_TABLE_FORTRAN_WRAPPERS to controljthorn2004-04-15
| | | | | | | | | | whether we compile the Fortran wrapper functions, and put all Fortran wrappers inside this --> standalone test driver now compiles again (& passes) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3665 17b73243-c579-4c4c-a9d2-2d5706c11dac
* drop -ansi -pedanticjthorn2004-04-15
| | | | | | | | from gcc options because (as of C89) those forbid long long (i.e. CCTK_INT8) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Provide Fortran wrappers for some flesh functions that return a string.schnetter2004-04-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3662 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a function Util_StrMemCmpi that compares a C and a Fortran stringschnetter2004-04-12
| | | | | | | without copying the Fortran string. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3661 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a C version of the function CCTK_FortranString. Useschnetter2004-04-12
| | | | | | | *_FORTSTRING_LEN to access the string length. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3660 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add macros *_FORTSTRING_LEN that allow C code to access the stringschnetter2004-04-12
| | | | | | | length. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Flush stdout before printing to stderr.schnetter2004-04-06
| | | | | | | | | Don't flush stderr twice. Call CCTK_Abort instead of exit. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3648 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Create timers with unique names by using an integer serial number.schnetter2004-04-06
| | | | | | | | | | | This removes spurious timer warnings. Check malloc return value. Change message from "[...] at [group]" to "[...] in [group]". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3646 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change ".eq. 1" to ".ne. 0" for CCTK_EQUALS, because this is what Cschnetter2004-04-04
| | | | | | | also does. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check malloc return values more carefully: malloc(0)==0 is not anschnetter2004-04-04
| | | | | | | | | | error. CCTKi_Extract: Ensure dimension>=0, and do not access the array when dimension==0. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3644 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check malloc return valueschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3643 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Complete list of error codes for CCTK_FirstVarIndexschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reformat commentschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3641 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The preprocessor on the Cray-X1 put spaces in odd places when expandingjshalf2004-04-02
| | | | | | | | | the CCTK_EQUALS macro - so added spaces in the correct places. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3637 17b73243-c579-4c4c-a9d2-2d5706c11dac