Update LAPACK to 3.9.0
This commit is contained in:
parent
60135f3bd3
commit
6e02ec95b3
|
@ -1,30 +1,33 @@
|
|||
include ../make.inc
|
||||
TOPSRCDIR = ..
|
||||
include $(TOPSRCDIR)/make.inc
|
||||
|
||||
.PHONY: all testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
|
||||
all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
|
||||
|
||||
testlsame: lsame.o lsametst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testslamch: slamch.o lsame.o slamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testdlamch: dlamch.o lsame.o dlamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testsecond: second_$(TIMER).o secondtst.o
|
||||
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testdsecnd: dsecnd_$(TIMER).o dsecndtst.o
|
||||
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testieee: tstiee.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
testversion: ilaver.o LAPACK_version.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^
|
||||
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
.PHONY: run
|
||||
run: all
|
||||
./testlsame
|
||||
./testslamch
|
||||
|
@ -34,6 +37,7 @@ run: all
|
|||
./testieee
|
||||
./testversion
|
||||
|
||||
.PHONY: clean cleanobj cleanexe cleantest
|
||||
clean: cleanobj cleanexe cleantest
|
||||
cleanobj:
|
||||
rm -f *.o
|
||||
|
@ -42,9 +46,5 @@ cleanexe:
|
|||
cleantest:
|
||||
rm -f core
|
||||
|
||||
.SUFFIXES: .o .f
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
slamch.o: slamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
|
||||
dlamch.o: dlamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
*
|
||||
* DOUBLE PRECISION FUNCTION DLAMCH( CMACH )
|
||||
*
|
||||
* .. Scalar Arguments ..
|
||||
* CHARACTER CMACH
|
||||
* ..
|
||||
*
|
||||
*
|
||||
*> \par Purpose:
|
||||
* =============
|
||||
|
@ -24,6 +28,7 @@
|
|||
*
|
||||
*> \param[in] CMACH
|
||||
*> \verbatim
|
||||
*> CMACH is CHARACTER*1
|
||||
*> Specifies the value to be returned by DLAMCH:
|
||||
*> = 'E' or 'e', DLAMCH := eps
|
||||
*> = 'S' or 's , DLAMCH := sfmin
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
*
|
||||
* DOUBLE PRECISION FUNCTION DLAMCH( CMACH )
|
||||
*
|
||||
* .. Scalar Arguments ..
|
||||
* CHARACTER CMACH
|
||||
* ..
|
||||
*
|
||||
*
|
||||
*> \par Purpose:
|
||||
* =============
|
||||
|
|
|
@ -25,12 +25,15 @@
|
|||
* ==========
|
||||
*
|
||||
*> \param[out] VERS_MAJOR
|
||||
*> VERS_MAJOR is INTEGER
|
||||
*> return the lapack major version
|
||||
*>
|
||||
*> \param[out] VERS_MINOR
|
||||
*> VERS_MINOR is INTEGER
|
||||
*> return the lapack minor version from the major version
|
||||
*>
|
||||
*> \param[out] VERS_PATCH
|
||||
*> VERS_PATCH is INTEGER
|
||||
*> return the lapack patch version from the minor version
|
||||
*
|
||||
* Authors:
|
||||
|
@ -41,24 +44,23 @@
|
|||
*> \author Univ. of Colorado Denver
|
||||
*> \author NAG Ltd.
|
||||
*
|
||||
*> \date June 2017
|
||||
*> \date November 2019
|
||||
*
|
||||
*> \ingroup auxOTHERauxiliary
|
||||
*
|
||||
* =====================================================================
|
||||
SUBROUTINE ILAVER( VERS_MAJOR, VERS_MINOR, VERS_PATCH )
|
||||
*
|
||||
* -- LAPACK computational routine (version 3.7.1) --
|
||||
* -- LAPACK computational routine --
|
||||
* -- LAPACK is a software package provided by Univ. of Tennessee, --
|
||||
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
|
||||
* June 2017
|
||||
*
|
||||
* =====================================================================
|
||||
*
|
||||
INTEGER VERS_MAJOR, VERS_MINOR, VERS_PATCH
|
||||
* =====================================================================
|
||||
VERS_MAJOR = 3
|
||||
VERS_MINOR = 8
|
||||
VERS_MINOR = 9
|
||||
VERS_PATCH = 0
|
||||
* =====================================================================
|
||||
*
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O4
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = f77
|
||||
OPTS = -O4 -fpe1
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT =
|
||||
FC = f77
|
||||
FFLAGS = -O4 -fpe1
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT =
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -74,9 +72,9 @@ TIMER = EXT_ETIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
#BLASLIB = ../../librefblas.a
|
||||
#BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
BLASLIB = -ldxml
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS =
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = f77
|
||||
OPTS = +O4 +U77
|
||||
DRVOPTS = $(OPTS) -K
|
||||
NOOPT = +U77
|
||||
FC = f77
|
||||
FFLAGS = +O4 +U77
|
||||
FFLAGS_DRV = $(FFLAGS) -K
|
||||
FFLAGS_NOOPT = +U77
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS = -Aa +U77
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -74,9 +72,9 @@ TIMER = EXT_ETIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
#BLASLIB = ../../librefblas.a
|
||||
#BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
BLASLIB = -lblas
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,33 +8,30 @@ SHELL = /sbin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
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
|
||||
FC = f77
|
||||
FFLAGS = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
|
||||
#FFLAGS = -g -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
|
||||
FFLAGS_DRV = $(FFLAGS) -static
|
||||
FFLAGS_NOOPT = -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
|
||||
#FFLAGS_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.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON
|
||||
#LOADOPTS = -g -DEBUG:subscript_check=ON -trapuv -OPT:IEEE_NaN_inf=ON
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -78,8 +75,8 @@ TIMER = EXT_ETIME
|
|||
# possible.)
|
||||
#
|
||||
#BLASLIB = -lblas
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,33 +8,30 @@ SHELL = /sbin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
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
|
||||
FC = f77
|
||||
FFLAGS = -O3 -64 -mips4 -r10000
|
||||
#FFLAGS = -O3 -64 -mips4 -r10000 -mp
|
||||
FFLAGS_DRV = $(FFLAGS) -static
|
||||
FFLAGS_NOOPT = -64 -mips4 -r10000
|
||||
#FFLAGS_NOOPT = -64 -mips4 -r10000 -mp
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS = -O3 -64 -mips4 -r10000
|
||||
#LOADOPTS = -O3 -64 -mips4 -r10000 -mp
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -79,8 +76,8 @@ TIMER = EXT_ETIME
|
|||
#
|
||||
BLASLIB = -lblas
|
||||
#BLASLIB = -lblas_mp
|
||||
#BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
#BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /sbin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O4
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = f77
|
||||
OPTS = -O4
|
||||
DRVOPTS = $(OPTS) -static
|
||||
NOOPT =
|
||||
FC = f77
|
||||
FFLAGS = -O4
|
||||
FFLAGS_DRV = $(FFLAGS) -static
|
||||
FFLAGS_NOOPT =
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -75,8 +73,8 @@ TIMER = EXT_ETIME
|
|||
# possible.)
|
||||
#
|
||||
#BLASLIB = -lblas
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = f77
|
||||
OPTS = -dalign -O4 -fast
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT =
|
||||
FC = f77
|
||||
FFLAGS = -dalign -O4 -fast
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT =
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
LOADOPTS = -dalign -O4 -fast
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -75,8 +73,8 @@ TIMER = EXT_ETIME
|
|||
# possible.)
|
||||
#
|
||||
#BLASLIB = -lblas
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,34 +8,31 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = cc
|
||||
CC = cc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
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
|
||||
FC = f77
|
||||
#FFLAGS = -O4 -u -f -mt
|
||||
#FFLAGS = -u -f -dalign -native -xO5 -xarch=v8plusa
|
||||
FFLAGS = -u -f -dalign -native -xO2 -xarch=v8plusa
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -u -f
|
||||
#FFLAGS_NOOPT = -u -f -mt
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = f77
|
||||
#LOADOPTS = -mt
|
||||
LOADOPTS = -f -dalign -native -xO2 -xarch=v8plusa
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -78,10 +75,10 @@ TIMER = EXT_ETIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
#BLASLIB = ../../librefblas.a
|
||||
#BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
#BLASLIB = -xlic_lib=sunperf_mt
|
||||
BLASLIB = -xlic_lib=sunperf
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,31 +8,29 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = xlc
|
||||
CC = xlc
|
||||
CFLAGS = -O3 -qnosave
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired 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
|
||||
FC = xlf
|
||||
FFLAGS = -O3 -qfixed -qnosave
|
||||
# For -O2, add -qstrict=none
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT = -O0 -qfixed -qnosave
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -O0 -qfixed -qnosave
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = xlf
|
||||
LOADOPTS = -qnosave
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -75,9 +73,9 @@ TIMER = EXT_ETIME_
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
#BLASLIB = ../../librefblas.a
|
||||
#BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
BLASLIB = -lessl
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,10 +8,10 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = gcc
|
||||
CC = gcc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
|
@ -19,23 +19,21 @@ CFLAGS = -O3
|
|||
# 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
|
||||
FC = gfortran
|
||||
FFLAGS = -O2 -frecursive
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -O0 -frecursive
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = gfortran
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -78,8 +76,8 @@ TIMER = INT_ETIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,10 +8,10 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = gcc
|
||||
CC = gcc
|
||||
CFLAGS = -g
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
|
@ -19,23 +19,21 @@ CFLAGS = -g
|
|||
# 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
|
||||
FC = gfortran
|
||||
FFLAGS = -fimplicit-none -g -frecursive
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = $(FFLAGS) -O0
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = gfortran -g
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -78,8 +76,8 @@ TIMER = INT_CPU_TIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = icc
|
||||
CC = icc
|
||||
CFLAGS = -O3
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = ifort
|
||||
OPTS = -O3 -fp-model strict -assume protect_parens
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT = -O0 -fp-model strict -assume protect_parens
|
||||
FC = ifort
|
||||
FFLAGS = -O3 -fp-model strict -assume protect_parens
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -O0 -fp-model strict -assume protect_parens
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = ifort
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -74,8 +72,8 @@ TIMER = EXT_ETIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = pgcc
|
||||
CC = pgcc
|
||||
CFLAGS =
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = pgf95
|
||||
OPTS = -O3
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT = -O0
|
||||
FC = pgf95
|
||||
FFLAGS = -O3
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -O0
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = $(FORTRAN)
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -74,8 +72,8 @@ TIMER = INT_CPU_TIME
|
|||
# machine-specific, optimized BLAS library should be used whenever
|
||||
# possible.)
|
||||
#
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -8,30 +8,28 @@ SHELL = /bin/sh
|
|||
|
||||
# CC is the C compiler, normally invoked with options CFLAGS.
|
||||
#
|
||||
CC = pghpc
|
||||
CC = pghpc
|
||||
CFLAGS =
|
||||
|
||||
# Modify the FORTRAN and OPTS definitions to refer to the compiler
|
||||
# Modify the FC and FFLAGS definitions to the desired compiler
|
||||
# and desired compiler options for your machine. NOOPT refers to
|
||||
# the compiler options desired when NO OPTIMIZATION is selected.
|
||||
#
|
||||
FORTRAN = pghpf
|
||||
OPTS = -O4 -Mnohpfc -Mdclchk
|
||||
DRVOPTS = $(OPTS)
|
||||
NOOPT = -Mnohpfc -Mdclchk
|
||||
FC = pghpf
|
||||
FFLAGS = -O4 -Mnohpfc -Mdclchk
|
||||
FFLAGS_DRV = $(FFLAGS)
|
||||
FFLAGS_NOOPT = -Mnohpfc -Mdclchk
|
||||
|
||||
# Define LOADER and LOADOPTS to refer to the loader and desired
|
||||
# load options for your machine.
|
||||
# Define LDFLAGS to the desired linker options for your machine.
|
||||
#
|
||||
LOADER = pghpf
|
||||
LOADOPTS =
|
||||
LDFLAGS =
|
||||
|
||||
# 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 = echo
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = echo
|
||||
|
||||
# Timer for the SECOND and DSECND routines
|
||||
#
|
||||
|
@ -75,8 +73,8 @@ TIMER = EXT_ETIME
|
|||
# possible.)
|
||||
#
|
||||
#BLASLIB = -lessl
|
||||
BLASLIB = ../../librefblas.a
|
||||
CBLASLIB = ../../libcblas.a
|
||||
LAPACKLIB = liblapack.a
|
||||
TMGLIB = libtmglib.a
|
||||
LAPACKELIB = liblapacke.a
|
||||
BLASLIB = $(TOPSRCDIR)/librefblas.a
|
||||
CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
*
|
||||
*> \param[in] CMACH
|
||||
*> \verbatim
|
||||
*> CMACH is CHARACTER*1
|
||||
*> Specifies the value to be returned by SLAMCH:
|
||||
*> = 'E' or 'e', SLAMCH := eps
|
||||
*> = 'S' or 's , SLAMCH := sfmin
|
||||
|
|
Loading…
Reference in New Issue