Skip to content

Commit 4548475

Browse files
authored
Update LAPACK to 3.9.0
1 parent 0257f26 commit 4548475

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

lapack-netlib/SRC/VARIANTS/Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include ../../make.inc
2-
31
#######################################################################
42
# This is the makefile to create a the variants libraries for LAPACK.
53
# The files are organized as follows:
@@ -17,6 +15,9 @@ include ../../make.inc
1715
# 1065-1081. http://dx.doi.org/10.1137/S0895479896297744
1816
#######################################################################
1917

18+
TOPSRCDIR = ../..
19+
include $(TOPSRCDIR)/make.inc
20+
2021
CHOLRL = cholesky/RL/cpotrf.o cholesky/RL/dpotrf.o cholesky/RL/spotrf.o cholesky/RL/zpotrf.o
2122

2223
CHOLTOP = cholesky/TOP/cpotrf.o cholesky/TOP/dpotrf.o cholesky/TOP/spotrf.o cholesky/TOP/zpotrf.o
@@ -30,37 +31,36 @@ LUREC = lu/REC/cgetrf.o lu/REC/dgetrf.o lu/REC/sgetrf.o lu/REC/zgetrf.o
3031
QRLL = qr/LL/cgeqrf.o qr/LL/dgeqrf.o qr/LL/sgeqrf.o qr/LL/zgeqrf.o qr/LL/sceil.o
3132

3233

34+
.PHONY: all
3335
all: cholrl.a choltop.a lucr.a lull.a lurec.a qrll.a
3436

3537
cholrl.a: $(CHOLRL)
36-
$(ARCH) $(ARCHFLAGS) $@ $^
38+
$(AR) $(ARFLAGS) $@ $^
3739
$(RANLIB) $@
3840

3941
choltop.a: $(CHOLTOP)
40-
$(ARCH) $(ARCHFLAGS) $@ $^
42+
$(AR) $(ARFLAGS) $@ $^
4143
$(RANLIB) $@
4244

4345
lucr.a: $(LUCR)
44-
$(ARCH) $(ARCHFLAGS) $@ $^
46+
$(AR) $(ARFLAGS) $@ $^
4547
$(RANLIB) $@
4648

4749
lull.a: $(LULL)
48-
$(ARCH) $(ARCHFLAGS) $@ $^
50+
$(AR) $(ARFLAGS) $@ $^
4951
$(RANLIB) $@
5052

5153
lurec.a: $(LUREC)
52-
$(ARCH) $(ARCHFLAGS) $@ $^
54+
$(AR) $(ARFLAGS) $@ $^
5355
$(RANLIB) $@
5456

5557
qrll.a: $(QRLL)
56-
$(ARCH) $(ARCHFLAGS) $@ $^
58+
$(AR) $(ARFLAGS) $@ $^
5759
$(RANLIB) $@
5860

61+
.PHONY: clean cleanobj cleanlib
5962
clean: cleanobj cleanlib
6063
cleanobj:
6164
rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL)
6265
cleanlib:
6366
rm -f *.a
64-
65-
.f.o:
66-
$(FORTRAN) $(OPTS) -c -o $@ $<

lapack-netlib/SRC/VARIANTS/README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ References:For a more detailed description please refer to
3434
=========
3535

3636
These variants are compiled by default in the build process but they are not tested by default.
37-
The build process creates one new library per variants in the four arithmetics (single real/double real/single complex/double complex).
37+
The build process creates one new library per variants in the four arithmetic (single real/double real/single complex/double complex).
3838
The libraries are in the SRC/VARIANTS directory.
3939

4040
Corresponding libraries created in SRC/VARIANTS:
@@ -64,16 +64,16 @@ You should then see the following files in the TESTING directory:
6464
= LINKING YOUR PROGRAM =
6565
========================
6666

67-
You just need to add the variants methods library in your linking sequence before your lapack libary.
67+
You just need to add the variants methods library in your linking sequence before your lapack library.
6868
Here is a quick example for LU
6969

7070
Default using LU Right Looking version:
71-
$(FORTRAN) -c myprog.f
72-
$(FORTRAN) -o myexe myprog.o $(LAPACKLIB) $(BLASLIB)
71+
$(FC) $(FFLAGS) -c myprog.f
72+
$(FC) $(FFLAGS) $(LDFLAGS) -o myexe myprog.o $(LAPACKLIB) $(BLASLIB)
7373

7474
Using LU Left Looking version:
75-
$(FORTRAN) -c myprog.f
76-
$(FORTRAN) -o myexe myprog.o $(PATH TO LAPACK/SRC/VARIANTS)/lull.a $(LAPACKLIB) $(BLASLIB)
75+
$(FC) $(FFLAGS) -c myprog.f
76+
$(FC) $(FFLAGS) $(LDFLAGS) -o myexe myprog.o $(PATH TO LAPACK/SRC/VARIANTS)/lull.a $(LAPACKLIB) $(BLASLIB)
7777

7878
===========
7979
= SUPPORT =

0 commit comments

Comments
 (0)