1 ####################################################################
2 # LAPACK make include file. #
3 # LAPACK, Version 3.6.1 #
5 ####################################################################
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.
15 # Note: During a regular execution, LAPACK might create NaN and Inf
16 # and handle these quantities appropriately. As a consequence, one
17 # should not compile LAPACK with flags such as -ffpe-trap=overflow.
20 OPTS = -O2 -frecursive
22 NOOPT = -O0 -frecursive
26 # Comment out the following line to include deprecated routines to the
31 # Timer for the SECOND and DSECND routines
33 # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
35 # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
37 # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
39 # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
40 # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
41 # TIMER = INT_CPU_TIME
42 # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
45 # Configuration LAPACKE: Native C interface to LAPACK
46 # To generate LAPACKE library: type 'make lapackelib'
47 # Configuration file: turned off (default)
48 # Complex types: C99 (default)
49 # Name pattern: mixed case (default)
50 # (64-bit) Data model: LP64 (default)
52 # CC is the C compiler, normally invoked with options CFLAGS.
57 # The archiver and the flag(s) to use when building archive (library)
58 # If you system has no ranlib, set RANLIB = echo.
64 # Location of the extended-precision BLAS (XBLAS) Fortran library
65 # used for building and testing extended-precision routines. The
66 # relevant routines will be compiled and XBLAS will be linked only if
67 # USEXBLAS is defined.
73 # The location of the libraries to which you will link. (The
74 # machine-specific, optimized BLAS library should be used whenever
77 BLASLIB = ../../librefblas.a
78 CBLASLIB = ../../libcblas.a
79 LAPACKLIB = liblapack.a
81 LAPACKELIB = liblapacke.a