summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL/make.inc.ALPHA16
-rw-r--r--INSTALL/make.inc.HPPA16
-rw-r--r--INSTALL/make.inc.IRIX6416
-rw-r--r--INSTALL/make.inc.O2K17
-rw-r--r--INSTALL/make.inc.RS6K16
-rw-r--r--INSTALL/make.inc.SGI516
-rw-r--r--INSTALL/make.inc.SUN416
-rw-r--r--INSTALL/make.inc.SUN4SOL216
-rw-r--r--INSTALL/make.inc.gfortran16
-rw-r--r--INSTALL/make.inc.gfortran_debug58
-rw-r--r--INSTALL/make.inc.ifort28
-rw-r--r--INSTALL/make.inc.pghpf16
-rw-r--r--Makefile21
-rw-r--r--make.inc.example48
14 files changed, 153 insertions, 163 deletions
diff --git a/INSTALL/make.inc.ALPHA b/INSTALL/make.inc.ALPHA
index 9a1a34e7..0d69d7c3 100644
--- a/INSTALL/make.inc.ALPHA
+++ b/INSTALL/make.inc.ALPHA
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _ALPHA
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-#BLASLIB = ../../blas$(PLAT).a
+#BLASLIB = ../../librefblas.a
BLASLIB = -ldxml
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.HPPA b/INSTALL/make.inc.HPPA
index b692a5d4..0aac30c3 100644
--- a/INSTALL/make.inc.HPPA
+++ b/INSTALL/make.inc.HPPA
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _HPPA
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-#BLASLIB = ../../blas$(PLAT).a
+#BLASLIB = ../../librefblas.a
BLASLIB = -lblas
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.IRIX64 b/INSTALL/make.inc.IRIX64
index 27d81385..69c95707 100644
--- a/INSTALL/make.inc.IRIX64
+++ b/INSTALL/make.inc.IRIX64
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /sbin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _IRIX64-64
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -60,9 +56,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
#BLASLIB = -lblas
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.O2K b/INSTALL/make.inc.O2K
index a7f9b863..ed2bd241 100644
--- a/INSTALL/make.inc.O2K
+++ b/INSTALL/make.inc.O2K
@@ -1,15 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /sbin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _IRIX64
-#PLAT = _IRIX64mp
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -63,8 +58,6 @@ XBLASLIB =
#
BLASLIB = -lblas
#BLASLIB = -lblas_mp
-#BLASLIB = ../../blas$(PLAT).a
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+#BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.RS6K b/INSTALL/make.inc.RS6K
index d4343520..05a4595f 100644
--- a/INSTALL/make.inc.RS6K
+++ b/INSTALL/make.inc.RS6K
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _RS6K
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-#BLASLIB = ../../blas$(PLAT).a
+#BLASLIB = ../../librefblas.a
BLASLIB = -lessl
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.SGI5 b/INSTALL/make.inc.SGI5
index d677ab57..44c99d51 100644
--- a/INSTALL/make.inc.SGI5
+++ b/INSTALL/make.inc.SGI5
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /sbin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _SGI5
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
#BLASLIB = -lblas
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.SUN4 b/INSTALL/make.inc.SUN4
index 004840cf..7844fd4c 100644
--- a/INSTALL/make.inc.SUN4
+++ b/INSTALL/make.inc.SUN4
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _SUN4
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
#BLASLIB = -lblas
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.SUN4SOL2 b/INSTALL/make.inc.SUN4SOL2
index 3dc9512e..09e671fd 100644
--- a/INSTALL/make.inc.SUN4SOL2
+++ b/INSTALL/make.inc.SUN4SOL2
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _SUN4SOL2
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -61,10 +57,8 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-#BLASLIB = ../../blas$(PLAT).a
+#BLASLIB = ../../librefblas.a
#BLASLIB = -xlic_lib=sunperf_mt
BLASLIB = -xlic_lib=sunperf
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.gfortran b/INSTALL/make.inc.gfortran
index 508e7dae..2672f8ea 100644
--- a/INSTALL/make.inc.gfortran
+++ b/INSTALL/make.inc.gfortran
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _LINUX
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,8 +53,6 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.gfortran_debug b/INSTALL/make.inc.gfortran_debug
new file mode 100644
index 00000000..459e06fe
--- /dev/null
+++ b/INSTALL/make.inc.gfortran_debug
@@ -0,0 +1,58 @@
+####################################################################
+# LAPACK make include file. #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
+####################################################################
+#
+SHELL = /bin/sh
+#
+# 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 = gfortran -fimplicit-none -g
+OPTS =
+DRVOPTS = $(OPTS)
+NOOPT = -g -O0
+LOADER = gfortran -g
+LOADOPTS =
+#
+# 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
+#
+# 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
+#
+# The location of the libraries to which you will link. (The
+# machine-specific, optimized BLAS library should be used whenever
+# possible.)
+#
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.ifort b/INSTALL/make.inc.ifort
index 64ce3f99..c07a9cfc 100644
--- a/INSTALL/make.inc.ifort
+++ b/INSTALL/make.inc.ifort
@@ -1,17 +1,10 @@
-# -*- Makefile -*-
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
-# See the INSTALL/ directory for more examples.
-#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _LINUX
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -47,12 +40,6 @@ ARCH = ar
ARCHFLAGS= cr
RANLIB = ranlib
#
-# The location of BLAS library for linking the testing programs.
-# The target's machine-specific, optimized BLAS library should be
-# used whenever possible.
-#
-BLASLIB = ../../blas$(PLAT).a
-#
# 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
@@ -62,9 +49,10 @@ BLASLIB = ../../blas$(PLAT).a
XBLASLIB =
# XBLASLIB = -lxblas
#
-# Names of generated libraries.
+# The location of the libraries to which you will link. (The
+# machine-specific, optimized BLAS library should be used whenever
+# possible.)
#
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/INSTALL/make.inc.pghpf b/INSTALL/make.inc.pghpf
index 64e3c083..9b23868e 100644
--- a/INSTALL/make.inc.pghpf
+++ b/INSTALL/make.inc.pghpf
@@ -1,14 +1,10 @@
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _pghpf_SUNMP
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -57,9 +53,7 @@ XBLASLIB =
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
#BLASLIB = -lessl
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a
diff --git a/Makefile b/Makefile
index acdd40fe..6a5a1806 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Top Level Makefile for LAPACK
-# Version 3.2.2
-# June 2010
+# Version 3.4.0
+# November 2011
#
include make.inc
@@ -63,6 +63,23 @@ blas_testing:
./xblat3d < dblat3.in ; \
./xblat3c < cblat3.in ; \
./xblat3z < zblat3.in )
+html:
+ @echo "LAPACK HTML PAGES GENRATION with Doxygen"
+ doxygen DOCS/Doxyfile
+ @echo "=================="
+ @echo "LAPACK HTML PAGES GENRATED in DOCS/explore-html"
+ @echo "Usage: open DOCS/explore-html/index.html"
+ @echo "Online version available at http://www.netlib.org/lapack/explore-html/"
+ @echo "=================="
+
+man:
+ @echo "LAPACK MAN PAGES GENRATION with Doxygen"
+ doxygen DOCS/Doxyfile_man
+ @echo "=================="
+ @echo "LAPACK MAN PAGES GENRATED in DOCS/MAN"
+ @echo "Set your MANPATH env variable accordingly"
+ @echo "Usage: man dgetrf.f"
+ @echo "=================="
cleanlib:
( cd INSTALL; $(MAKE) clean )
diff --git a/make.inc.example b/make.inc.example
index 0a84e9fd..2672f8ea 100644
--- a/make.inc.example
+++ b/make.inc.example
@@ -1,42 +1,35 @@
-# -*- Makefile -*-
####################################################################
# LAPACK make include file. #
-# LAPACK, Version 3.3.1 #
-# April 2011 #
+# LAPACK, Version 3.4.0 #
+# November 2011 #
####################################################################
#
-# See the INSTALL/ directory for more examples.
-#
SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-PLAT = _LINUX
#
# 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.
+# selected. Define LOADER and LOADOPTS to refer to the loader and
+# desired load options for your machine.
#
-FORTRAN = gfortran -fimplicit-none -g
-OPTS =
+FORTRAN = gfortran
+OPTS = -O2
DRVOPTS = $(OPTS)
-NOOPT = -g -O0
-LOADER = gfortran -g
+NOOPT = -O0
+LOADER = gfortran
LOADOPTS =
#
# Timer for the SECOND and DSECND routines
#
# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-# TIMER = EXT_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
+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
+# 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
#
@@ -47,12 +40,6 @@ ARCH = ar
ARCHFLAGS= cr
RANLIB = ranlib
#
-# The location of BLAS library for linking the testing programs.
-# The target's machine-specific, optimized BLAS library should be
-# used whenever possible.
-#
-BLASLIB = ../../blas$(PLAT).a
-#
# 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
@@ -62,9 +49,10 @@ BLASLIB = ../../blas$(PLAT).a
XBLASLIB =
# XBLASLIB = -lxblas
#
-# Names of generated libraries.
+# The location of the libraries to which you will link. (The
+# machine-specific, optimized BLAS library should be used whenever
+# possible.)
#
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
-EIGSRCLIB = eigsrc$(PLAT).a
-LINSRCLIB = linsrc$(PLAT).a
+BLASLIB = ../../librefblas.a
+LAPACKLIB = liblapack.a
+TMGLIB = libtmglib.a