summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
* Add pthread to the list of Intel Fortran 7.1 system libs.tradke2005-04-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4027 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add '-Mx,125,0x200' to F77FLAGS and F90FLAGS when using Portland compilers.tradke2005-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix the CVS $Header:$ comments in generated {README,*.ccl} filesjthorn2005-03-14
| | | | | | | | so they have the ':' (which was missing before) -- without this CVS won't expand the tag git-svn-id: http://svn.cactuscode.org/flesh/trunk@4000 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo last commit totradke2005-03-08
| | | | | | | | | make/make.configuration sbin/CreateConfigurationBindings.pl because it broke compiling of capability-requiring thorns (eg. CactusIO/IOSDF). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3998 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to fix some problems with configuration.ccl stuffgoodale2005-03-04
| | | | | | | | | and reorganise directories. Note the patch to CreateConfigurationBindings.pl is from 1.3 of that file, and, hopefully, fixes the same problems that 1.4 did. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3997 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed '-Wstrict-prototypes -Wmissing-prototypes' from CXX_WARN_FLAGS.tradke2005-03-02
| | | | | | | According to the gcc man page, these options are for compiling C code only. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3996 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Yet another darwin version.goodale2005-02-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3990 17b73243-c579-4c4c-a9d2-2d5706c11dac
* An attempt to auto-detect device specific libs and libdirs for a LAM ↵tradke2005-02-15
| | | | | | installation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3988 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bugfix in previous commit -- hopefully we now handle all possible casesjthorn2005-02-10
| | | | | | | of OPTIMISE=something and OPTIMIZE=something-else correctly git-svn-id: http://svn.cactuscode.org/flesh/trunk@3987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan && Thomas R jointly]]jthorn2005-02-10
| | | | | | | | | | | | | | | | | | catch the error case where ~/.cactus/config (or another options file) contains (eg) OPTIMISE=no # UK spelling with "S" but the user says gmake blah-config OPTIMIZE=yes # US spelling with "Z" or more generally, where (after combining settings from all options file(s) and the command line) we have an inconsistent mixture of OPTIMISE and OPTIMIZE settings before this commit, this would produce a no-optimization configuration with this commit, it produces an optimized configuration git-svn-id: http://svn.cactuscode.org/flesh/trunk@3986 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect whether we need to link against pmpich lib also.tradke2005-02-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3978 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Read Cactus configuration options from files listed in an environment variabletradke2005-01-31
| | | | | | | | | ${CACTUS_CONFIG_FILES}. If no such variable is set, the default options file ${HOME}/.cactus/config will be read. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3976 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Another version of darwin.goodale2005-01-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3965 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing #include <stddef.h> to autogenerated filesschnetter2005-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3963 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reordered fortran runtime libraries for Portland compilers.tradke2005-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3960 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed detection of gettimeofday(2) which was broken for Intel C/C++ 8.1.tradke2005-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3959 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Automatic detection of MPICH device-specific libs and libdirs for devicestradke2005-01-13
| | | | | | | | | other than globus and myrinet. So 'MPI=MPICH' should now work for arbitrary devices if the MPICH installation comes with a config file $MPICH_DIR/etc/mpichlib.conf. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3958 17b73243-c579-4c4c-a9d2-2d5706c11dac
* known-architectures file for the current OpenBSD release (= 3.6)jthorn2005-01-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3954 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When building utility programs, include makefile definitions generatedtradke2004-12-21
| | | | | | | from a thorn's configuration.ccl. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3942 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added /usr/gm and /usr/local/gm to places to search for myrinet.goodale2004-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3934 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make cactus thorn lib names less likely to clash with system namesgoodale2004-11-30
| | | | | | | by prefixing - currently use thorn_ for nostalgie reasons 8-) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3921 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_RESTRICT to be the appropriate restrict qualifier forgoodale2004-11-30
| | | | | | | C or C++. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3919 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixes for 'x86_64':tradke2004-11-26
| | | | | | | | | | 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
* Do not add standard directories to the include and library paths.schnetter2004-11-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3916 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove superfluous empty line in output.schnetter2004-11-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3915 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Turn on aggressive optimization for the PathScale compilers.tradke2004-11-18
| | | | | | | 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
* Added math vector library for PathScale compiler.tradke2004-11-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3913 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Linux architecture support for PathScale compilers.tradke2004-11-16
| | | | | | | 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
* Removing some strange lines and some lines scheduled for removal in beta16.goodale2004-11-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3911 17b73243-c579-4c4c-a9d2-2d5706c11dac
* LAM libraries wants libdl. Added to MPI_LIBS.tradke2004-11-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3908 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed C++/LD options for the Portland compiler suite.tradke2004-11-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3907 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo for Portland C++ compiler flag settings: CXX_FLAGS -> CXXFLAGS.tradke2004-11-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3906 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add HAVE_HDF5_STREAM_VFD and HDF5_LFS_FLAGS makefile variables.tradke2004-11-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3905 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not omit standard lib/include paths (/usr/ and /usr/local/) if the usertradke2004-11-08
| | | | | | | | | specified them explicitely as HDF5_DIR. Detect availability of Stream VFD and LFS and set appropriate makefile variables to be used by HDF5 thorns. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3904 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for the basename of $LD when testing for specific linkers.tradke2004-11-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3898 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Another version of darwin.goodale2004-11-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3894 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make a better job of finding compiler libs.goodale2004-11-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3880 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add /usr/local/include and /usr/local/lib to appropriate compiler/linkergoodale2004-10-29
| | | | | | | | paths as there are some machines (e.g. sr8000.lrz-muenchen.de) which don't do this automatically. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3879 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Intel Fortran compiler for EM64T architecture doesn't know about '-xN'tradke2004-10-26
| | | | | | | optimization option. Use '-xP' instead. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3877 17b73243-c579-4c4c-a9d2-2d5706c11dac
* LAM itself requires pthread library.tradke2004-10-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3876 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change macro name "HDF5" to "CCTK_HDF5".schnetter2004-10-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3875 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't explicitly link against Intel C++ libs when using Intel 8.x and higher.tradke2004-10-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3868 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't set "/usr/include", "/usr/local/include", "/usr/lib", and "/usr/local/lib"tradke2004-09-23
| | | | | | | as explicit include/library search paths. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3867 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't set "/usr/include", "/usr/local/include", "/usr/lib", and "/usr/local/lib"tradke2004-09-23
| | | | | | | as explicit include/library search paths. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3866 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove option '-nopt' from STD_FLAGS. It isn't recognized anymore.tradke2004-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3865 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't set "/usr/include", "/usr/local/include", "/usr/lib", and "/usr/local/lib"tradke2004-09-17
| | | | | | | | | as explicit include/library search paths. This closes PR Cactus-1846: "/usr/include in include path due to LAM in /usr". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3864 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New known architecture file for darwin 7.5.0.goodale2004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3863 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change a regex to work around a bug in the perl on RHEL. Also transferredgoodale2004-08-12
| | | | | | | | the full perl expression to the other place it should have been used, which may sort out excessive rebuilding on windows. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Parse multiple schedule options correctly.schnetter2004-08-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3822 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce HAVE_LAPACK and HAVE_BLAS make variables.schnetter2004-08-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3818 17b73243-c579-4c4c-a9d2-2d5706c11dac