Skip to content

Commit 0856911

Browse files
authored
Merge pull request #494 from weslleyspereira/try-xLASSQ-from-Edward-Anderson
Add safe scaling xLASSQ routines from https://doi.org/10.1145/3061665
2 parents 4e40cbe + 38aeb8b commit 0856911

File tree

12 files changed

+1052
-646
lines changed

12 files changed

+1052
-646
lines changed

SRC/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#######################################################################
3737

3838
set(ALLAUX ilaenv.f ilaenv2stage.f ieeeck.f lsamen.f iparmq.f iparam2stage.F
39-
ilaprec.f ilatrans.f ilauplo.f iladiag.f chla_transtype.f
39+
ilaprec.f ilatrans.f ilauplo.f iladiag.f chla_transtype.f la_xisnan.F90
4040
../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla.f xerbla_array.f
4141
../INSTALL/slamch.f)
4242

@@ -54,7 +54,7 @@ set(SCLAUX
5454
slasd0.f slasd1.f slasd2.f slasd3.f slasd4.f slasd5.f slasd6.f
5555
slasd7.f slasd8.f slasda.f slasdq.f slasdt.f
5656
slaset.f slasq1.f slasq2.f slasq3.f slasq4.f slasq5.f slasq6.f
57-
slasr.f slasrt.f slassq.f slasv2.f spttrf.f sstebz.f sstedc.f
57+
slasr.f slasrt.f slassq.f90 slasv2.f spttrf.f sstebz.f sstedc.f
5858
ssteqr.f ssterf.f slaisnan.f sisnan.f
5959
slartgp.f slartgs.f
6060
${SECOND_SRC})
@@ -73,7 +73,7 @@ set(DZLAUX
7373
dlasd0.f dlasd1.f dlasd2.f dlasd3.f dlasd4.f dlasd5.f dlasd6.f
7474
dlasd7.f dlasd8.f dlasda.f dlasdq.f dlasdt.f
7575
dlaset.f dlasq1.f dlasq2.f dlasq3.f dlasq4.f dlasq5.f dlasq6.f
76-
dlasr.f dlasrt.f dlassq.f dlasv2.f dpttrf.f dstebz.f dstedc.f
76+
dlasr.f dlasrt.f dlassq.f90 dlasv2.f dpttrf.f dstebz.f dstedc.f
7777
dsteqr.f dsterf.f dlaisnan.f disnan.f
7878
dlartgp.f dlartgs.f
7979
../INSTALL/dlamch.f ${DSECOND_SRC})
@@ -211,7 +211,7 @@ set(CLASRC
211211
claqsp.f claqsy.f clar1v.f clar2v.f ilaclr.f ilaclc.f
212212
clarf.f clarfb.f clarfb_gett.f clarfg.f clarfgp.f clarft.f
213213
clarfx.f clarfy.f clargv.f clarnv.f clarrv.f clartg.f clartv.f
214-
clarz.f clarzb.f clarzt.f clascl.f claset.f clasr.f classq.f
214+
clarz.f clarzb.f clarzt.f clascl.f claset.f clasr.f classq.f90
215215
claswp.f clasyf.f clasyf_rook.f clasyf_rk.f clasyf_aa.f
216216
clatbs.f clatdf.f clatps.f clatrd.f clatrs.f clatrz.f
217217
clauu2.f clauum.f cpbcon.f cpbequ.f cpbrfs.f cpbstf.f cpbsv.f
@@ -407,7 +407,7 @@ set(ZLASRC
407407
zlarfg.f zlarfgp.f zlarft.f
408408
zlarfx.f zlarfy.f zlargv.f zlarnv.f zlarrv.f zlartg.f zlartv.f
409409
zlarz.f zlarzb.f zlarzt.f zlascl.f zlaset.f zlasr.f
410-
zlassq.f zlaswp.f zlasyf.f zlasyf_rook.f zlasyf_rk.f zlasyf_aa.f
410+
zlassq.f90 zlaswp.f zlasyf.f zlasyf_rook.f zlasyf_rk.f zlasyf_aa.f
411411
zlatbs.f zlatdf.f zlatps.f zlatrd.f zlatrs.f zlatrz.f zlauu2.f
412412
zlauum.f zpbcon.f zpbequ.f zpbrfs.f zpbstf.f zpbsv.f
413413
zpbsvx.f zpbtf2.f zpbtrf.f zpbtrs.f zpocon.f zpoequ.f zporfs.f

SRC/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,9 @@
5757
TOPSRCDIR = ..
5858
include $(TOPSRCDIR)/make.inc
5959

60-
ALLMOD = la_constants.mod
60+
ALLMOD = la_xisnan.mod la_constants.mod
6161

62-
.SUFFIXES: .f .F .f90 .F90 .o .mod
63-
%.o: %.f $(ALLMOD)
64-
$(FC) $(FFLAGS) -c -o $@ $<
62+
.SUFFIXES: .F .f90 .F90 .o .mod
6563
%.o: %.F $(ALLMOD)
6664
$(FC) $(FFLAGS) -c -o $@ $<
6765
%.o: %.f90 $(ALLMOD)
@@ -72,7 +70,7 @@ ALLMOD = la_constants.mod
7270
@true
7371

7472
ALLAUX = ilaenv.o ilaenv2stage.o ieeeck.o lsamen.o xerbla.o xerbla_array.o \
75-
iparmq.o iparam2stage.o \
73+
iparmq.o iparam2stage.o la_xisnan.o \
7674
ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \
7775
../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o
7876

@@ -632,5 +630,7 @@ cla_wwaddw.o: cla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
632630
zla_wwaddw.o: zla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
633631

634632
# Modules
633+
la_xisnan.o: la_xisnan.F90 la_constants.mod
634+
$(FC) $(FFLAGS) -c -o $@ $<
635635
la_constants.o: la_constants.f90
636636
$(FC) $(FFLAGS) -c -o $@ $<

SRC/classq.f

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)