summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Extended behaviour of LIBS and LIBDIRS: add -l and -L prefix only toschnetter2008-02-13
| | | | | | | library and directory names, respectively, but leave options alone. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4461 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Document extended behaviour of LIBS and LIBDIRS.schnetter2008-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4460 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 9.2.0schnetter2008-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4459 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Clarify entry CCTK_InterpGridArrays. Speak of "grid variables"schnetter2008-02-09
| | | | | | | | | | instead of "grid array", since grid functions can also be interpolated. Add entry for CCTK_SchedulePrintTimes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4458 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use autoconf to look for system-dependent low-level timing functions.schnetter2008-01-25
| | | | | | | Such timing functions are e.g. used by Carpet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4457 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ensure that the default value for REAL parameters is really a realschnetter2008-01-25
| | | | | | | | | | number. Ensure that the default values for keywords are checked as well, currently in the same way as strings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4456 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't treat HPF and OMP directives as commentsschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4455 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use "rm -rf" instead of "rm" when removing temporary filesschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4454 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct the handling of spaces when parsing EXTENDS and USES statements.schnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4453 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CPPFLAGS as well for the final link stage, since the fileschnetter2008-01-25
| | | | | | | datestamp.c is actually compiled at that time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicitly specify -qfree when compiling Fortran 90 filesschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4451 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't include <string.h> into auto-generated interface files, since itschnetter2008-01-25
| | | | | | | is not needed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4450 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capture stderr as well when issuing a commandschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4449 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When parsing parameters, require that no other text comes beforeschnetter2008-01-25
| | | | | | | the EXTENDS or USES keywords. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4448 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct small error in commentschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4447 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Erik Schnetter to work around an 'argument list too long' problemtradke2008-01-22
| | | | | | | | during the generation of libCactusBindings.a on an IBM SP5 machine (see http://www.cactuscode.org/old/pipermail/developers/2007-December/005479.html as the corresponding email discussion thread) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change back from from '-std=c99' to using '-std=gnu99' for the Intel C compilertradke2008-01-21
| | | | | | | to also allow GNU extensions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4445 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use '-std=c99' instead of '-std=gnu99' to enable C99 supporttradke2008-01-21
| | | | | | | for the Intel C compiler git-svn-id: http://svn.cactuscode.org/flesh/trunk@4444 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fixed Intel C/C++ compiler version check logictradke2008-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set F77 flags after F90 flags to keep order consistent (no semantic change)schnetter2008-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't optimise for a particular processor architecture by default.schnetter2008-01-19
| | | | | | | | | 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
* synchronise all processors after PARAM_CHECK to avoid race conditions in casetradke2007-12-06
| | | | | | | of parameter errors (see http://www.cactuscode.org/old/pipermail/developers/2007-December/005480.html) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4440 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known-architecture file for Darwin 8.11.1schnetter2007-11-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct #ifdef _cplusplus to #ifdef __cplusplus to find out whetherschnetter2007-11-16
| | | | | | | the header file is compiled by a C++ compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4438 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: fixed auto-detection of gfortran compilertradke2007-11-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: add gfortran to the list of known F77/F90 compilerstradke2007-11-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed error in linux config file.jshalf2007-10-26
| | | | | | | 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
* Fixing Network.c for Cray XT4 Compute Node Linux Compatibility.jshalf2007-10-26
| | | | | | | | | | | | | | | | | | | | | | Network.c uses gethostbyname() which is available on the front-end nodes of the XT4, but not available on Compute Node Linux back-end nodes. The code will link fine with gethostbyname(), but will resolve to the dynamically shared library version of glibc. Since the Compute nodes do not understand dynamically linked libraries (only static linking), then it causes a fatal runtime error if gethostbyname() is invoked even though the compiler will not provide any warning that something bad will occur. Therefore, if you #define CRAY_XT, it will disable the gethostbyname() so as to prevent a fatal runtime error when GetHostName is called. Need to find out a way to recognize Cray XT4/Compute-node-Linux systems automatically. The front-end of the XT4 looks exactly like a Linux cluster. (uname returns "Linux"). Perhaps add a test to the Linux cluster known architectures file that points it to a XT4_CNL known-architetures file. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4434 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move setting of F90 and F77 to none earlier to prevent a buggoodale2007-10-18
| | | | | | | | when neither compiler has been found which left types undefined. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4433 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known architecture file for Darwin 8.10.3schnetter2007-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4432 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed two typos, and comment that we should document the MESSAGE field forrideout2007-10-12
| | | | | | | configuration scripts. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* spelling fixrideout2007-10-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4430 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce a new autoconf macro CCTK_CHECK_C_INLINE, which checks forschnetter2007-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | the inline keyword very similarly to AC_C_INLINE. CCTK_CHECK_C_INLINE works in the following way: Do nothing if the compiler accepts the inline keyword. Otherwise define inline to __inline__ or __inline if one of those work, otherwise define inline to be empty. The setting '__inline__ __attribute__((__gnu_inline__))' is for gcc 4.3 and later. By default this version of gcc follows the new ANSI standard for "static inline" and "extern inline", which is incompatible with many libraries (e.g. GSL), leading to linker errors about duplicate symbols. This is because "static inline" now generates an externally visible symbol. The setting above makes gcc fall back to the old meaning, which does not generate an externally visible symbol for "static inline". Use CCTK_CHECK_C_INLINE instead of AC_C_INLINE in configure.in. Re-generate configure. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implement a new flesh function CCTK_SchedulePrintTimesToFile.schnetter2007-08-25
| | | | | | | | | The existing internal schedule printing functions now take an additional FILE* argument, and the existing CCTK_SchedulePrintTimes prints explicitly to stdout. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4428 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow thorns to call make.configuration recursively from theirschnetter2007-08-22
| | | | | | | | | | | | make.configuration.deps. For this, thorns have to specify a make goal with a suffix ".custom". If the make goal has the suffix ".custom", then include the thorn list definition make.thornlist. This is identical to what happens for the "utils" and "build" make goals. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix LDFLAGS when using the Intel compiler for linkingtradke2007-08-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Steve White's patch to auto-configure with MPICH2tradke2007-08-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 8.10.1schnetter2007-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4424 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New Solaris 10 options from Ankush Guptaschnetter2007-06-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4423 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add autoconf macros to detect the header file <malloc.h>, theschnetter2007-05-26
| | | | | | | | 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
* fix MPI_INCLUDES and MPI_LIBS when using OpenMPI v1.1tradke2007-05-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Build a configuration in two steps: First create make.thornlib, thenschnetter2007-05-21
| | | | | | | | 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
* Use fewer warning flags for C and C++ compilers by default.schnetter2007-05-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4419 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This patch makes complex arithmetic in C and C++ more efficient, andschnetter2007-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | makes it much more convenient for C++, expecially when templates are used. The flesh functions for complex arithmetic are defined (not only declared) by including Complex.c from the header file cctk_Complex.h. They are declared "static inline", so the the compiler can inline them, but does not have to create an out-of-line copy for every source file. Complex.c is also compiled stand-alone without the "static inline" prefix, so that out-of-line copies exist as well. Add some new complex arithmetic functions, e.g. ComplexNeg to change the sign. Make some complex arithmetic functions more efficient by using algorithms from glibc. These algorithms are LGPL. They should be faster and/or more accurate than the existing implementations. For C++, define the usual arithmetic operators (+-*/ etc.) as inline functions calling the corresponding complex arithmetic functions. This makes it possible to use complex numbers in the same way as real numbers, which makes it possible to instantiate templates for both CCTK_REAL and CCTK_COMPLEX. This leads to much code reduction in Carpet. The patch also appends a type postfix to the names of math functions called in the inlined routines: 'f' for HAVE_CCTK_REAL4, nothing for HAVE_CCTK_REAL8, and 'l' for HAVE_CCTK_REAL16. This avoids compiler warnings about conversions from "double" to "float" which may lose significant bits. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4418 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use "cctk_unlikely_dummy_name" instead of "dummy" when sorting thorns.schnetter2007-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4417 17b73243-c579-4c4c-a9d2-2d5706c11dac
* += support for OpenBSD 4.0jthorn2007-04-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4416 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added known architectures for xt3 and xt4.jshalf2007-04-04
| | | | | | | still fixing some some xt4/pgi compiler issues. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4415 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed config.guess and config.sub for Cray xt3 and xt4 targets.jshalf2007-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known architecture file for Darwin 8.9.1schnetter2007-03-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4413 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added Fortran wrapper for CCTK_ParameterSet()tradke2007-03-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4412 17b73243-c579-4c4c-a9d2-2d5706c11dac