| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5046 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--version' to determine the version of a gnu-type fortran compiler. However, on
bluewaters this returns
{{{
/opt/cray/xt-asyncpe/5.16/bin/ftn: INFO: Compiling with CRAYPE_COMPILE_TARGET=native.
GNU Fortran (GCC) 4.7.2 20120920 (Cray Inc.)
Copyright (C) 2012 Free Software Foundation, Inc.
}}}
The information the script is actually interested in is on the second line, not
the first. Thus, I propose the attached patch (grepping for "GNU" before
choosing the first line). I didn't find a problem with this patch on other
machines, but there might be in case $F77 --version does not contain GNU in the
line with the version.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4958 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4949 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4858 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move MPI support from flesh to thorn ExternalLibraries/MPI. This also
requires thorns that call MPI directly to declare this in their
configuration.ccl. Existing configurations using MPI need to include
ExternalLibraries/MPI into their thorn list.
* Declare that the flesh optionally uses MPI (because it needs to call
MPI_Init)
* Update test case mechanism to find out whether MPI is used
* Handle configuration bindings for flesh
* Don't special-case Crays any more when configuring Linux
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4847 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4689 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
newer versions of the intel compiler - only applies when the intel compiler is not used for linking
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4633 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
the output of the --version option, and to easily support old and new versions of gfortran
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4632 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4556 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
compiler versions > 8
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4555 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4551 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4550 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4520 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4516 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
This option is accompanied by the option set {C,CXX,F77,F90}_OPENMP_FLAGS
through which users can overwrite the default OpenMP options set in the
known-architectures file.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4513 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
PathScale C compiler
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4500 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
because one of the arguments is undefined.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4492 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
of the clients, and thus can prevent some make problem if the file
server clock is not synchronised
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4491 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4462 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
to also allow GNU extensions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4445 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
for the Intel C compiler
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4444 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4443 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Instead use just "-O2 -ip", which should work on every platform.
Enable C99 language support by default.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4441 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4437 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Linux file detects XT4 Linux systems and vectors to xt4-cray-linux config.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4435 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4319 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Got rid of
--instantiate=used
which only irritates recent compilers.
2) Broke off warning settings which were previously part of
e.g. F90_OPTIMISE_FLAGS into F90_WARN_FLAGS
so now you see most of the "loop unroll" etc warnings only if
WARN is on.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4318 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4287 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS)
in the PGI configuration section in lib/make/known-architectures/linux
causes trouble. It means "use as F90 flags whatever the F77 flags
will be set to". This doesn't work together with the a recent patch
to configure.in, which says "use the same flags for F77 as for F90".
Overall we now have a circular definition.
As a quick fix, I replace the above line with the value of
F77_OPTIMISE_FLAGS. Since there is no other code which sets a shell
variable (the left hand side) to a Makefile expression (the right hand
side), it may have been an oversight anyway -- probably the author of
the above line wanted to write ${F77_OPTIMISE_FLAGS} instead anyway.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4184 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Use '-Wall -w1' for older versions of Intel C/C++ compilers.
This closes PR Compiler-1955: "configuring with Intel compiler doesn't pass any -W options (configuring with gcc does)".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4117 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4116 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
It has the same bug as 8.1 when compiling C++ code with anonymous namespaces.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4107 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
than one word.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4096 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
as a comment into make.config.defn.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4077 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4035 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3960 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
|
|
|
|
|
|
|
| |
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@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@3898 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@3868 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3807 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
are displayed, no remark messages.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3800 17b73243-c579-4c4c-a9d2-2d5706c11dac
|