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 2.8 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ####################################################################
  2. # LAPACK make include file. #
  3. # LAPACK, Version 3.7.0 #
  4. # November 2017 #
  5. ####################################################################
  6. SHELL = /bin/sh
  7. # CC is the C compiler, normally invoked with options CFLAGS.
  8. #
  9. CC = gcc
  10. CFLAGS = -O3
  11. # Modify the FORTRAN and OPTS definitions to refer to the compiler
  12. # and desired compiler options for your machine. NOOPT refers to
  13. # the compiler options desired when NO OPTIMIZATION is selected.
  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. # Define LOADER and LOADOPTS to refer to the loader and desired
  24. # load options for your machine.
  25. #
  26. LOADER = gfortran
  27. LOADOPTS =
  28. # The archiver and the flag(s) to use when building an archive
  29. # (library). If your system has no ranlib, set RANLIB = echo.
  30. #
  31. ARCH = ar
  32. ARCHFLAGS = cr
  33. RANLIB = ranlib
  34. # Timer for the SECOND and DSECND routines
  35. #
  36. # Default: SECOND and DSECND will use a call to the
  37. # EXTERNAL FUNCTION ETIME
  38. #TIMER = EXT_ETIME
  39. # For RS6K: SECOND and DSECND will use a call to the
  40. # EXTERNAL FUNCTION ETIME_
  41. #TIMER = EXT_ETIME_
  42. # For gfortran compiler: SECOND and DSECND will use a call to the
  43. # INTERNAL FUNCTION ETIME
  44. TIMER = INT_ETIME
  45. # If your Fortran compiler does not provide etime (like Nag Fortran
  46. # Compiler, etc...) SECOND and DSECND will use a call to the
  47. # INTERNAL FUNCTION CPU_TIME
  48. #TIMER = INT_CPU_TIME
  49. # If none of these work, you can use the NONE value.
  50. # In that case, SECOND and DSECND will always return 0.
  51. #TIMER = NONE
  52. # Uncomment the following line to include deprecated routines in
  53. # the LAPACK library.
  54. #
  55. #BUILD_DEPRECATED = Yes
  56. # LAPACKE has the interface to some routines from tmglib.
  57. # If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
  58. #
  59. #LAPACKE_WITH_TMG = Yes
  60. # Location of the extended-precision BLAS (XBLAS) Fortran library
  61. # used for building and testing extended-precision routines. The
  62. # relevant routines will be compiled and XBLAS will be linked only
  63. # if USEXBLAS is defined.
  64. #
  65. #USEXBLAS = Yes
  66. #XBLASLIB = -lxblas
  67. # The location of the libraries to which you will link. (The
  68. # machine-specific, optimized BLAS library should be used whenever
  69. # possible.)
  70. #
  71. BLASLIB = ../../librefblas.a
  72. CBLASLIB = ../../libcblas.a
  73. LAPACKLIB = liblapack.a
  74. TMGLIB = libtmglib.a
  75. LAPACKELIB = liblapacke.a