[WIP] Update LAPACK to 3.9.0 (#2353)
* Update make.inc entries for LAPACK 3.9.0 Reference-LAPACK PR 347 changed some variable names and relative paths * Update LAPACK to 3.9.0 * Add new functions from LAPACK 3.9.0 * Add new functions from LAPACK 3.9.0 * Restore LOADER command as it makes it easier to specify pthread as needed * Restore LOADER * Restore EIG/LIN prefixes in cmdbase * add binary path to lapack_testing.py call * Restore OpenMP version check * Restore OpenMP version check * Restore fix for out-of-bounds array accesses from #2096
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user