| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4423 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
functions mallinfo() and mallopt(), and the constant M_MMAP_THRESHOLD.
These are e.g. provided by glibc.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4422 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4421 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
build all thorns. This seems to make "make" honour the "-j" options
when building the thorns.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4420 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4419 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4416 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
still fixing some some xt4/pgi compiler issues.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4415 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4414 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4413 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not set F90_DEPEND, as this variable is not used. Move definition
of F77_DEPEND to where F_DEPEND is set.
Set F_DEPEND to "$(FPP)", which is evaluated when make runs, not to
the default value of FPP. This allows influencing F_DEPEND by setting
FPP.
Set AIX_[Ff]90_FLAGS to "-qfree", to be symmetric to AIX_[Ff]_FLAGS
and AIX_[Ff]77_FLAGS, which are set to "-qfixed".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4411 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4410 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
handle long argument lists, which prevents calling ar or ld when there
are many thorns.
Add a comment describing why setting SHELL when configuring does not
work.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4409 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
necessary on AIX, where the compiler requires free-form Fortran 90
files to have a .f suffix.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4408 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4407 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for the Intel compiler.
Disable a test for a special version of gcc 3.3 modified by Apple
installed in a special location.
Do not try to use the Absoft compiler if all compiler auto-detection
fails.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4385 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4377 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4366 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
was before the CVS server was restored. This file has now effectively
the same content as before the repository corruption.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4364 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Set the F77 profile flags as well when setting the F77 flags. This
somehow got lost in the previous change.
This should bring the configure script back in sync with configure.in
now that the CVS server problems have been solved.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4363 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4361 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Needed by Carpet and GZPatchSystem
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4360 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
data/time as returned by /bin/date in possibly ISO 8601 compliant format.
This datetime stamp will be used by the new flesh routine CCTK_CompileDateTime().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4357 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
somehow got lost in the previous change.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4356 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
during configuring. This way they are set before they are used to
determine the properties of the Fortran compiler.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4355 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
support this type. This does not make sense if there is no Fortran
compiler.
Disable the check whether real*n is supported in Fortran when there is
no Fortran compiler.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4354 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4353 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
always detects it as "not present", even if the message printed to the
screen during configuration says "present". The enclosed patch
corrects this:
Rename the detecting autoconf macro from CCTK_PROG_FORTRAN_REAL16 to
CCTK_FORTRAN_REAL16. This follows the usual autoconf naming
conventions; see e.g. CCTK_CXX_BOOL. Also rename the return value (a
global variable) from fortran_does_real16 to
cctk_cv_have_fortran_real16.
In this macro, use the function AC_TRY_COMPILE instead of
AC_TRY_COMPILER. The difference is that this then only compiles, it
does not try to link and execute. Executing would require handling
cross-compiling in a special way.
Replace the autoconf macro AC_TRY_COMPILE by CCTK_TRY_COMPILE,
correcting an error in handling Fortran programmes. AC_TRY_COMPILE
does not work for Fortran in autoconf 2.13.
Move setting the compiler debug and warning flags further up in
configure.in, so that the Fortran 77 compiler flags, which may be
copied from the Fortran 90 compiler flags, are correct when the
Fortran types are detected. Otherwise the wrong Fortran 77 compiler
may be used for this test.
Add autodetection for all the Fortran types real*4, real*8, real*16,
complex*8, complex*16, and complex*32. Make this result available to
thorns as HAVE_CCTK_FORTRAN_xxx.
Define the CCTK_REALxxx and HAVE_CCTK_REALxxx macros only if the
corresponding real and complex types are available in both C and
Fortran.
Remove some leftover debugging statements.
Tested on Darwin-x86 with gcc and Linux-x86 with Intel.
Touche force-reconfigure.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4351 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
should be added when gcc is used. The test used illegal shell syntax,
which made it always fail, and uses compiler version numbers which are
not available at this point.
The new setting is: Do not add any of these options by default.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4350 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
might have affected MPICH distros that used "libmpi.a" rather than "libmpich.a"
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4342 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4336 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4331 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build. This flag is equivalent to OPTIMISE=yes and DEBUG=yes.
Additional compiler options {C,CXX,F77,F90}_PROFILE_FLAGS are also
introduced.
The configuration stage sets the F77 flags to the F90 flags if an F90
compiler is found. This flag setting was done too early, namely
before the default values for the F90 flags were set. This flag
setting has been moved to a later time.
The link command used undefined make variables $(OPTIMISE_C) etc.
These variables have been removed. Instead $(CXX_OPTIMISE_FLAGS)
etc. are added to the link statement. This makes the linker pick up
the correct flags e.g. for profiling.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4327 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@4317 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fortran REAL*16 detection
http://www.cactuscode.org/old/pipermail/patches/2006-April/000164.html
... a patch that makes Cactus directly detect Fortran support
for a REAL*16 type.
The problem has been that Cactus based CCTK_REAL16 on support for the C type
'long double'. This would cause it to create Fortran code for REAL*16, a
type which was sometimes not supported.
In particular, on a 64-bit Athlon machine with Gnu 4.1.0, gfortran
defines REAL*8 but not REAL*16, while gcc defines 'long double'.
This caused thorn AEIThorns/Fortran to fail to compile.
This patch causes the configuration to directly compile Fortran code that
features REAL*16, and define CCTK_REAL16 only if that compiles *and* C's
'long double' is supported.
When you make config, you will see a new line about Fortran REAL*16.
I have tested the enclosed patch on
my laptop with Gnu 4.10 and Intel 9.0 compilers
64-bit AMD Athlon with same compilers
POWER4 with IBM XL compilers
BUT NOTE: I have severe doubts about using REAL*16 on any of these
architectures. That 16-byte (128-bit) type is not natively supported
on the Xeon, Athlon, or POWER machines. While some compilers support
such types, calculation is done in software, not on the FPU.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4314 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.cactuscode.org/old/pipermail/patches/2006-April/000160.html
... a patch for the known-architectures file for Darwin for
the XLF compiler.
Primarily it is to improve the speed, by making the optimization
options to be
-O3 -qhot -qarch=auto -qtune=auto -qcache=auto
This gets quite good performance, but moves instructions. The various
"auto's" cause the compiler to generate optimal code for the platform
on which the compiler is running.
Also, I made it supress the congratulatory message ("Yay, I compiled").
Also, I test the compiler version major and minor numbers so that darned
"-no-cpp-precomp" option is included only when the version is less than 3.3.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4313 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aix known-architectures for XLC/XLF
http://www.cactuscode.org/old/pipermail/patches/2006-April/000159.html
> ... a patch for the AIX known-architectures file, meant to
> improve performance for the IBM XLC/XLF compilers.
>
> I made the default optimization to be
> -O3 -qarch=auto -qtune=auto -qcache=auto -qhot
> for all the IBM compilers.
>
> I also made XLF to suppress congratulatory messages ("Yay! I compiled!)
> on successful compilation.
>
> I tested -02 through -O5. On BSSNCarpet runs, "-O3 -qhot" performed
> best--but beware, it moves instructions. While turning on -qstrict
> fixes this, it also degrades performance. The -qarch=auto causes the
> code to be customized for the architecture on which it is compiled.
> The higher levels turn on -qipa which does global optimizations and
> work best if this option is also supplied at link time.
>
> See http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4312 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
and made it include libmpi_cxx
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4296 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4291 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4290 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4288 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4287 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
There seem to be new Darwin releases every week or so.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4283 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
(old versions of g++) don't support restrict in arrays which are
structure members.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4282 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4281 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
buggy compilers (e.g. old versions of gcc) do not support "restrict"
on arrays which are function arguments. On these compilers, we now
disable "restrict".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4280 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compile something. It seems as if AC_PROG_*_GNU does not clean up
after itself.
On case-insensitive file systems, having a file "conftest.c" around
while using cat to write to a file "conftest.C" means that the
resulting file is still "conftest.c", so that it is compiled as C and
not as C++ programme.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4279 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4278 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4274 17b73243-c579-4c4c-a9d2-2d5706c11dac
|