summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
Commit message (Collapse)AuthorAge
* add known support for linux-gnueabi (linux)knarf2013-10-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Currently, known_architectures/linux only looks at the first line of '$F77knarf2013-02-21
| | | | | | | | | | | | | | | | | | | | | --version' to determine the version of a gnu-type fortran compiler. However, on bluewaters this returns {{{ /opt/cray/xt-asyncpe/5.16/bin/ftn: INFO: Compiling with CRAYPE_COMPILE_TARGET=native. GNU Fortran (GCC) 4.7.2 20120920 (Cray Inc.) Copyright (C) 2012 Free Software Foundation, Inc. }}} The information the script is actually interested in is on the second line, not the first. Thus, I propose the attached patch (grepping for "GNU" before choosing the first line). I didn't find a problem with this patch on other machines, but there might be in case $F77 --version does not contain GNU in the line with the version. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4958 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support IBM Blue Gene compilerseschnett2013-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4949 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
* 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
* 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
* only use $intel_dir/lib/icrt.link when it exists, which it does not for ↵knarf2010-09-08
| | | | | | newer versions of the intel compiler - only applies when the intel compiler is not used for linking git-svn-id: http://svn.cactuscode.org/flesh/trunk@4633 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use --version instead of --dumpversion for gfortran because of changes in ↵knarf2010-09-08
| | | | | | the output of the --version option, and to easily support old and new versions of gfortran git-svn-id: http://svn.cactuscode.org/flesh/trunk@4632 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix from Maciej Brodowicz to properly detect the major/minor version of gfortrantradke2009-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4556 17b73243-c579-4c4c-a9d2-2d5706c11dac
* changes '-std=gnu99' to '-std=c99 -U__STRICT_ANSI__' for the intel C ↵knarf2009-02-17
| | | | | | compiler versions > 8 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4555 17b73243-c579-4c4c-a9d2-2d5706c11dac
* auto-detect IBM C/C++/Fortran compilers for Linux and set appropriate defaultstradke2009-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4551 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix warning message when an unknown F90 compiler was detectedtradke2009-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix gcc version extraction for Debian Lennyknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4520 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add default OpenMP flags for Portland C/F77/F90 compilerstradke2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add new configuration option OPENMP to enable/disable OpenMP support.tradke2008-12-08
| | | | | | | | | This option is accompanied by the option set {C,CXX,F77,F90}_OPENMP_FLAGS through which users can overwrite the default OpenMP options set in the known-architectures file. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4513 17b73243-c579-4c4c-a9d2-2d5706c11dac
* enable support for ISO C from 1999, with GNU extensions, when configuring withtradke2008-08-14
| | | | | | | PathScale C compiler git-svn-id: http://svn.cactuscode.org/flesh/trunk@4500 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct a bash warning about -ge being used as a unary operatorschnetter2008-06-10
| | | | | | | because one of the arguments is undefined. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4492 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace "touch" with ": >", which uses the file server clock insteadschnetter2008-06-10
| | | | | | | | of the clients, and thus can prevent some make problem if the file server clock is not synchronised git-svn-id: http://svn.cactuscode.org/flesh/trunk@4491 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't try to detect the Fortran77 compiler type if F77 is set to 'none'tradke2008-02-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4462 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
* 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
* 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
* 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
* One too many flags ended in the WARN flagsswhite2006-06-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4319 17b73243-c579-4c4c-a9d2-2d5706c11dac
* PG compiler flags improvementsswhite2006-06-09
| | | | | | | | | | | | | | 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
* Fix detection of compiler version for pgCC.tradke2006-05-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4287 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The lineschnetter2005-10-14
| | | | | | | | | | | | | | | | | | | ${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS) in the PGI configuration section in lib/make/known-architectures/linux causes trouble. It means "use as F90 flags whatever the F77 flags will be set to". This doesn't work together with the a recent patch to configure.in, which says "use the same flags for F77 as for F90". Overall we now have a circular definition. As a quick fix, I replace the above line with the value of F77_OPTIMISE_FLAGS. Since there is no other code which sets a shell variable (the left hand side) to a Makefile expression (the right hand side), it may have been an oversight anyway -- probably the author of the above line wanted to write ${F77_OPTIMISE_FLAGS} instead anyway. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4184 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use '-Wall -w1 -Wcheck' for {C,CXX}_WARN_FLAGS for Intel 8.0 and newer.tradke2005-08-30
| | | | | | | | | Use '-Wall -w1' for older versions of Intel C/C++ compilers. This closes PR Compiler-1955: "configuring with Intel compiler doesn't pass any -W options (configuring with gcc does)". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4117 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use 'head -n1' when querying the compiler version.tradke2005-08-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4116 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't use '-ip' in CXX_OPTIMISE_FLAGS when using Intel icpc 9.0.tradke2005-08-09
| | | | | | | It has the same bug as 8.1 when compiling C++ code with anonymous namespaces. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4107 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put shell variable expansion into quotes because it can expand to moreschnetter2005-07-20
| | | | | | | than one word. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4096 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect the compiler versions for CC, CXX, F77, and F90, and put the informationtradke2005-06-16
| | | | | | | as a comment into make.config.defn. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4077 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't add '-ip' to CXX_OPTIMISE_FLAGS when using Intel 8.1.tradke2005-05-03
| | | | | | | | This version is known to be buggy when using anonymous namespaces. Omitting the '-ip' option bypasses the problem (without preventing other optimizations). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4038 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autodetect pgf95 as Portland Fortran compiler.tradke2005-04-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4035 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Also check for x86_64 CPU type when setting Fortran compiler options.tradke2004-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3807 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set {C|CXX}_WARN_FLAGS for Intel compilers so that only errors and warningstradke2004-06-28
| | | | | | | are displayed, no remark messages. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3800 17b73243-c579-4c4c-a9d2-2d5706c11dac