summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Reformat the output of "make help" to make the columns line up.schnetter2005-05-15
| | | | | | | | | | | | Remove superfluous blanks. Describe all commands consistently by commands (e.g. "delete") instead of changing between "to delete" and "deletes". Clarify some descriptions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4049 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
* Return the documented error indicating values.schnetter2005-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4047 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
* make CCTK_WARN_* #defines visible to Fortran code, as perjthorn2005-05-11
| | | | | | | | http://cactus.cct.lsu.edu/pipermail/developers/2005-May/000920.html http://cactus.cct.lsu.edu/pipermail/developers/2005-May/000938.html git-svn-id: http://svn.cactuscode.org/flesh/trunk@4044 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Describe CCTK_FortranString according to my suggestion on theschnetter2005-05-08
| | | | | | | | | developers' mailing list. Add a description of the C API as well. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4043 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some updates to the description of CCTK_FortranString:schnetter2005-05-07
| | | | | | | | | | Correct and simplify declaration Reorder parameters in the explanation to match the calling order Mention error code Simplify example git-svn-id: http://svn.cactuscode.org/flesh/trunk@4042 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix table-of-contents 1-line summary of CCTK_FortranString()jthorn2005-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4041 17b73243-c579-4c4c-a9d2-2d5706c11dac
* redo description of CCTK_FortranString():jthorn2005-05-07
| | | | | | | | | | | * convert from old CCTKFunc latex environment to new FunctionDescription latex environment * add an example * clarify that string_length argument is an *output* from this function * other wording clarifications git-svn-id: http://svn.cactuscode.org/flesh/trunk@4040 17b73243-c579-4c4c-a9d2-2d5706c11dac
* convert description of CCTK_IsThornActive()jthorn2005-05-05
| | | | | | | | | from old CCTKFunc latex environment to new FunctionDescription latex environment, since the formatting was a bit ugly in the old format git-svn-id: http://svn.cactuscode.org/flesh/trunk@4039 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
* * document both syntaxes for scheduling something before/after any/alljthorn2005-04-22
| | | | | | | | | | of a set of other things (previously neither syntax was documented) (Tom confirmed that both syntaxes are valid in an E-mail to developers@cactuscode.org on 16.Nov.2004) * point to Users' Guide for further explanation git-svn-id: http://svn.cactuscode.org/flesh/trunk@4034 17b73243-c579-4c4c-a9d2-2d5706c11dac
* clarify wording on BEFORE/AFTER schedule clauses,jthorn2005-04-22
| | | | | | | | | add explicit statement that cyclic dependencies are verboten -- thanks to Steve for helping me come up with better wording git-svn-id: http://svn.cactuscode.org/flesh/trunk@4033 17b73243-c579-4c4c-a9d2-2d5706c11dac
* document both syntaxes for scheduling something before/after any/alljthorn2005-04-22
| | | | | | | | | of a set of other things (previously neither syntax was documented) (Tom confirmed that both syntaxes are valid in an E-mail to developers@cactuscode.org on 16.Nov.2004) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4032 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explained that the result of CCTK_VarName should not beswhite2005-04-21
| | | | | | | freed after use. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4031 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put CCTK_L* entries in correct alphabetical order.swhite2005-04-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4030 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Document CCTK_TerminateNext().tradke2005-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove duplicate definitionschnetter2005-04-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4028 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
* 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