summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
...
* 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
* Reorder CUDA makefile ruleseschnett2011-04-22
| | | | | | | | | The rules to build CUDA source files are very similar to those for C and C++, and different from those for the Fortran. Reorder reorder these makefile rules to make the code easier to understand. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4700 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This patch makes the CST stage create prototypes for all scheduledeschnett2011-03-30
| | | | | | | | | | | functions into a new file cctk_ScheduleFunctions.h, which is included into cctk.h. This is done only for C (and C++) since Fortran prototypes cannot be declared at file scope. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4695 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force reconfiguring to make the new variables MAKE, TAR, GZIP_CMD,eschnett2011-03-30
| | | | | | | PATCH, GIT available git-svn-id: http://svn.cactuscode.org/flesh/trunk@4694 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.7.0eschnett2011-03-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4692 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Export the MAKE variable to configuration scriptseschnett2011-03-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4691 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't use GZIP for the location of the gzip executable, because the latter ↵knarf2011-03-16
| | | | | | actually uses that very variable for a list of default options. Use GZIP_CMD instead git-svn-id: http://svn.cactuscode.org/flesh/trunk@4690 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Let Cactus find the correct Intel compiler lib directoryknarf2011-03-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4689 17b73243-c579-4c4c-a9d2-2d5706c11dac
* let Cactus search for TAR GZIP PATCH and GIT while configuringknarf2011-03-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4688 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: The configuration option to specify the CUDA C compiler ↵knarf2011-02-26
| | | | | | should be called CUCC, not NVCC. nvcc is only NVidia's CUDA C compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4685 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add CUDA support to the fleshknarf2011-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4684 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ian Hinder:knarf2011-02-01
| | | | | | | | | | | Cactus supports a variable OPTIMISE=yes/no to control whether optimisation is performed during compilation. Setting this variable to "yes" (for example, make sim-config OPTIMISE=yes) adds the flags in C_OPTIMISE_FLAGS to CFLAGS so that optimisation is performed. This is the default. Setting OPTIMISE=no does not add the flags. For gcc, this results in an unoptimised configuration as gcc assumes -O0 as the default. The Intel compiler, however, uses -O2 as the default. Hence, setting OPTIMISE=no has no effect on Intel, and -O2 is still used. This patch adds new configuration options C_NO_OPTIMISE_FLAGS, CXX_NO_OPTIMISE_FLAGS, F77_NO_OPTIMISE_FLAGS and F90_NO_OPTIMISE_FLAGS to complement the *_OPTIMISE_FLAGS options. These are added to the flags when OPTIMISE=no is used, and they default to -O0, which for the commonly used gcc and Intel compilers will lead to an unoptimised configuration. This requires a CONFIG-reconfig, but this is not enforced because this option doesn't affect most people, and failing to -reconfig is not fatal. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4681 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove whitespace from option values passed on the "make" command linehinder2011-01-26
| | | | | | | | | | | The regular expression used to match variable settings was absorbing whitespace into the variable value. Changing to a non-greedy RE fixes this. This problem caused GSL to not find its directory, as it didn't expect a space on the end of GSL_DIR. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4667 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwon 10.6.0 (Mac OS X 10.6.6)eschnett2011-01-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add CCTK_ATTRIBUTE_ALIGNED, which is auto-configured and expands toeschnett2011-01-04
| | | | | | | | gcc' __attribute__(__aligned__(...)) if present. This is necessary for vectorisation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4662 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Delete large "lib" directories without exceeding command line length limitationseschnett2011-01-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4661 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force a rebuild of all Cactus configurations sinceeschnett2010-12-23
| | | | | | | cctki_Capabilities.h was renamed to cctk_Capabilities.h. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4660 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve optional requirement of capabilitieseschnett2010-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thorns can specify that they can make use of a particular capability (for example HDF5), but that it is not absolutely required. It is currently not possible to detect a capability in the source code or make system of a thorn because there is no preprocessor macro and no make variable defined to indicate that the capability is available. Additionally, the preprocessor definitions which are explicitly provided by a capability are written to an include file which is malformed and hence these definitions cannot be read. This commit: * Introduces makefile and preprocessor variables HAVE_CAPABILITY_<cap> for each provided capability * Removes the incorrect definition line causing the include file to be malformed * Renames cctki_Capabilities.h to cctk_Capabilities.h and causes cctk_Capabilities.h to be included from cctk.h by all thorns * Excludes cctk_Capabilities.h from dependency checking (dependencies of the files included from this one will be sufficient) [Patch from Ian Hinder] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autoconf CCTK_ATTRIBUTE_NOINLINE, which expands toeschnett2010-12-23
| | | | | | | __attribute__((noinline)) if that is supported by the compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4658 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add new configuration flags CPP_DEBUG_FLAGS etc., which allow passingeschnett2010-12-22
| | | | | | | | | | | | | | | | | | | | | | | special CPP flags for debugging. These complement the existing C_DEBUG_FLAGS and CPPFLAGS. In particular, the following flags are added: CPP_DEBUG_FLAGS FPP_DEBUG_FLAGS CPP_OPTIMISE_FLAGS FPP_OPTIMISE_FLAGS CPP_PROFILE_FLAGS FPP_PROFILE_FLAGS CPP_OPENMP_FLAGS FPP_OPENMP_FLAGS CPP_WARN_FLAGS FPP_WARN_FLAGS Applications are e.g. adding -Wall to CPP_WARN_FLAGS, or -fopenmp to CPP_OPENMP_FLAGS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4656 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use define OPENMPI_BIN_LIB_DIR to specify library directories which have to ↵knarf2010-12-01
| | | | | | be searched when the openmpi binaries are executed. This can happen e.g. when using openmpi which was compiled with the intel compiler, but the corresponding intel module wasn't loaded git-svn-id: http://svn.cactuscode.org/flesh/trunk@4655 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force people to reconfigure their buildseschnett2010-11-24
| | | | | | | | Modify force-reconfigure to force people to reconfigure their builds because the way unsued variables are handles changed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4653 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make Cactus add include paths to the compiler options such that fortran ↵knarf2010-11-23
| | | | | | module files outside of scratch can be found, closes ET ticket #99 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4652 17b73243-c579-4c4c-a9d2-2d5706c11dac