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.O2K 2.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ####################################################################
  2. # LAPACK make include file. #
  3. # LAPACK, Version 3.6.0 #
  4. # November 2015 #
  5. ####################################################################
  6. #
  7. SHELL = /sbin/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. FORTRAN = f77
  16. OPTS = -O3 -64 -mips4 -r10000
  17. #OPTS = -O3 -64 -mips4 -r10000 -mp
  18. DRVOPTS = $(OPTS) -static
  19. NOOPT = -64 -mips4 -r10000
  20. #NOOPT = -64 -mips4 -r10000 -mp
  21. LOADER = f77
  22. LOADOPTS = -O3 -64 -mips4 -r10000
  23. #LOADOPTS = -O3 -64 -mips4 -r10000 -mp
  24. #
  25. # Timer for the SECOND and DSECND routines
  26. #
  27. # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
  28. TIMER = EXT_ETIME
  29. # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
  30. # TIMER = EXT_ETIME_
  31. # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
  32. # TIMER = INT_ETIME
  33. # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
  34. # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
  35. # TIMER = INT_CPU_TIME
  36. # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
  37. # TIMER = NONE
  38. #
  39. # Configuration LAPACKE: Native C interface to LAPACK
  40. # To generate LAPACKE library: type 'make lapackelib'
  41. # Configuration file: turned off (default)
  42. # Complex types: C99 (default)
  43. # Name pattern: mixed case (default)
  44. # (64-bit) Data model: LP64 (default)
  45. #
  46. # CC is the C compiler, normally invoked with options CFLAGS.
  47. #
  48. CC = cc
  49. CFLAGS = -O3
  50. #
  51. # LAPACKE has also the interface to some routines from tmglib,
  52. # if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
  53. #LAPACKE_WITH_TMG = Yes
  54. #
  55. # The archiver and the flag(s) to use when building archive (library)
  56. # If you system has no ranlib, set RANLIB = echo.
  57. #
  58. ARCH = ar
  59. ARCHFLAGS= cr
  60. RANLIB = echo
  61. #
  62. # Location of the extended-precision BLAS (XBLAS) Fortran library
  63. # used for building and testing extended-precision routines. The
  64. # relevant routines will be compiled and XBLAS will be linked only if
  65. # USEXBLAS is defined.
  66. #
  67. # USEXBLAS = Yes
  68. XBLASLIB =
  69. # XBLASLIB = -lxblas
  70. #
  71. # The location of the libraries to which you will link. (The
  72. # machine-specific, optimized BLAS library should be used whenever
  73. # possible.)
  74. #
  75. BLASLIB = -lblas
  76. #BLASLIB = -lblas_mp
  77. #BLASLIB = ../../librefblas.a
  78. CBLASLIB = ../../libcblas.a
  79. LAPACKLIB = liblapack.a
  80. TMGLIB = libtmglib.a
  81. LAPACKELIB = liblapacke.a