| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
but *not* CCTK_STRING ARRAY or CCTK_FPOINTER ARRAY.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4026 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4024 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
case independent.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4023 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
-- previously they used snprintf()
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4022 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
and potentially uninitialized variables.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4021 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4019 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4018 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4017 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* standardize terminology that ihandle is "handle to table iterator"
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4015 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4014 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4013 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
since there are now fairly extensive latex docs
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4012 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
(all inside #ifdef UTIL_TABLE_TEST)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4010 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4005 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
AEI. Add LSU.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3999 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3995 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3994 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
requiring capabilities.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3993 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3992 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
another comment.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3991 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3990 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
installation.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3988 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
of OPTIMISE=something and OPTIMIZE=something-else correctly
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3987 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3985 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3983 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3982 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3981 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3980 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3979 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3978 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
environment variable ${CACTUS_CONFIG_FILES}.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3977 17b73243-c579-4c4c-a9d2-2d5706c11dac
|