summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* clarify that an aliased function may have a CCTK_POINTER ARRAY argument,jthorn2005-04-11
| | | | | | | but *not* CCTK_STRING ARRAY or CCTK_FPOINTER ARRAY. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4026 17b73243-c579-4c4c-a9d2-2d5706c11dac
* comment out an accidentally-not-commented-out line which showedjthorn2005-04-11
| | | | | | | | | | up as spurious text at the bottom of the CCTK_InterpHandle() page [the commented-out text is part of a description of an envisioned CCTK_InterpLocalNonUniform() which is not implemented yet] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4025 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
* fix Util_snprintf() examples to actually use Util_snprintf()jthorn2005-04-07
| | | | | | | -- previously they used snprintf() git-svn-id: http://svn.cactuscode.org/flesh/trunk@4022 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed gcc compiler warnings about local variables named after global symbolstradke2005-04-05
| | | | | | | and potentially uninitialized variables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4021 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 wrong order of arguments in CCTK_FortranString().tradke2005-04-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4019 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename pow10 to mypow10 because pow10 is defined on some systems in <math.h>schnetter2005-03-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4018 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare variables at the beginning of a function block.tradke2005-03-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4017 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This is a partial fix for bug Cactus/1908jthorn2005-03-21
| | | | | | | | | | | | | | | | | | | | | | scheduling error neither aborts Cactus run nor gives useful error message so scheduling errors now abort the Cactus run. In particular, this commit changes the error-handling strategy of CCTKi_DoScheduleSortAllGroups() ScheduleSortGroup() from "print a message to stderr, then return error code" to CCTK_VWarn(CCTK_WARN_ABORT, ...), i.e. "print a message to stderr, then abort the Cactus run". The CCTKi_DoScheduleSortAllGroups() message is the same one as before. The ScheduleSortGroup() message is changed to include the group name. (N.b. the other part of Cactus/1908, that the schedule-error message is uninformative, is *not* fixed by this commit.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4016 17b73243-c579-4c4c-a9d2-2d5706c11dac
* key/value table iterators (Util_TableIt*() functions):jthorn2005-03-18
| | | | | | | * standardize terminology that ihandle is "handle to table iterator" git-svn-id: http://svn.cactuscode.org/flesh/trunk@4015 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update header comment description of where more docs can be foundjthorn2005-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4014 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix header comment description of where more documentation can be foundjthorn2005-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4013 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove a FIXME comment 'should write some latex docs'jthorn2005-03-18
| | | | | | | since there are now fairly extensive latex docs git-svn-id: http://svn.cactuscode.org/flesh/trunk@4012 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change hexadecimal flags-words constants to decimal so Fortran 77jthorn2005-03-18
| | | | | | | | will grok them (keep hex values in comments since they're convenient for C bitwise-oring) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4011 17b73243-c579-4c4c-a9d2-2d5706c11dac
* move some debug printf() calls closer to the start of their functionsjthorn2005-03-18
| | | | | | | (all inside #ifdef UTIL_TABLE_TEST) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4010 17b73243-c579-4c4c-a9d2-2d5706c11dac
* document that Util_TableSetGeneric() and SetGenericArray()jthorn2005-03-18
| | | | | | | may return UTIL_ERROR_BAD_INPUT for invalid type_code git-svn-id: http://svn.cactuscode.org/flesh/trunk@4009 17b73243-c579-4c4c-a9d2-2d5706c11dac
* split Table.c test driver out into a separate thorn (CactusTest/TestTable)jthorn2005-03-18
| | | | | | | | | | | also add another error check in insert_table_entry() to catch the case where the type code is invalid and hence CCTK_VarTypeSize() returns -1 --> this gives a new error return from this function, and hence from all the Util_TableSet* functions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4008 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_VarTypeSize() entryjthorn2005-03-18
| | | | | | | | | * add -1 error return * add Fortran prototype * clarify wording in description git-svn-id: http://svn.cactuscode.org/flesh/trunk@4007 17b73243-c579-4c4c-a9d2-2d5706c11dac
* * untabifyjthorn2005-03-17
| | | | | | | | | * add a bunch of debug printing to the standalone test drivers (which still core-dumps on my laptop after corrupting the malloc heap; I'm in the process of tracking down what's wrong...) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4006 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo fix for Util_TableGetXxx() entryjthorn2005-03-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4005 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_Table{Get,Set}Xxx() entriesjthorn2005-03-17
| | | | | | | | | | | * add CCTK_BYTE to *all* the entries (I forgot some before :) * tweak wording on what data types Fortran supports Util_Table{Get,Set}XxxArray() entries * document that Fortran accepts the same data types as C git-svn-id: http://svn.cactuscode.org/flesh/trunk@4004 17b73243-c579-4c4c-a9d2-2d5706c11dac
* section B10.8 "Data Types and Sizes" (page B67)schnetter2005-03-17
| | | | | | | * remove CCTK_CHAR from table listing all the Cactus data types git-svn-id: http://svn.cactuscode.org/flesh/trunk@4003 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_Table{Get,Set}Xxx() entriesjthorn2005-03-17
| | | | | | | | | | | | * add CCTK_BYTE * document that CCTK_CHAR isn't available from Fortran s/Util_TableGet*String()/Util_TableGetString() (no such function ever existed, so I suspect this was a global-search-and-replace typo sometime in the past) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4002 17b73243-c579-4c4c-a9d2-2d5706c11dac
* section B10.8 "Data Types and Sizes" (page B67)jthorn2005-03-17
| | | | | | | * add CCTK_BYTE to table listing all the Cactus data types git-svn-id: http://svn.cactuscode.org/flesh/trunk@4001 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
* Add Ian Hawke and the University of Tuebinge. Correct reference toschnetter2005-03-10
| | | | | | | AEI. Add LSU. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3999 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
* Move check for C++ into CCODE sectionschnetter2005-02-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3995 17b73243-c579-4c4c-a9d2-2d5706c11dac
* In CCTK_VWarn(): use copies of va_list when printing to stderr and stdout resp.tradke2005-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3994 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
* Fixed typo to properly end a comment which otherwise would have been enclosed intradke2005-02-22
| | | | | | | another comment. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3991 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
* Add cctk_Interp.h to cctk.h (FCODE section). Surround C prototypes inhawke2005-02-18
| | | | | | | | | cctk_Interp.h with CCODE ifdefs. This allows Fortran code to use the same #def'd error codes as the C code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3989 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
* Renamed README.NT to README.Windows.goodale2005-02-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3985 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Better explanation of ncharsswhite2005-02-09
| | | | | | | | | Fixed formatting Explained that boxed comment pertains to C Explained how Reals are formatted git-svn-id: http://svn.cactuscode.org/flesh/trunk@3984 17b73243-c579-4c4c-a9d2-2d5706c11dac
* latex didn't like the {\tt } environment inside \sectionswhite2005-02-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3983 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo that caused latex errorswhite2005-02-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3982 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Made a little clearer which variables are output.swhite2005-02-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3981 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct description of the warning levelsschnetter2005-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct description of the warning levelsschnetter2005-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3979 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect whether we need to link against pmpich lib also.tradke2005-02-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3978 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Document how to configure Cactus via configuration files listed in antradke2005-01-31
| | | | | | | environment variable ${CACTUS_CONFIG_FILES}. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3977 17b73243-c579-4c4c-a9d2-2d5706c11dac