Debian Codegraph @

SRC/VARIANTS/README

raw
1 ===============
2 = README File =
3 ===============
4
5 This README File is for the LAPACK driver variants.
6 It is composed of 5 sections:
7 - Description: contents a quick description of each of the variants. For a more detailed description please refer to LAWN XXX.
8 - Build
9 - Testing
10 - Linking your program
11 - Support
12
13 Author: Peng DU and Julie LANGOU, May 2008
14
15 ===============
16 = DESCRIPTION =
17 ===============
18
19 This directory contains several variants of LAPACK routines in single/double/complex/double complex precision:
20 - [sdcz]getrf with LU Crout Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/lu/CR
21 - [sdcz]getrf with LU Left Looking Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/lu/LL
22 - [sdcz]getrf with Sivan Toledo's recursive LU algorithm [1] - Directory: SRC/VARIANTS/lu/REC
23 - [sdcz]geqrf with QR Left Looking Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/qr/LL
24 - [sdcz]potrf with Cholesky Right Looking Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/cholesky/RL
25 - [sdcz]potrf with Cholesky Top Level 3 BLAS version algorithm [2]- Directory: SRC/VARIANTS/cholesky/TOP
26 - [sdcz]larft using a Left Looking Level 2 BLAS version algorithm - Directory: SRC/VARIANTS/larft/LL-LVL2
27
28 References:For a more detailed description please refer to
29 - [1] Toledo, S. 1997. Locality of Reference in LU Decomposition with Partial Pivoting. SIAM J. Matrix Anal. Appl. 18, 4 (Oct. 1997),
30 1065-1081. http://dx.doi.org/10.1137/S0895479896297744
31 - [2]LAWN XXX
32
33 =========
34 = BUILD =
35 =========
36
37 These variants are compiled by default in the build process but they are not tested by default.
38 The build process creates one new library per variants in the four arithmetic (single real/double real/single complex/double complex).
39 The libraries are in the SRC/VARIANTS directory.
40
41 Corresponding libraries created in SRC/VARIANTS:
42 - LU Crout : lucr.a
43 - LU Left Looking : lull.a
44 - LU Sivan Toledo's recursive : lurec.a
45 - QR Left Looking : qrll.a
46 - Cholesky Right Looking : cholrl.a
47 - Cholesky Top : choltop.a
48 - LARFT Level 2: larftl2.a
49
50
51 ===========
52 = TESTING =
53 ===========
54
55 To test these variants you can type 'make variants-testing'
56 This will rerun the linear methods testings once per variants and append the short name of the variants to the output files.
57 You should then see the following files in the TESTING directory:
58 [scdz]test_cholrl.out
59 [scdz]test_choltop.out
60 [scdz]test_lucr.out
61 [scdz]test_lull.out
62 [scdz]test_lurec.out
63 [scdz]test_qrll.out
64
65 ========================
66 = LINKING YOUR PROGRAM =
67 ========================
68
69 You just need to add the variants methods library in your linking sequence before your lapack library.
70 Here is a quick example for LU
71
72 Default using LU Right Looking version:
73 $(FC) $(FFLAGS) -c myprog.f
74 $(FC) $(FFLAGS) $(LDFLAGS) -o myexe myprog.o $(LAPACKLIB) $(BLASLIB)
75
76 Using LU Left Looking version:
77 $(FC) $(FFLAGS) -c myprog.f
78 $(FC) $(FFLAGS) $(LDFLAGS) -o myexe myprog.o $(PATH TO LAPACK/SRC/VARIANTS)/lull.a $(LAPACKLIB) $(BLASLIB)
79
80 ===========
81 = SUPPORT =
82 ===========
83
84 You can use either LAPACK forum or the LAPACK mailing list to get support.
85 LAPACK forum : http://icl.cs.utk.edu/lapack-forum
86 LAPACK mailing list : [email protected]