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.8 kB

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