| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4027 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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@3990 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@3978 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
${CACTUS_CONFIG_FILES}.
If no such variable is set, the default options file ${HOME}/.cactus/config
will be read.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3976 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3965 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3963 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3960 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3959 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
other than globus and myrinet. So 'MPI=MPICH' should now work for arbitrary
devices if the MPICH installation comes with a config file
$MPICH_DIR/etc/mpichlib.conf.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3958 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3954 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
from a thorn's configuration.ccl.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3942 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3934 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
by prefixing - currently use thorn_ for nostalgie reasons 8-)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3921 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
C or C++.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3919 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
1) reduce default optimization level from '-O3' to '-O2' for
C_OPTIMISE_FLAGS and CXX_OPTIMISE_FLAGS.
2) Don't specify '-xP' for F??_OPTIMISE_FLAGS as the code generated with this
optimization option will not run on an Opteron processor.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3917 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3916 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3915 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Make the fortran compilers generate symbols with a single trailing underscore.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3914 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3913 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Only tested as cross compilers so far, with standard optimization options.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3912 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3911 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3908 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3907 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3906 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3905 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
specified them explicitely as HDF5_DIR.
Detect availability of Stream VFD and LFS and set appropriate makefile variables
to be used by HDF5 thorns.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3904 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3898 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3894 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3880 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
paths as there are some machines (e.g. sr8000.lrz-muenchen.de) which
don't do this automatically.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3879 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
optimization option. Use '-xP' instead.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3877 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3876 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3875 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3868 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
as explicit include/library search paths.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3867 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
as explicit include/library search paths.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3866 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3865 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
as explicit include/library search paths.
This closes PR Cactus-1846: "/usr/include in include path due to LAM in /usr".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3864 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3863 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
the full perl expression to the other place it should have been used, which
may sort out excessive rebuilding on windows.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3830 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3822 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3818 17b73243-c579-4c4c-a9d2-2d5706c11dac
|