merging: Various cleanups to makefiles #84
Contribution by @turboencabulator Closing #84
This commit is contained in:
+1
-1
@@ -168,4 +168,4 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
+5
-12
@@ -29,11 +29,8 @@ include ../../make.inc
|
||||
#######################################################################
|
||||
|
||||
SBLAT1 = sblat1.o
|
||||
|
||||
CBLAT1 = cblat1.o
|
||||
|
||||
DBLAT1 = dblat1.o
|
||||
|
||||
ZBLAT1 = zblat1.o
|
||||
|
||||
all: single double complex complex16
|
||||
@@ -44,20 +41,16 @@ complex: ../xblat1c
|
||||
complex16: ../xblat1z
|
||||
|
||||
../xblat1s: $(SBLAT1)
|
||||
$(LOADER) $(LOADOPTS) $(SBLAT1) \
|
||||
$(BLASLIB) -o ../xblat1s
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(SBLAT1) $(BLASLIB)
|
||||
|
||||
../xblat1c: $(CBLAT1)
|
||||
$(LOADER) $(LOADOPTS) $(CBLAT1) \
|
||||
$(BLASLIB) -o ../xblat1c
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(CBLAT1) $(BLASLIB)
|
||||
|
||||
../xblat1d: $(DBLAT1)
|
||||
$(LOADER) $(LOADOPTS) $(DBLAT1) \
|
||||
$(BLASLIB) -o ../xblat1d
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(DBLAT1) $(BLASLIB)
|
||||
|
||||
../xblat1z: $(ZBLAT1)
|
||||
$(LOADER) $(LOADOPTS) $(ZBLAT1) \
|
||||
$(BLASLIB) -o ../xblat1z
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ZBLAT1) $(BLASLIB)
|
||||
|
||||
$(SBLAT1): $(FRC)
|
||||
$(CBLAT1): $(FRC)
|
||||
@@ -71,4 +64,4 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
+5
-12
@@ -29,11 +29,8 @@ include ../../make.inc
|
||||
#######################################################################
|
||||
|
||||
SBLAT2 = sblat2.o
|
||||
|
||||
CBLAT2 = cblat2.o
|
||||
|
||||
DBLAT2 = dblat2.o
|
||||
|
||||
ZBLAT2 = zblat2.o
|
||||
|
||||
all: single double complex complex16
|
||||
@@ -44,20 +41,16 @@ complex: ../xblat2c
|
||||
complex16: ../xblat2z
|
||||
|
||||
../xblat2s: $(SBLAT2)
|
||||
$(LOADER) $(LOADOPTS) $(SBLAT2) \
|
||||
$(BLASLIB) -o ../xblat2s
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(SBLAT2) $(BLASLIB)
|
||||
|
||||
../xblat2c: $(CBLAT2)
|
||||
$(LOADER) $(LOADOPTS) $(CBLAT2) \
|
||||
$(BLASLIB) -o ../xblat2c
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(CBLAT2) $(BLASLIB)
|
||||
|
||||
../xblat2d: $(DBLAT2)
|
||||
$(LOADER) $(LOADOPTS) $(DBLAT2) \
|
||||
$(BLASLIB) -o ../xblat2d
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(DBLAT2) $(BLASLIB)
|
||||
|
||||
../xblat2z: $(ZBLAT2)
|
||||
$(LOADER) $(LOADOPTS) $(ZBLAT2) \
|
||||
$(BLASLIB) -o ../xblat2z
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ZBLAT2) $(BLASLIB)
|
||||
|
||||
$(SBLAT2): $(FRC)
|
||||
$(CBLAT2): $(FRC)
|
||||
@@ -71,4 +64,4 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
+5
-12
@@ -29,11 +29,8 @@ include ../../make.inc
|
||||
#######################################################################
|
||||
|
||||
SBLAT3 = sblat3.o
|
||||
|
||||
CBLAT3 = cblat3.o
|
||||
|
||||
DBLAT3 = dblat3.o
|
||||
|
||||
ZBLAT3 = zblat3.o
|
||||
|
||||
all: single double complex complex16
|
||||
@@ -44,20 +41,16 @@ complex: ../xblat3c
|
||||
complex16: ../xblat3z
|
||||
|
||||
../xblat3s: $(SBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(SBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3s
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(SBLAT3) $(BLASLIB)
|
||||
|
||||
../xblat3c: $(CBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(CBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3c
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(CBLAT3) $(BLASLIB)
|
||||
|
||||
../xblat3d: $(DBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(DBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3d
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(DBLAT3) $(BLASLIB)
|
||||
|
||||
../xblat3z: $(ZBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(ZBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3z
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ZBLAT3) $(BLASLIB)
|
||||
|
||||
$(SBLAT3): $(FRC)
|
||||
$(CBLAT3): $(FRC)
|
||||
@@ -71,4 +64,4 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
@@ -83,4 +83,3 @@ install(FILES
|
||||
|
||||
#install(EXPORT cblas-targets
|
||||
# DESTINATION ${LIBRARY_DIR}/cmake/cblas-${LAPACK_VERSION})
|
||||
|
||||
|
||||
+1
-1
@@ -24,4 +24,4 @@ runtst:
|
||||
cd testing && $(MAKE) run
|
||||
|
||||
example: all
|
||||
cd examples && make all
|
||||
cd examples && $(MAKE) all
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
#
|
||||
# Makefile.LINUX
|
||||
#
|
||||
#
|
||||
# If you compile, change the name to Makefile.in.
|
||||
#
|
||||
#
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Shell
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Platform
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
PLAT = LINUX
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Libraries and includes
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
BLLIB = $(home)/lib/librefblas.a
|
||||
CBLIB = ../lib/libcblas.a
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Compilers
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
CC = gcc
|
||||
FC = gfortran
|
||||
LOADER = $(FC)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Flags for Compilers
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
CFLAGS = -O3 -DADD_
|
||||
FFLAGS = -O3
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Archive programs and flags
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
ARCH = ar
|
||||
ARCHFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
@@ -3,12 +3,12 @@ include ../../make.inc
|
||||
all: example1 example2
|
||||
|
||||
example1:
|
||||
$(CC) -c $(CFLAGS) -I../include cblas_example1.c
|
||||
$(LOADER) -o cblas_ex1 cblas_example1.o $(CBLASLIB) $(BLASLIB)
|
||||
$(CC) $(CFLAGS) -I../include -c cblas_example1.c
|
||||
$(LOADER) $(LOADOPTS) -o cblas_ex1 cblas_example1.o $(CBLASLIB) $(BLASLIB)
|
||||
|
||||
example2:
|
||||
$(CC) -c $(CFLAGS) -I../include cblas_example2.c
|
||||
$(LOADER) -o cblas_ex2 cblas_example2.o $(CBLASLIB) $(BLASLIB)
|
||||
$(CC) $(CFLAGS) -I../include -c cblas_example2.c
|
||||
$(LOADER) $(LOADOPTS) -o cblas_ex2 cblas_example2.o $(CBLASLIB) $(BLASLIB)
|
||||
|
||||
cleanall:
|
||||
rm -f *.o cblas_ex1 cblas_ex2
|
||||
|
||||
@@ -20,6 +20,7 @@ set (SLEV1 cblas_srotg.c cblas_srotmg.c cblas_srot.c cblas_srotm.c
|
||||
cblas_sdot.c cblas_sdsdot.c cblas_snrm2.c cblas_sasum.c
|
||||
cblas_isamax.c sdotsub.f sdsdotsub.f snrm2sub.f sasumsub.f
|
||||
isamaxsub.f)
|
||||
|
||||
#
|
||||
# All object files for double real precision
|
||||
#
|
||||
@@ -44,19 +45,16 @@ set (ZLEV1 cblas_zswap.c cblas_zscal.c cblas_zdscal.c cblas_zcopy.c
|
||||
cblas_dzasum.c cblas_izamax.c zdotcsub.f zdotusub.f
|
||||
dzasumsub.f dznrm2sub.f izamaxsub.f)
|
||||
|
||||
|
||||
#
|
||||
# Common files for single complex precision
|
||||
#
|
||||
set(SCLEV1 cblas_scasum.c scasumsub.f cblas_scnrm2.c scnrm2sub.f)
|
||||
|
||||
|
||||
#
|
||||
# All object files
|
||||
#
|
||||
set(ALEV1 ${slev1} ${dlev1} ${clev1} ${zlev1} ${sclev1})
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
# CBLAS routines
|
||||
@@ -73,7 +71,6 @@ set (SLEV2 cblas_sgemv.c cblas_sgbmv.c cblas_sger.c cblas_ssbmv.c cblas_sspmv.c
|
||||
cblas_stbmv.c cblas_stbsv.c cblas_stpmv.c cblas_stpsv.c cblas_strmv.c
|
||||
cblas_strsv.c)
|
||||
|
||||
|
||||
#
|
||||
# All object files for double real precision
|
||||
#
|
||||
@@ -97,6 +94,7 @@ set (ZLEV2 cblas_zgemv.c cblas_zgbmv.c cblas_zhemv.c cblas_zhbmv.c cblas_zhpmv.c
|
||||
cblas_ztrmv.c cblas_ztbmv.c cblas_ztpmv.c cblas_ztrsv.c cblas_ztbsv.c
|
||||
cblas_ztpsv.c cblas_zgeru.c cblas_zgerc.c cblas_zher.c cblas_zher2.c
|
||||
cblas_zhpr.c cblas_zhpr2.c)
|
||||
|
||||
#
|
||||
# All object files
|
||||
#
|
||||
@@ -115,23 +113,27 @@ set (AVEL2 ${slev2} ${dlev2} ${clev2} ${zlev2})
|
||||
#
|
||||
set(SLEV3 cblas_sgemm.c cblas_ssymm.c cblas_ssyrk.c cblas_ssyr2k.c cblas_strmm.c
|
||||
cblas_strsm.c)
|
||||
|
||||
#
|
||||
# All object files for double real precision
|
||||
#
|
||||
set(DLEV3 cblas_dgemm.c cblas_dsymm.c cblas_dsyrk.c cblas_dsyr2k.c cblas_dtrmm.c
|
||||
cblas_dtrsm.c)
|
||||
|
||||
#
|
||||
# All object files for single complex precision
|
||||
#
|
||||
set(CLEV3 cblas_cgemm.c cblas_csymm.c cblas_chemm.c cblas_cherk.c
|
||||
cblas_cher2k.c cblas_ctrmm.c cblas_ctrsm.c cblas_csyrk.c
|
||||
cblas_csyr2k.c)
|
||||
|
||||
#
|
||||
# All object files for double complex precision
|
||||
#
|
||||
set(ZLEV3 cblas_zgemm.c cblas_zsymm.c cblas_zhemm.c cblas_zherk.c
|
||||
cblas_zher2k.c cblas_ztrmm.c cblas_ztrsm.c cblas_zsyrk.c
|
||||
cblas_zsyr2k.c)
|
||||
|
||||
#
|
||||
# All object files
|
||||
#
|
||||
|
||||
+8
-3
@@ -16,6 +16,7 @@ errhand = cblas_globals.o cblas_xerbla.o xerbla.o
|
||||
|
||||
# Object files of all routines
|
||||
alev = $(alev1) $(alev2) $(alev3) $(errhand)
|
||||
|
||||
#
|
||||
#
|
||||
# CBLAS routines
|
||||
@@ -32,6 +33,7 @@ slev1 = cblas_srotg.o cblas_srotmg.o cblas_srot.o cblas_srotm.o \
|
||||
cblas_sdot.o cblas_sdsdot.o cblas_snrm2.o cblas_sasum.o \
|
||||
cblas_isamax.o sdotsub.o sdsdotsub.o snrm2sub.o sasumsub.o \
|
||||
isamaxsub.o
|
||||
|
||||
#
|
||||
# All object files for double real precision
|
||||
#
|
||||
@@ -66,7 +68,6 @@ sclev1 = cblas_scasum.o scasumsub.o cblas_scnrm2.o scnrm2sub.o
|
||||
#
|
||||
alev1 = $(slev1) $(dlev1) $(clev1) $(zlev1) $(sclev1)
|
||||
|
||||
|
||||
#
|
||||
# Make an archive file
|
||||
#
|
||||
@@ -135,6 +136,7 @@ zlev2 = cblas_zgemv.o cblas_zgbmv.o cblas_zhemv.o cblas_zhbmv.o cblas_zhpmv.o \
|
||||
cblas_ztrmv.o cblas_ztbmv.o cblas_ztpmv.o cblas_ztrsv.o cblas_ztbsv.o \
|
||||
cblas_ztpsv.o cblas_zgeru.o cblas_zgerc.o cblas_zher.o cblas_zher2.o \
|
||||
cblas_zhpr.o cblas_zhpr2.o
|
||||
|
||||
#
|
||||
# All object files
|
||||
#
|
||||
@@ -168,6 +170,7 @@ zlib2: $(zlev2) $(errhand)
|
||||
all2: $(alev2) $(errhand)
|
||||
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $(alev2) $(errhand)
|
||||
$(RANLIB) $(CBLASLIB)
|
||||
|
||||
#
|
||||
#
|
||||
# CBLAS routines
|
||||
@@ -194,12 +197,14 @@ dlev3 = cblas_dgemm.o cblas_dsymm.o cblas_dsyrk.o cblas_dsyr2k.o cblas_dtrmm.o\
|
||||
clev3 = cblas_cgemm.o cblas_csymm.o cblas_chemm.o cblas_cherk.o \
|
||||
cblas_cher2k.o cblas_ctrmm.o cblas_ctrsm.o cblas_csyrk.o \
|
||||
cblas_csyr2k.o
|
||||
|
||||
#
|
||||
# All object files for double complex precision
|
||||
#
|
||||
zlev3 = cblas_zgemm.o cblas_zsymm.o cblas_zhemm.o cblas_zherk.o \
|
||||
cblas_zher2k.o cblas_ztrmm.o cblas_ztrsm.o cblas_zsyrk.o \
|
||||
cblas_zsyr2k.o
|
||||
|
||||
#
|
||||
# All object files
|
||||
#
|
||||
@@ -243,7 +248,7 @@ FRC:
|
||||
@FRC=$(FRC)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -I ../include -o $@ $<
|
||||
$(CC) $(CFLAGS) -I../include -c -o $@ $<
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
@@ -59,11 +59,9 @@ if(BUILD_SINGLE)
|
||||
add_cblas_test(stest1.out "" xscblat1)
|
||||
add_cblas_test(stest2.out sin2 xscblat2)
|
||||
add_cblas_test(stest3.out sin3 xscblat3)
|
||||
|
||||
endif()
|
||||
|
||||
if(BUILD_DOUBLE)
|
||||
|
||||
add_executable(xdcblat1 c_dblat1.f ${DTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xdcblat2 c_dblat2.f ${DTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xdcblat3 c_dblat3.f ${DTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
@@ -75,11 +73,9 @@ if(BUILD_DOUBLE)
|
||||
add_cblas_test(dtest1.out "" xdcblat1)
|
||||
add_cblas_test(dtest2.out din2 xdcblat2)
|
||||
add_cblas_test(dtest3.out din3 xdcblat3)
|
||||
|
||||
endif()
|
||||
|
||||
if(BUILD_COMPLEX)
|
||||
|
||||
add_executable(xccblat1 c_cblat1.f ${CTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xccblat2 c_cblat2.f ${CTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xccblat3 c_cblat3.f ${CTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
@@ -91,11 +87,9 @@ if(BUILD_COMPLEX)
|
||||
add_cblas_test(ctest1.out "" xccblat1)
|
||||
add_cblas_test(ctest2.out cin2 xccblat2)
|
||||
add_cblas_test(ctest3.out cin3 xccblat3)
|
||||
|
||||
endif()
|
||||
|
||||
if(BUILD_COMPLEX16)
|
||||
|
||||
add_executable(xzcblat1 c_zblat1.f ${ZTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xzcblat2 c_zblat2.f ${ZTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
add_executable(xzcblat3 c_zblat3.f ${ZTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
|
||||
@@ -107,5 +101,4 @@ if(BUILD_COMPLEX16)
|
||||
add_cblas_test(ztest1.out "" xzcblat1)
|
||||
add_cblas_test(ztest2.out zin2 xzcblat2)
|
||||
add_cblas_test(ztest3.out zin3 xzcblat3)
|
||||
|
||||
endif()
|
||||
|
||||
+14
-22
@@ -9,30 +9,22 @@ LIB = $(CBLASLIB) $(BLASLIB)
|
||||
|
||||
# Object files for single real precision
|
||||
stestl1o = c_sblas1.o
|
||||
|
||||
stestl2o = c_sblas2.o c_s2chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
stestl3o = c_sblas3.o c_s3chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
# Object files for double real precision
|
||||
dtestl1o = c_dblas1.o
|
||||
|
||||
dtestl2o = c_dblas2.o c_d2chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
dtestl3o = c_dblas3.o c_d3chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
# Object files for single complex precision
|
||||
ctestl1o = c_cblas1.o
|
||||
|
||||
ctestl2o = c_cblas2.o c_c2chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
ctestl3o = c_cblas3.o c_c3chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
# Object files for double complex precision
|
||||
ztestl1o = c_zblas1.o
|
||||
|
||||
ztestl2o = c_zblas2.o c_z2chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
ztestl3o = c_zblas3.o c_z3chke.o auxiliary.o c_xerbla.o
|
||||
|
||||
all: all1 all2 all3
|
||||
@@ -68,34 +60,34 @@ ztest3: xzcblat3
|
||||
|
||||
# Single real
|
||||
xscblat1: $(stestl1o) c_sblat1.o
|
||||
$(LOADER) $(LOADOPTS) -o xscblat1 c_sblat1.o $(stestl1o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_sblat1.o $(stestl1o) $(LIB)
|
||||
xscblat2: $(stestl2o) c_sblat2.o
|
||||
$(LOADER) $(LOADOPTS) -o xscblat2 c_sblat2.o $(stestl2o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_sblat2.o $(stestl2o) $(LIB)
|
||||
xscblat3: $(stestl3o) c_sblat3.o
|
||||
$(LOADER) $(LOADOPTS) -o xscblat3 c_sblat3.o $(stestl3o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_sblat3.o $(stestl3o) $(LIB)
|
||||
# Double real
|
||||
xdcblat1: $(dtestl1o) c_dblat1.o
|
||||
$(LOADER) $(LOADOPTS) -o xdcblat1 c_dblat1.o $(dtestl1o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_dblat1.o $(dtestl1o) $(LIB)
|
||||
xdcblat2: $(dtestl2o) c_dblat2.o
|
||||
$(LOADER) $(LOADOPTS) -o xdcblat2 c_dblat2.o $(dtestl2o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_dblat2.o $(dtestl2o) $(LIB)
|
||||
xdcblat3: $(dtestl3o) c_dblat3.o
|
||||
$(LOADER) $(LOADOPTS) -o xdcblat3 c_dblat3.o $(dtestl3o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_dblat3.o $(dtestl3o) $(LIB)
|
||||
|
||||
# Single complex
|
||||
xccblat1: $(ctestl1o) c_cblat1.o
|
||||
$(LOADER) $(LOADOPTS) -o xccblat1 c_cblat1.o $(ctestl1o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_cblat1.o $(ctestl1o) $(LIB)
|
||||
xccblat2: $(ctestl2o) c_cblat2.o
|
||||
$(LOADER) $(LOADOPTS) -o xccblat2 c_cblat2.o $(ctestl2o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_cblat2.o $(ctestl2o) $(LIB)
|
||||
xccblat3: $(ctestl3o) c_cblat3.o
|
||||
$(LOADER) $(LOADOPTS) -o xccblat3 c_cblat3.o $(ctestl3o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_cblat3.o $(ctestl3o) $(LIB)
|
||||
|
||||
# Double complex
|
||||
xzcblat1: $(ztestl1o) c_zblat1.o
|
||||
$(LOADER) $(LOADOPTS) -o xzcblat1 c_zblat1.o $(ztestl1o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_zblat1.o $(ztestl1o) $(LIB)
|
||||
xzcblat2: $(ztestl2o) c_zblat2.o
|
||||
$(LOADER) $(LOADOPTS) -o xzcblat2 c_zblat2.o $(ztestl2o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_zblat2.o $(ztestl2o) $(LIB)
|
||||
xzcblat3: $(ztestl3o) c_zblat3.o
|
||||
$(LOADER) $(LOADOPTS) -o xzcblat3 c_zblat3.o $(ztestl3o) $(LIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ c_zblat3.o $(ztestl3o) $(LIB)
|
||||
|
||||
|
||||
# RUN TESTS
|
||||
@@ -128,7 +120,7 @@ run:
|
||||
.SUFFIXES: .o .f .c
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -I ../include -o $@ $<
|
||||
$(CC) $(CFLAGS) -I../include -c -o $@ $<
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
@@ -7,4 +7,3 @@ add_executable(secondtst_INT_ETIME second_INT_ETIME.f secondtst.f)
|
||||
add_executable(secondtst_INT_CPU_TIME second_INT_CPU_TIME.f secondtst.f)
|
||||
add_executable(testieee tstiee.f)
|
||||
add_executable(testversion ilaver.f LAPACK_version.f)
|
||||
|
||||
|
||||
+10
-10
@@ -4,32 +4,32 @@ include ../make.inc
|
||||
all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
|
||||
|
||||
testlsame: lsame.o lsametst.o
|
||||
$(LOADER) $(LOADOPTS) -o testlsame lsame.o lsametst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ lsame.o lsametst.o
|
||||
|
||||
testslamch: slamch.o lsame.o slamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o testslamch slamch.o lsame.o slamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ slamch.o lsame.o slamchtst.o
|
||||
|
||||
testdlamch: dlamch.o lsame.o dlamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o testdlamch dlamch.o lsame.o dlamchtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ dlamch.o lsame.o dlamchtst.o
|
||||
|
||||
testsecond: second_$(TIMER).o secondtst.o
|
||||
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
|
||||
$(LOADER) $(LOADOPTS) -o testsecond second_$(TIMER).o secondtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ second_$(TIMER).o secondtst.o
|
||||
|
||||
testdsecnd: dsecnd_$(TIMER).o dsecndtst.o
|
||||
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
|
||||
$(LOADER) $(LOADOPTS) -o testdsecnd dsecnd_$(TIMER).o dsecndtst.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ dsecnd_$(TIMER).o dsecndtst.o
|
||||
|
||||
testieee: tstiee.o
|
||||
$(LOADER) $(LOADOPTS) -o testieee tstiee.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ tstiee.o
|
||||
|
||||
testversion: ilaver.o LAPACK_version.o
|
||||
$(LOADER) $(LOADOPTS) -o testversion ilaver.o LAPACK_version.o
|
||||
$(LOADER) $(LOADOPTS) -o $@ ilaver.o LAPACK_version.o
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -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 ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
|
||||
@@ -61,4 +61,3 @@ cleanlib:
|
||||
cleanall: clean
|
||||
rm -f $(LAPACKE)
|
||||
cd example && $(MAKE) clean
|
||||
|
||||
|
||||
+10
-14
@@ -5,31 +5,27 @@ all: xexample_DGESV_rowmajor \
|
||||
xexample_DGELS_rowmajor \
|
||||
xexample_DGELS_colmajor
|
||||
|
||||
LIBRAIRIES= ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
LIBRARIES = ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
# Double Precision Examples
|
||||
xexample_DGESV_rowmajor: example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRAIRIES)
|
||||
$(LOADER) $(LOADOPTS) example_DGESV_rowmajor.o lapacke_example_aux.o \
|
||||
$(LIBRAIRIES) -o $@
|
||||
xexample_DGESV_rowmajor: example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
$(LOADER) $(LOADOPTS) -o $@ example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
./$@
|
||||
|
||||
xexample_DGESV_colmajor: example_DGESV_colmajor.o lapacke_example_aux.o $(LIBRAIRIES)
|
||||
$(LOADER) $(LOADOPTS) example_DGESV_colmajor.o lapacke_example_aux.o \
|
||||
$(LIBRAIRIES) -o $@
|
||||
xexample_DGESV_colmajor: example_DGESV_colmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
$(LOADER) $(LOADOPTS) -o $@ example_DGESV_colmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
./$@
|
||||
|
||||
xexample_DGELS_rowmajor: example_DGELS_rowmajor.o lapacke_example_aux.o $(LIBRAIRIES)
|
||||
$(LOADER) $(LOADOPTS) example_DGELS_rowmajor.o lapacke_example_aux.o \
|
||||
$(LIBRAIRIES) -o $@
|
||||
xexample_DGELS_rowmajor: example_DGELS_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
$(LOADER) $(LOADOPTS) -o $@ example_DGELS_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
./$@
|
||||
|
||||
xexample_DGELS_colmajor: example_DGELS_colmajor.o lapacke_example_aux.o $(LIBRAIRIES)
|
||||
$(LOADER) $(LOADOPTS) example_DGELS_colmajor.o lapacke_example_aux.o \
|
||||
$(LIBRAIRIES) -o $@
|
||||
xexample_DGELS_colmajor: example_DGELS_colmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
$(LOADER) $(LOADOPTS) -o $@ example_DGELS_colmajor.o lapacke_example_aux.o $(LIBRARIES)
|
||||
./$@
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -I. -I ../include -o $@ $<
|
||||
$(CC) $(CFLAGS) -I. -I../include -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o x*
|
||||
|
||||
@@ -2223,16 +2223,14 @@ ifdef BUILD_DEPRECATED
|
||||
DEPRECATED = $(DEPRECSRC)
|
||||
endif
|
||||
|
||||
OBJ_FILES := $(C_FILES:.o=.o)
|
||||
|
||||
all: ../../$(LAPACKELIB)
|
||||
|
||||
../../$(LAPACKELIB): $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
|
||||
$(ARCH) $(ARCHFLAGS) ../../$(LAPACKELIB) $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
|
||||
$(RANLIB) ../../$(LAPACKELIB)
|
||||
$(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
|
||||
$(RANLIB) $@
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -I ../include -o $@ $<
|
||||
$(CC) $(CFLAGS) -I../include -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
@@ -190,7 +190,7 @@ lib: $(OBJ)
|
||||
$(RANLIB) ../../$(LAPACKELIB)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -I ../include -o $@ $<
|
||||
$(CC) $(CFLAGS) -I../include -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
@@ -126,4 +126,3 @@ cleantesting:
|
||||
|
||||
cleanall: cleanlib cleanblas_testing cleancblas_testing cleantesting
|
||||
rm -f *.a TESTING/*.out INSTALL/test* BLAS/*.out
|
||||
|
||||
|
||||
+14
-8
@@ -2,11 +2,17 @@
|
||||
# This is the makefile to create a library for LAPACK.
|
||||
# The files are organized as follows:
|
||||
# ALLAUX -- Auxiliary routines called from all precisions
|
||||
# ALLXAUX -- Auxiliary routines called from all precisions but
|
||||
# only from routines using extra precision.
|
||||
# SCLAUX -- Auxiliary routines called from both REAL and COMPLEX
|
||||
# DZLAUX -- Auxiliary routines called from both DOUBLE PRECISION
|
||||
# and COMPLEX*16
|
||||
#
|
||||
# SCLAUX -- Auxiliary routines called from both REAL and COMPLEX.
|
||||
# DZLAUX -- Auxiliary routines called from both DOUBLE and COMPLEX*16.
|
||||
#
|
||||
# DSLASRC -- Double-single mixed precision real routines called from
|
||||
# single, single-extra and double precision real LAPACK
|
||||
# routines (i.e. from SLASRC, SXLASRC, DLASRC).
|
||||
# ZCLASRC -- Double-single mixed precision complex routines called from
|
||||
# single, single-extra and double precision complex LAPACK
|
||||
# routines (i.e. from CLASRC, CXLASRC, ZLASRC).
|
||||
#
|
||||
# SLASRC -- Single precision real LAPACK routines
|
||||
# SXLASRC -- Single precision real LAPACK routines using extra
|
||||
# precision.
|
||||
@@ -20,6 +26,8 @@
|
||||
# ZXLASRC -- Double precision complex LAPACK routines using extra
|
||||
# precision.
|
||||
#
|
||||
# DEPRECATED -- Deprecated routines in all precisions
|
||||
#
|
||||
# The library can be set up to include routines for any combination
|
||||
# of the four precisions. To create or add to the library, enter make
|
||||
# followed by one or more of the precisions desired. Some examples:
|
||||
@@ -51,8 +59,6 @@ set(ALLAUX ilaenv.f ieeeck.f lsamen.f iparmq.f iparam2stage.F
|
||||
../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla.f xerbla_array.f
|
||||
../INSTALL/slamch.f)
|
||||
|
||||
set(ALLXAUX )
|
||||
|
||||
set(SCLAUX
|
||||
sbdsdc.f
|
||||
sbdsqr.f sdisna.f slabad.f slacpy.f sladiv.f slae2.f slaebz.f
|
||||
@@ -465,7 +471,7 @@ set(ZXLASRC zgesvxx.f zgerfsx.f zla_gerfsx_extended.f zla_geamv.f
|
||||
|
||||
|
||||
if(USE_XBLAS)
|
||||
set(ALLXOBJ ${SXLASRC} ${DXLASRC} ${CXLASRC} ${ZXLASRC} ${ALLXAUX})
|
||||
set(ALLXOBJ ${SXLASRC} ${DXLASRC} ${CXLASRC} ${ZXLASRC})
|
||||
endif()
|
||||
|
||||
if(BUILD_DEPRECATED)
|
||||
|
||||
+11
-11
@@ -513,22 +513,22 @@ all: ../$(LAPACKLIB)
|
||||
|
||||
single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX)
|
||||
$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(DSLASRC) \
|
||||
$(SXLASRC) $(SCLAUX) $(ALLAUX) $(ALLXAUX)
|
||||
$(SXLASRC) $(SCLAUX) $(ALLAUX)
|
||||
$(RANLIB) ../$(LAPACKLIB)
|
||||
|
||||
complex: $(CLASRC) $(ZCLASRC) $(CXLASRC) $(SCLAUX) $(ALLAUX)
|
||||
$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ZCLASRC) \
|
||||
$(CXLASRC) $(SCLAUX) $(ALLAUX) $(ALLXAUX)
|
||||
$(CXLASRC) $(SCLAUX) $(ALLAUX)
|
||||
$(RANLIB) ../$(LAPACKLIB)
|
||||
|
||||
double: $(DLASRC) $(DSLASRC) $(DXLASRC) $(DZLAUX) $(ALLAUX)
|
||||
$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(DSLASRC) \
|
||||
$(DXLASRC) $(DZLAUX) $(ALLAUX) $(ALLXAUX)
|
||||
$(DXLASRC) $(DZLAUX) $(ALLAUX)
|
||||
$(RANLIB) ../$(LAPACKLIB)
|
||||
|
||||
complex16: $(ZLASRC) $(ZCLASRC) $(ZXLASRC) $(DZLAUX) $(ALLAUX)
|
||||
$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ZCLASRC) \
|
||||
$(ZXLASRC) $(DZLAUX) $(ALLAUX) $(ALLXAUX)
|
||||
$(ZXLASRC) $(DZLAUX) $(ALLAUX)
|
||||
$(RANLIB) ../$(LAPACKLIB)
|
||||
|
||||
$(ALLAUX): $(FRC)
|
||||
@@ -554,14 +554,14 @@ clean:
|
||||
rm -f *.o DEPRECATED/*.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
.F.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
|
||||
slaruv.o: slaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
dlaruv.o: dlaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
sla_wwaddw.o: sla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
dla_wwaddw.o: dla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
cla_wwaddw.o: cla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
zla_wwaddw.o: zla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
|
||||
slaruv.o: slaruv.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
dlaruv.o: dlaruv.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
sla_wwaddw.o: sla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
dla_wwaddw.o: dla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
cla_wwaddw.o: cla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
zla_wwaddw.o: zla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
|
||||
@@ -60,7 +60,7 @@ qrll: $(QRLL)
|
||||
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL) \
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+2
-162
@@ -30,64 +30,25 @@ add_lapack_test(stest_rfp.out stest_rfp.in xlintstrfs)
|
||||
#
|
||||
# ======== SINGLE EIG TESTS ===========================
|
||||
#
|
||||
|
||||
add_lapack_test(snep.out nep.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(ssep.out sep.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sse2.out se2.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(ssvd.out svd.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sec.out sec.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sed.out sed.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgg.out sgg.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgd.out sgd.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(ssb.out ssb.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(ssg.out ssg.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sbal.out sbal.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sbak.out sbak.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgbal.out sgbal.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgbak.out sgbak.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sbb.out sbb.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sglm.out glm.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgqr.out gqr.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(sgsv.out gsv.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(scsd.out csd.in xeigtsts)
|
||||
|
||||
|
||||
add_lapack_test(slse.out lse.in xeigtsts)
|
||||
endif()
|
||||
|
||||
@@ -100,64 +61,25 @@ add_lapack_test(dtest.out dtest.in xlintstd)
|
||||
add_lapack_test(dtest_rfp.out dtest_rfp.in xlintstrfd)
|
||||
#
|
||||
# ======== DOUBLE EIG TESTS ===========================
|
||||
|
||||
add_lapack_test(dnep.out nep.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dsep.out sep.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dse2.out se2.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dsvd.out svd.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dec.out dec.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(ded.out ded.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgg.out dgg.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgd.out dgd.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dsb.out dsb.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dsg.out dsg.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dbal.out dbal.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dbak.out dbak.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgbal.out dgbal.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgbak.out dgbak.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dbb.out dbb.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dglm.out glm.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgqr.out gqr.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dgsv.out gsv.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dcsd.out csd.in xeigtstd)
|
||||
|
||||
|
||||
add_lapack_test(dlse.out lse.in xeigtstd)
|
||||
endif()
|
||||
|
||||
@@ -168,64 +90,25 @@ add_lapack_test(ctest.out ctest.in xlintstc)
|
||||
add_lapack_test(ctest_rfp.out ctest_rfp.in xlintstrfc)
|
||||
#
|
||||
# ======== COMPLEX EIG TESTS ===========================
|
||||
|
||||
add_lapack_test(cnep.out nep.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(csep.out sep.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cse2.out se2.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(csvd.out svd.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cec.out cec.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(ced.out ced.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgg.out cgg.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgd.out cgd.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(csb.out csb.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(csg.out csg.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cbal.out cbal.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cbak.out cbak.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgbal.out cgbal.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgbak.out cgbak.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cbb.out cbb.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cglm.out glm.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgqr.out gqr.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(cgsv.out gsv.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(ccsd.out csd.in xeigtstc)
|
||||
|
||||
|
||||
add_lapack_test(clse.out lse.in xeigtstc)
|
||||
endif()
|
||||
|
||||
@@ -238,84 +121,41 @@ add_lapack_test(ztest.out ztest.in xlintstz)
|
||||
add_lapack_test(ztest_rfp.out ztest_rfp.in xlintstrfz)
|
||||
#
|
||||
# ======== COMPLEX16 EIG TESTS ===========================
|
||||
|
||||
add_lapack_test(znep.out nep.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zsep.out sep.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zse2.out se2.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zsvd.out svd.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zec.out zec.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zed.out zed.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgg.out zgg.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgd.out zgd.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zsb.out zsb.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zsg.out zsg.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zbal.out zbal.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zbak.out zbak.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgbal.out zgbal.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgbak.out zgbak.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zbb.out zbb.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zglm.out glm.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgqr.out gqr.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zgsv.out gsv.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zcsd.out csd.in xeigtstz)
|
||||
|
||||
|
||||
add_lapack_test(zlse.out lse.in xeigtstz)
|
||||
endif()
|
||||
|
||||
|
||||
if (BUILD_SIMPLE)
|
||||
if (BUILD_DOUBLE)
|
||||
if(BUILD_SINGLE AND BUILD_DOUBLE)
|
||||
#
|
||||
# ======== SINGLE-DOUBLE PROTO LIN TESTS ==============
|
||||
add_lapack_test(dstest.out dstest.in xlintstds)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
if (BUILD_COMPLEX)
|
||||
if (BUILD_COMPLEX16)
|
||||
if(BUILD_COMPLEX AND BUILD_COMPLEX16)
|
||||
#
|
||||
# ======== COMPLEX-COMPLEX16 LIN TESTS ========================
|
||||
add_lapack_test(zctest.out zctest.in xlintstzc)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# ==============================================================================
|
||||
# Only run this test if python 2.7 or greater is found
|
||||
|
||||
+18
-17
@@ -126,25 +126,25 @@ complex: ../xeigtstc
|
||||
double: ../xeigtstd
|
||||
complex16: ../xeigtstz
|
||||
|
||||
../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB); \
|
||||
$(LOADER) $(LOADOPTS) -o xeigtsts \
|
||||
../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ \
|
||||
$(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \
|
||||
../../$(LAPACKLIB) $(BLASLIB) && mv xeigtsts $@
|
||||
../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB); \
|
||||
$(LOADER) $(LOADOPTS) -o xeigtstc \
|
||||
../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ \
|
||||
$(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \
|
||||
../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstc $@
|
||||
../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB); \
|
||||
$(LOADER) $(LOADOPTS) -o xeigtstd \
|
||||
../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ \
|
||||
$(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \
|
||||
../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstd $@
|
||||
../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB); \
|
||||
$(LOADER) $(LOADOPTS) -o xeigtstz \
|
||||
../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ \
|
||||
$(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \
|
||||
../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstz $@
|
||||
../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
$(AEIGTST): $(FRC)
|
||||
$(SCIGTST): $(FRC)
|
||||
@@ -161,12 +161,13 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
schkee.o: schkee.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
dchkee.o: dchkee.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
cchkee.o: cchkee.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
zchkee.o: zchkee.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
|
||||
.f.o : ; $(FORTRAN) $(OPTS) -c $< -o $@
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
+35
-65
@@ -254,75 +254,45 @@ proto-double: ../xlintstds ../xlintstrfd
|
||||
proto-complex: ../xlintstrfc
|
||||
proto-complex16: ../xlintstzc ../xlintstrfz
|
||||
|
||||
xlintsts : $(ALINTST) $(SLINTST) $(SCLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(ALINTST) $(SCLNTST) $(SLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o $@
|
||||
../xlintsts: $(ALINTST) $(SLINTST) $(SCLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(SCLNTST) $(SLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB)
|
||||
|
||||
xlintstc : $(ALINTST) $(CLINTST) $(SCLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(ALINTST) $(SCLNTST) $(CLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o $@
|
||||
../xlintstc: $(ALINTST) $(CLINTST) $(SCLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(SCLNTST) $(CLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB)
|
||||
|
||||
xlintstd : $(ALINTST) $(DLINTST) $(DZLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $^ \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o $@
|
||||
../xlintstd: $(ALINTST) $(DLINTST) $(DZLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $^ \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB)
|
||||
|
||||
xlintstz : $(ALINTST) $(ZLINTST) $(DZLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(ALINTST) $(DZLNTST) $(ZLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o $@
|
||||
../xlintstz: $(ALINTST) $(ZLINTST) $(DZLNTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(DZLNTST) $(ZLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB)
|
||||
|
||||
xlintstds : $(DSLINTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(DSLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
../xlintstds: $(DSLINTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(DSLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
xlintstzc : $(ZCLINTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(ZCLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
../xlintstzc: $(ZCLINTST) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ZCLINTST) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
xlintstrfs : $(SLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(SLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
../xlintstrfs: $(SLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(SLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
xlintstrfd : $(DLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(DLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
../xlintstrfd: $(DLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(DLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
xlintstrfc : $(CLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(CLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
../xlintstrfc: $(CLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(CLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
xlintstrfz : $(ZLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) $(ZLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
|
||||
|
||||
../xlintsts: xlintsts
|
||||
mv xlintsts $@
|
||||
|
||||
../xlintstc: xlintstc
|
||||
mv xlintstc $@
|
||||
|
||||
../xlintstz: xlintstz
|
||||
mv xlintstz $@
|
||||
|
||||
../xlintstd: xlintstd
|
||||
mv xlintstd $@
|
||||
|
||||
../xlintstds: xlintstds
|
||||
mv xlintstds $@
|
||||
|
||||
../xlintstzc: xlintstzc
|
||||
mv xlintstzc $@
|
||||
|
||||
../xlintstrfs: xlintstrfs
|
||||
mv xlintstrfs $@
|
||||
|
||||
../xlintstrfc: xlintstrfc
|
||||
mv xlintstrfc $@
|
||||
|
||||
../xlintstrfd: xlintstrfd
|
||||
mv xlintstrfd $@
|
||||
|
||||
../xlintstrfz: xlintstrfz
|
||||
mv xlintstrfz $@
|
||||
../xlintstrfz: $(ZLINTSTRFP) ../../$(LAPACKLIB)
|
||||
$(LOADER) $(LOADOPTS) -o $@ $(ZLINTSTRFP) \
|
||||
../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)
|
||||
|
||||
$(ALINTST): $(FRC)
|
||||
$(SCLNTST): $(FRC)
|
||||
@@ -339,15 +309,15 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
schkaa.o: schkaa.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
dchkaa.o: dchkaa.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
cchkaa.o: cchkaa.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
zchkaa.o: zchkaa.f
|
||||
$(FORTRAN) $(DRVOPTS) -c $< -o $@
|
||||
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
@@ -92,7 +92,7 @@ clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
$(FORTRAN) $(OPTS) -c -o $@ $<
|
||||
|
||||
slaran.o: slaran.f ; $(FORTRAN) $(NOOPT) -c $<
|
||||
dlaran.o: dlaran.f ; $(FORTRAN) $(NOOPT) -c $<
|
||||
slaran.o: slaran.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
dlaran.o: dlaran.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
|
||||
|
||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user