You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

make.inc.gfortran 3.0 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ####################################################################
  2. # LAPACK make include file. #
  3. # LAPACK, Version 3.6.0 #
  4. # November 2015 #
  5. ####################################################################
  6. #
  7. SHELL = /bin/sh
  8. #
  9. # Modify the FORTRAN and OPTS definitions to refer to the
  10. # compiler and desired compiler options for your machine. NOOPT
  11. # refers to the compiler options desired when NO OPTIMIZATION is
  12. # selected. Define LOADER and LOADOPTS to refer to the loader and
  13. # desired load options for your machine.
  14. #
  15. # Note: During a regular execution, LAPACK might create NaN and Inf
  16. # and handle these quantities appropriately. As a consequence, one
  17. # should not compile LAPACK with flags such as -ffpe-trap=overflow.
  18. #
  19. FORTRAN = gfortran
  20. OPTS = -O2 -frecursive
  21. DRVOPTS = $(OPTS)
  22. NOOPT = -O0 -frecursive
  23. LOADER = gfortran
  24. LOADOPTS =
  25. #
  26. # Timer for the SECOND and DSECND routines
  27. #
  28. # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
  29. #TIMER = EXT_ETIME
  30. # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
  31. # TIMER = EXT_ETIME_
  32. # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
  33. TIMER = INT_ETIME
  34. # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
  35. # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
  36. # TIMER = INT_CPU_TIME
  37. # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
  38. # TIMER = NONE
  39. #
  40. # Configuration LAPACKE: Native C interface to LAPACK
  41. # To generate LAPACKE library: type 'make lapackelib'
  42. # Configuration file: turned off (default)
  43. # Complex types: C99 (default)
  44. # Name pattern: mixed case (default)
  45. # (64-bit) Data model: LP64 (default)
  46. #
  47. # CC is the C compiler, normally invoked with options CFLAGS.
  48. #
  49. CC = gcc
  50. CFLAGS = -O3
  51. #
  52. # LAPACKE has also the interface to some routines from tmglib,
  53. # if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
  54. #LAPACKE_WITH_TMG = Yes
  55. #
  56. # The archiver and the flag(s) to use when building archive (library)
  57. # If you system has no ranlib, set RANLIB = echo.
  58. #
  59. ARCH = ar
  60. ARCHFLAGS= cr
  61. RANLIB = ranlib
  62. #
  63. # Location of the extended-precision BLAS (XBLAS) Fortran library
  64. # used for building and testing extended-precision routines. The
  65. # relevant routines will be compiled and XBLAS will be linked only if
  66. # USEXBLAS is defined.
  67. #
  68. # USEXBLAS = Yes
  69. XBLASLIB =
  70. # XBLASLIB = -lxblas
  71. #
  72. # The location of the libraries to which you will link. (The
  73. # machine-specific, optimized BLAS library should be used whenever
  74. # possible.)
  75. #
  76. BLASLIB = ../../librefblas.a
  77. CBLASLIB = ../../libcblas.a
  78. LAPACKLIB = liblapack.a
  79. TMGLIB = libtmglib.a
  80. LAPACKELIB = liblapacke.a