summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
Commit message (Collapse)AuthorAge
* 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
* Don't depend anymore on IA32ROOT or IA64ROOT to be set.tradke2004-06-28
| | | | | | | | | Use "$(dirname $(dirname $(which $F90)))" instead. This closes PR Cactus 1540: "Auto-detecting the link line for Fortran compiler does not work". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3799 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set LIBS and LIBDIRS to point to the gnu95 library if F90 wasn't configuredtradke2004-06-21
| | | | | | | to be used as LD. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3780 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For IA64: Reduced C/CXX/Fortran optimization level from '-O3' (which causedtradke2004-06-09
| | | | | | | the BSSN_MoL benchmark crash) down to '-O2'. Fixed list of intel-specific libs. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3765 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't try to link against libgfortran when using GNU g95.tradke2004-05-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3750 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more optimization for Portland compilers.tradke2004-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3699 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Frank Loeffler's patch: explicitely set CACHELINE_SIZE on x86_64 to 64 bytes.tradke2004-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3698 17b73243-c579-4c4c-a9d2-2d5706c11dac
* No need anymore to check for both OPTIMISE and OPTIMIZE. This is now alreadytradke2004-04-22
| | | | | | | done in the configure script. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3669 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove syntax error (forgotten ;;)schnetter2004-04-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3658 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When using Intel compilers:tradke2004-04-01
| | | | | | | | | - switch off optimization ('-O0') if OPTIMISE or OPTIMIZE is set to 'no' - use '-xW' to enable vectorization for Intel v7 - recognize icpc as Intel C++ compiler git-svn-id: http://svn.cactuscode.org/flesh/trunk@3633 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set default optimization flags for gfortran compiler to '-O3 -funroll-loops'.tradke2004-03-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3628 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed method of finding portland compiler libraries.goodale2004-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3620 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed path to cpp.tradke2004-03-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest Absoft compilers don't give output from -V flag unlessgoodale2004-03-28
| | | | | | | | compiling a function, so have had to add a third test for Absoft. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3611 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Split into sections for IA32 and IA64 under intel compilersallen2004-03-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making the default FPP and FPPFLAGS be /usr/bin/cpp -traditional.goodale2004-03-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3595 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed order of intel libraries to link against.tradke2004-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3591 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update to gcc flags - put higher optimisation, and use -pipe for speed.goodale2004-02-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3578 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For Intel compiler optimization: use '-xN' instead of '-xW' as the first optiontradke2004-02-18
| | | | | | | is deprecated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3576 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add svml to the list of intel libraries.tradke2004-02-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3574 17b73243-c579-4c4c-a9d2-2d5706c11dac