summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
* Add configuration options allowing moving all object files into the executableeschnett2012-10-28
| | | | | | | | | | | Add configuration options allowing people to ensure that all thorn source files make it into the executable. Among other things, this ensures that each routine has a unique name. This is disabled by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTKi_VarDataPtrI in CCTK_DECLARE_ARGUMENTSeschnett2012-10-26
| | | | | | | | Introduce new function CCTKi_VarDataPtrI which does not emit warnings. Use it when defining CCTK_DECLARE_ARGUMENTS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4898 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add autoconf check whether C99 is supportedeschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check availability of isnan in C++eschnett2012-10-22
| | | | | | | | | | Check availability of isnan in C++. Introduce autoconf macros specifying how to call a good version of isnan in any language. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4881 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.2.0eschnett2012-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4875 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 12.1.0eschnett2012-08-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4863 17b73243-c579-4c4c-a9d2-2d5706c11dac
* reintroduce dependency fixup to avoid full compile when thornlist changesrhaas2012-08-11
| | | | | | | | | | this fixes an issue introduced in r4839 where the original patch removed special treatment for three (or so) files, assuming that these files are not generated any more. This was wrong, and this patch reverts special treatment for one of these files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force reconfiguringeschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take $(CFLAGS) or $(CXXFLAGS) into account when determining dependencieseschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4858 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve flesh MPI configuration messageshinder2012-08-03
| | | | | | Avoid confusion now that the flesh MPI support is deprecated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4856 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.0.0 (OS X 10.8.0)eschnett2012-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make cleandeps a no-op if build directory does not existrhaas2012-07-25
| | | | | | | eg. because of a previous realclean git-svn-id: http://svn.cactuscode.org/flesh/trunk@4853 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.2eschnett2012-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4852 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct dependency calculation for CUDAeschnett2012-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4850 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move MPI support from flesh to a thorneschnett2012-07-21
| | | | | | | | | | | | | | | | 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
* Correct error in determining dependencieseschnett2012-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4843 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for ticket #768sbrandt2012-06-18
| | | | | | | | Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx git-svn-id: http://svn.cactuscode.org/flesh/trunk@4839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct errors in handling optional capabilitieseschnett2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4835 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.0 (Mac OSX 10.7.4)eschnett2012-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4821 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enable "restrict" as keyword in C++eschnett2012-05-07
| | | | | | | You can now use "restrict" instead of CCTK_RESTRICT in C++. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4812 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support OpenCL source code (.cl files)eschnett2012-05-02
| | | | | | | | | | | | | | | | | | OpenCL source code needs to be compiled at run time, and thus needs to be passed as string to the OpenCL run-time library. This makes writing OpenCL source code inconvenient. This patch adds *.cl as supported file type to Cactus. *.cl files are transformed into globally visible strings, with a name consisting of the thorn name and file name. These strings can then be easily used at run time to build and run OpenCL code. Since *.cl files are converted to strings (and are not OpenCL-compiled at build time), there are no CL* options specifying compiler type, compiler flags etc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4808 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for getpid()eschnett2012-02-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4792 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.3.0eschnett2012-02-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4789 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Merge branch 'NewSchedule' into trunkhinder2012-01-31
| | | | | | | | | | | This provides support for specifying READS and WRITES clauses for each function scheduled in schedule.ccl. These list the variables which the scheduled function reads from or writes to. This supports future dependency-based scheduling. See https://docs.einsteintoolkit.org/et-docs/Adding_requirements_to_the_Cactus_scheduler for more information. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename variable CUCC_POSTPROCESSING to CU_POSTPROCESSINGeschnett2012-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not add /lib64, /usr/lib64, or /usr/local/lib64 to LIBDIRSeschnett2011-11-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4770 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve performance of Fortran index calculationseschnett2011-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | In Fortran, Cactus currently declares grid functions e.g. as (this is the expansion of DECLARE_CCTK_ARGUMENTS) REAL*8 gxx (X0metric,X1metric,X2metric) where X0metric etc. are integers passed into the routine. Each grid function group has its own, independent size. This has two disadvantages: - The compiler does not know that all grid functions have the same size (namely cctk_lsh), and thus has to perform array index calculations separately for each group - The argument list is longer than neded The enclosed patch declares grid functions via cctk_lsh. Grid arrays are still declared independently. This reduces the code size of e.g. GRHydro/GRHydro_Tmunu.F90 from 6836 to 6241 bytes on my system. I have not attempted to measure a performance difference. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4763 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.2.0eschnett2011-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4748 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use basename to lead strip directory from full path to the compilers.diener2011-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4747 17b73243-c579-4c4c-a9d2-2d5706c11dac
* - fix several issues with recent VERBOSE changeknarf2011-10-04
| | | | | | | - re-introduce SILENT=no to set VERBOSE=yes, for some time git-svn-id: http://svn.cactuscode.org/flesh/trunk@4740 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix issue #586: bashisms, and uppercase VERBOSE=YES, as well as a couple of ↵knarf2011-09-28
| | | | | | minor cosmetics issues git-svn-id: http://svn.cactuscode.org/flesh/trunk@4739 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove bashisms and unnecessary curly bracesknarf2011-09-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4738 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace the SILENT option with a VERBOSE option (of opposite meaning). Defaultknarf2011-09-27
| | | | | | | | | is still VERBOSE=no, but this now actually produces a lot less output: almost no "cosmetic" lines (only ---), and no messages for pre- and postprocessing anymore. Add VERBOSE=yes to get the old beavior of SILENT=no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4737 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerate configure scripthinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4729 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configure.in: Correct typo in CCTK_CHECK_FUNCS(crypt,…)hinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4728 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerate configure scripthinder2011-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4727 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect backtrace-related functions during configurationhinder2011-09-22
| | | | | | | | See https://trac.einsteintoolkit.org/ticket/443 Patch by Roland Haas git-svn-id: http://svn.cactuscode.org/flesh/trunk@4726 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Jian Tao: let gmake newthorn create configuration.cclknarf2011-09-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4723 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow a configuration.ccl file for the flesheschnett2011-08-25
| | | | | | | | | The mechanism in Cactus that handles configuration.ccl files currently cannot handle a configuration.ccl for the flesh. This patch corrects this. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4720 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.1 (Mac OS X 10.7.1)eschnett2011-08-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4718 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When checking for particular compiler names on AIX, remove the path,eschnett2011-08-17
| | | | | | | and check only the file names themselves. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4717 17b73243-c579-4c4c-a9d2-2d5706c11dac
* #define HAVE_CCTK_C_INLINE when inlining is supported, even when theeschnett2011-08-14
| | | | | | | "inline" keyword works as is. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4715 17b73243-c579-4c4c-a9d2-2d5706c11dac
* dry run of autoconf, no changes to configure.inknarf2011-08-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4713 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Lioneschnett2011-08-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4712 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Expand $extra in auto-generated comment in makefile fragmenteschnett2011-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4711 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When linking, sort library directories so that system directorieseschnett2011-06-28
| | | | | | | | | (/opt/local/*) come last. This increases the probability that the correct library is used, e.g. if a library exists both in a specific path and in /opt/local/lib. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4705 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect <sched.h> and sched_getaffinity()eschnett2011-06-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4704 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.8.0eschnett2011-06-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4703 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve auto-detection of "restrict" keywordeschnett2011-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | Update and improve the auto-detection of the "restrict" keyword; add more test cases to detect more possible failures. Disable testing the array syntax void foo (double A[restrict]); where the "restrict" keyword is given within the square brackets; instead, one can use the pointer syntax void foo (double *restrict const A); which is tested. Add support for the gcc built-in function "builtin_expect", which tells the compiler the value that an expression is most likely to have. Re-enable the (currently commented out) definitions for attribute(hot) and attribute(cold). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4702 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerate configure fileeschnett2011-04-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4701 17b73243-c579-4c4c-a9d2-2d5706c11dac