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.XLF 2.6 kB

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