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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ####################################################################
  2. # LAPACK make include file. #
  3. # LAPACK, Version 3.4.1 #
  4. # April 2012 #
  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. FORTRAN = f77
  16. #OPTS = -O4 -u -f -mt
  17. #OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa
  18. OPTS = -u -f -dalign -native -xO2 -xarch=v8plusa
  19. DRVOPTS = $(OPTS)
  20. NOOPT = -u -f
  21. #NOOPT = -u -f -mt
  22. LOADER = f77
  23. #LOADOPTS = -mt
  24. LOADOPTS = -f -dalign -native -xO2 -xarch=v8plusa
  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 = cc
  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 = echo
  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. #BLASLIB = -xlic_lib=sunperf_mt
  78. BLASLIB = -xlic_lib=sunperf
  79. LAPACKLIB = liblapack.a
  80. TMGLIB = libtmglib.a
  81. LAPACKELIB = liblapacke.a