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.SGI5 2.7 kB

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