Fix formatting differences and omissions in make.inc.*
authorKyle Guinn <elyk03@gmail.com>
Wed, 25 Jan 2017 08:22:29 +0000 (02:22 -0600)
committerKyle Guinn <elyk03@gmail.com>
Wed, 25 Jan 2017 08:22:29 +0000 (02:22 -0600)
Adds LAPACKE_WITH_TMG to make.inc.example, adds BUILD_DEPRECATED to
everything in the INSTALL dir.

Sort the variables by programs and their flags, then build options, then
library names.

14 files changed:
INSTALL/make.inc.ALPHA
INSTALL/make.inc.HPPA
INSTALL/make.inc.IRIX64
INSTALL/make.inc.O2K
INSTALL/make.inc.SGI5
INSTALL/make.inc.SUN4
INSTALL/make.inc.SUN4SOL2
INSTALL/make.inc.XLF
INSTALL/make.inc.gfortran
INSTALL/make.inc.gfortran_debug
INSTALL/make.inc.ifort
INSTALL/make.inc.pgf95
INSTALL/make.inc.pghpf
make.inc.example

index b581587..0ceeaa1 100644 (file)
@@ -1,76 +1,81 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O4
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = -O4 -fpe1
+DRVOPTS = $(OPTS)
+NOOPT   =
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = -O4 -fpe1
-DRVOPTS  = $(OPTS)
-NOOPT    =
 LOADER   = f77
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O4
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
 #BLASLIB      = ../../librefblas.a
-BLASLIB     = -ldxml
+BLASLIB      = -ldxml
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
 TMGLIB       = libtmglib.a
index 869a7ec..8eabbbd 100644 (file)
@@ -1,76 +1,81 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS =
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = +O4 +U77
+DRVOPTS = $(OPTS) -K
+NOOPT   = +U77
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = +O4 +U77
-DRVOPTS  = $(OPTS) -K
-NOOPT    = +U77
 LOADER   = f77
 LOADOPTS = -Aa +U77
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS =
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
 #BLASLIB      = ../../librefblas.a
-BLASLIB     = -lblas
+BLASLIB      = -lblas
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
 TMGLIB       = libtmglib.a
index 6848206..d9e71e1 100644 (file)
@@ -1,78 +1,83 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /sbin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
+#OPTS    = -g  -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
+DRVOPTS = $(OPTS) -static
+NOOPT   = -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
+#NOOPT   = -g  -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
-#OPTS     = -g  -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
-DRVOPTS  = $(OPTS) -static
-NOOPT    = -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
-#NOOPT    = -g  -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
 LOADER   = f77
 LOADOPTS = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
 #LOADOPTS = -g  -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O3
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-#BLASLIB     = -lblas
+#BLASLIB      = -lblas
 BLASLIB      = ../../librefblas.a
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
index ceeccef..3ffcada 100644 (file)
@@ -1,79 +1,84 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /sbin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = -O3 -64 -mips4 -r10000
+#OPTS    = -O3 -64 -mips4 -r10000 -mp
+DRVOPTS = $(OPTS) -static
+NOOPT   = -64 -mips4 -r10000
+#NOOPT   = -64 -mips4 -r10000 -mp
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = -O3 -64 -mips4 -r10000
-#OPTS     = -O3 -64 -mips4 -r10000 -mp
-DRVOPTS  = $(OPTS) -static
-NOOPT    = -64 -mips4 -r10000
-#NOOPT    = -64 -mips4 -r10000 -mp
 LOADER   = f77
 LOADOPTS = -O3 -64 -mips4 -r10000
 #LOADOPTS = -O3 -64 -mips4 -r10000 -mp
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O3
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-BLASLIB     = -lblas
-#BLASLIB     = -lblas_mp
+BLASLIB      = -lblas
+#BLASLIB      = -lblas_mp
 #BLASLIB      = ../../librefblas.a
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
index de55f15..c7019ac 100644 (file)
@@ -1,75 +1,80 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /sbin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O4
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = -O4
+DRVOPTS = $(OPTS) -static
+NOOPT   =
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = -O4
-DRVOPTS  = $(OPTS) -static
-NOOPT    =
 LOADER   = f77
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O4
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-#BLASLIB     = -lblas
+#BLASLIB      = -lblas
 BLASLIB      = ../../librefblas.a
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
index d9c68c4..4e44f1b 100644 (file)
@@ -1,75 +1,80 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+OPTS    = -dalign -O4 -fast
+DRVOPTS = $(OPTS)
+NOOPT   =
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-OPTS     = -dalign -O4 -fast
-DRVOPTS  = $(OPTS)
-NOOPT    =
 LOADER   = f77
 LOADOPTS = -dalign -O4 -fast
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O3
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-#BLASLIB     = -lblas
+#BLASLIB      = -lblas
 BLASLIB      = ../../librefblas.a
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
index d3c7843..e6d79ad 100644 (file)
@@ -1,81 +1,86 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = cc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = f77
+#OPTS    = -O4 -u -f -mt
+#OPTS    = -u -f -dalign -native -xO5 -xarch=v8plusa
+OPTS    = -u -f -dalign -native -xO2 -xarch=v8plusa
+DRVOPTS = $(OPTS)
+NOOPT   = -u -f
+#NOOPT   = -u -f -mt
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = f77
-#OPTS     = -O4 -u -f -mt
-#OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa
-OPTS     = -u -f -dalign -native -xO2 -xarch=v8plusa
-DRVOPTS  = $(OPTS)
-NOOPT    = -u -f
-#NOOPT    = -u -f -mt
 LOADER   = f77
 #LOADOPTS = -mt
 LOADOPTS = -f -dalign -native -xO2 -xarch=v8plusa
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = cc
-CFLAGS = -O3
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
 #BLASLIB      = ../../librefblas.a
-#BLASLIB     = -xlic_lib=sunperf_mt
-BLASLIB     = -xlic_lib=sunperf
+#BLASLIB      = -xlic_lib=sunperf_mt
+BLASLIB      = -xlic_lib=sunperf
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
 TMGLIB       = libtmglib.a
index d7fa4b7..9466ee3 100644 (file)
@@ -1,77 +1,82 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+CC     = xlc
+CFLAGS = -O3 -qnosave
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-FORTRAN  = xlf
-OPTS     = -O3 -qfixed -qnosave
+FORTRAN = xlf
+OPTS    = -O3 -qfixed -qnosave
 # For -O2, add -qstrict=none
-DRVOPTS  = $(OPTS)
-NOOPT    = -O0 -qfixed -qnosave
+DRVOPTS = $(OPTS)
+NOOPT   = -O0 -qfixed -qnosave
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
+#
 LOADER   = xlf
 LOADOPTS = -qnosave
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-#TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+#TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = xlc
-CFLAGS = -O3 -qnosave
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
 #BLASLIB      = ../../librefblas.a
-BLASLIB     = -lessl
+BLASLIB      = -lessl
 CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
 TMGLIB       = libtmglib.a
index ccd0994..77de24a 100644 (file)
@@ -1,74 +1,79 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+CC     = gcc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
 #  Note: During a regular execution, LAPACK might create NaN and Inf
 #  and handle these quantities appropriately. As a consequence, one
 #  should not compile LAPACK with flags such as -ffpe-trap=overflow.
 #
-FORTRAN  = gfortran
-OPTS     = -O2 -frecursive
-DRVOPTS  = $(OPTS)
-NOOPT    = -O0 -frecursive
+FORTRAN = gfortran
+OPTS    = -O2 -frecursive
+DRVOPTS = $(OPTS)
+NOOPT   = -O0 -frecursive
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
+#
 LOADER   = gfortran
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
+#
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
+#
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+#TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
+#
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-#TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
-#
-# CC is the C compiler, normally invoked with options CFLAGS.
-#
-CC = gcc
-CFLAGS = -O3
-#
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
index f87b949..b339d2b 100644 (file)
@@ -1,74 +1,79 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader
-#  and desired load options for your machine.
+CC     = gcc
+CFLAGS = -g
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
 #  Note: During a regular execution, LAPACK might create NaN and Inf
 #  and handle these quantities appropriately. As a consequence, one
 #  should not compile LAPACK with flags such as -ffpe-trap=overflow.
 #
-FORTRAN  = gfortran -fimplicit-none -g -frecursive
-OPTS     =
-DRVOPTS  = $(OPTS)
-NOOPT    = -g -O0 -frecursive
+FORTRAN = gfortran -fimplicit-none -g -frecursive
+OPTS    =
+DRVOPTS = $(OPTS)
+NOOPT   = -g -O0 -frecursive
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
+#
 LOADER   = gfortran -g
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
+#
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
+#
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+#TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
+#
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-# TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME
-TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
-#
-# CC is the C compiler, normally invoked with options CFLAGS.
-#
-CC = gcc
-CFLAGS = -g
-#
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
index b26e960..b067bd4 100644 (file)
@@ -1,70 +1,75 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  June 2016                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = icc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader
-#  and desired load options for your machine.
+FORTRAN = ifort
+OPTS    = -O3 -fp-model strict -assume protect_parens
+DRVOPTS = $(OPTS)
+NOOPT   = -O0 -fp-model strict -assume protect_parens
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = ifort
-OPTS     = -O3 -fp-model strict -assume protect_parens
-DRVOPTS  = $(OPTS)
-NOOPT    = -O0 -fp-model strict -assume protect_parens
 LOADER   = ifort
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = icc
-CFLAGS = -O3
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
index 595b64c..a9a5cec 100644 (file)
@@ -1,70 +1,75 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = pgcc
+CFLAGS =
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = pgf95
+OPTS    = -O3
+DRVOPTS = $(OPTS)
+NOOPT   = -O0
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = pgf95
-OPTS     = -O3
-DRVOPTS  = $(OPTS)
-NOOPT    = -O0
 LOADER   = $(FORTRAN)
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-# TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
- TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+#TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = pgcc
-CFLAGS =
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
index 8639530..1d9bf54 100644 (file)
@@ -1,77 +1,82 @@
 ####################################################################
 #  LAPACK make include file.                                       #
-#  LAPACK, Version 3.6.0                                           #
-#  November 2015                                                   #
+#  LAPACK, Version 3.7.0                                           #
+#  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
+#
+CC     = pghpc
+CFLAGS =
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+FORTRAN = pghpf
+OPTS    = -O4 -Mnohpfc -Mdclchk
+DRVOPTS = $(OPTS)
+NOOPT   = -Mnohpfc -Mdclchk
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
 #
-FORTRAN  = pghpf
-OPTS     = -O4 -Mnohpfc -Mdclchk
-DRVOPTS  = $(OPTS)
-NOOPT    = -Mnohpfc -Mdclchk
 LOADER   = pghpf
 LOADOPTS =
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = echo
+
+#  Timer for the SECOND and DSECND routines
 #
-# CC is the C compiler, normally invoked with options CFLAGS.
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+#TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
-CC = pghpc
-CFLAGS =
+#BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# LAPACKE has also the interface to some routines from tmglib,
-# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
 #LAPACKE_WITH_TMG = Yes
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = echo
-#
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-#BLASLIB     = -lessl
+#BLASLIB      = -lessl
 BLASLIB      = ../../librefblas.a
-CBLASLIB      = ../../libcblas.a
+CBLASLIB     = ../../libcblas.a
 LAPACKLIB    = liblapack.a
 TMGLIB       = libtmglib.a
 LAPACKELIB   = liblapacke.a
index 7f66018..77de24a 100644 (file)
@@ -3,73 +3,77 @@
 #  LAPACK, Version 3.7.0                                           #
 #  December 2016                                                   #
 ####################################################################
-#
+
 SHELL = /bin/sh
+
+#  CC is the C compiler, normally invoked with options CFLAGS.
 #
-#  Modify the FORTRAN and OPTS definitions to refer to the
-#  compiler and desired compiler options for your machine.  NOOPT
-#  refers to the compiler options desired when NO OPTIMIZATION is
-#  selected.  Define LOADER and LOADOPTS to refer to the loader and
-#  desired load options for your machine.
+CC     = gcc
+CFLAGS = -O3
+
+#  Modify the FORTRAN and OPTS definitions to refer to the compiler
+#  and desired compiler options for your machine.  NOOPT refers to
+#  the compiler options desired when NO OPTIMIZATION is selected.
 #
 #  Note: During a regular execution, LAPACK might create NaN and Inf
 #  and handle these quantities appropriately. As a consequence, one
 #  should not compile LAPACK with flags such as -ffpe-trap=overflow.
 #
-FORTRAN  = gfortran
-OPTS     = -O2 -frecursive
-DRVOPTS  = $(OPTS)
-NOOPT    = -O0 -frecursive
+FORTRAN = gfortran
+OPTS    = -O2 -frecursive
+DRVOPTS = $(OPTS)
+NOOPT   = -O0 -frecursive
+
+#  Define LOADER and LOADOPTS to refer to the loader and desired
+#  load options for your machine.
+#
 LOADER   = gfortran
 LOADOPTS =
-#
-#  Comment out the following line to include deprecated routines to the
-#  LAPACK library.
+
+#  The archiver and the flag(s) to use when building an archive
+#  (library).  If your system has no ranlib, set RANLIB = echo.
+#
+ARCH      = ar
+ARCHFLAGS = cr
+RANLIB    = ranlib
+
+#  Timer for the SECOND and DSECND routines
+#
+#  Default:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME
+#TIMER = EXT_ETIME
+#  For RS6K:  SECOND and DSECND will use a call to the
+#  EXTERNAL FUNCTION ETIME_
+#TIMER = EXT_ETIME_
+#  For gfortran compiler:  SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION ETIME
+TIMER = INT_ETIME
+#  If your Fortran compiler does not provide etime (like Nag Fortran
+#  Compiler, etc...) SECOND and DSECND will use a call to the
+#  INTERNAL FUNCTION CPU_TIME
+#TIMER = INT_CPU_TIME
+#  If none of these work, you can use the NONE value.
+#  In that case, SECOND and DSECND will always return 0.
+#TIMER = NONE
+
+#  Uncomment the following line to include deprecated routines in
+#  the LAPACK library.
 #
 #BUILD_DEPRECATED = Yes
+
+#  LAPACKE has the interface to some routines from tmglib.
+#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
 #
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-# TIMER    = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER    = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-TIMER    = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
-# TIMER    = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-# TIMER     = NONE
-#
-#  Configuration LAPACKE: Native C interface to LAPACK
-#  To generate LAPACKE library: type 'make lapackelib'
-#  Configuration file: turned off (default)
-#  Complex types: C99 (default)
-#  Name pattern: mixed case (default)
-#  (64-bit) Data model: LP64 (default)
-#
-# CC is the C compiler, normally invoked with options CFLAGS.
-#
-CC = gcc
-CFLAGS = -O3
-#
-#  The archiver and the flag(s) to use when building archive (library)
-#  If you system has no ranlib, set RANLIB = echo.
-#
-ARCH     = ar
-ARCHFLAGS= cr
-RANLIB   = ranlib
-#
+#LAPACKE_WITH_TMG = Yes
+
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
-#  relevant routines will be compiled and XBLAS will be linked only if
-#  USEXBLAS is defined.
-#
-# USEXBLAS    = Yes
-XBLASLIB     =
-# XBLASLIB    = -lxblas
+#  relevant routines will be compiled and XBLAS will be linked only
+#  if USEXBLAS is defined.
 #
+#USEXBLAS = Yes
+#XBLASLIB = -lxblas
+
 #  The location of the libraries to which you will link.  (The
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)