File: cs_demo.out

package info (click to toggle)
suitesparse 1%3A7.11.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 258,172 kB
  • sloc: ansic: 1,153,566; cpp: 48,145; makefile: 4,997; fortran: 2,087; java: 1,826; sh: 1,113; ruby: 725; python: 676; asm: 371; sed: 166; awk: 44
file content (201 lines) | stat: -rw-r--r-- 6,950 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
( cd build && cmake  .. && cmake --build . --config Release -j8 )
-- Building CSparse version: v4.3.2 (Mar 22, 2024)
-- Source:        /home/faculty/d/davis/dev2/SuiteSparse/CSparse
-- Build:         /home/faculty/d/davis/dev2/SuiteSparse/CSparse/build
-- Build type:    Release
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/faculty/d/davis/dev2/SuiteSparse/CSparse/build
gmake[1]: Entering directory '/home/faculty/d/davis/dev2/SuiteSparse/CSparse/build'
[ 81%] Built target csparse
[ 93%] Built target csparse_static
[ 96%] Built target cs_demo2
[ 98%] Built target cs_demo3
[100%] Built target cs_demo1
gmake[1]: Leaving directory '/home/faculty/d/davis/dev2/SuiteSparse/CSparse/build'
( cd build && cmake  -DSUITESPARSE_DEMOS=1 .. && cmake --build . --config Release -j8 )
-- Building CSparse version: v4.3.2 (Mar 22, 2024)
-- Source:        /home/faculty/d/davis/dev2/SuiteSparse/CSparse
-- Build:         /home/faculty/d/davis/dev2/SuiteSparse/CSparse/build
-- Build type:    Release
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/faculty/d/davis/dev2/SuiteSparse/CSparse/build
gmake[1]: Entering directory '/home/faculty/d/davis/dev2/SuiteSparse/CSparse/build'
[ 79%] Built target csparse_static
[ 93%] Built target csparse
[ 95%] Built target cs_demo3
[ 97%] Built target cs_demo1
[100%] Built target cs_demo2
gmake[1]: Leaving directory '/home/faculty/d/davis/dev2/SuiteSparse/CSparse/build'
./build/cs_demo1 < ./Matrix/t1
CSparse v4.3.2
T:
CSparse Version 4.3.2, Mar 22, 2024.  Copyright (c) Timothy A. Davis, 2006-2023
triplet: 4-by-4, nzmax: 16 nnz: 10
    2 2 : 3
    1 0 : 3.1
    3 3 : 1
    0 2 : 3.2
    1 1 : 2.9
    3 0 : 3.5
    3 1 : 0.4
    1 3 : 0.9
    0 0 : 4.5
    2 1 : 1.7
A:
CSparse Version 4.3.2, Mar 22, 2024.  Copyright (c) Timothy A. Davis, 2006-2023
4-by-4, nzmax: 10 nnz: 10, 1-norm: 11.1
    col 0 : locations 0 to 2
      1 : 3.1
      3 : 3.5
      0 : 4.5
    col 1 : locations 3 to 5
      1 : 2.9
      3 : 0.4
      2 : 1.7
    col 2 : locations 6 to 7
      2 : 3
      0 : 3.2
    col 3 : locations 8 to 9
      3 : 1
      1 : 0.9
AT:
CSparse Version 4.3.2, Mar 22, 2024.  Copyright (c) Timothy A. Davis, 2006-2023
4-by-4, nzmax: 10 nnz: 10, 1-norm: 7.7
    col 0 : locations 0 to 1
      0 : 4.5
      2 : 3.2
    col 1 : locations 2 to 4
      0 : 3.1
      1 : 2.9
      3 : 0.9
    col 2 : locations 5 to 6
      1 : 1.7
      2 : 3
    col 3 : locations 7 to 9
      0 : 3.5
      1 : 0.4
      3 : 1
D:
CSparse Version 4.3.2, Mar 22, 2024.  Copyright (c) Timothy A. Davis, 2006-2023
4-by-4, nzmax: 16 nnz: 16, 1-norm: 139.58
    col 0 : locations 0 to 3
      1 : 13.95
      3 : 15.75
      0 : 100.28
      2 : 9.6
    col 1 : locations 4 to 7
      1 : 88.62
      3 : 12.91
      0 : 13.95
      2 : 4.93
    col 2 : locations 8 to 11
      1 : 4.93
      3 : 0.68
      2 : 81.68
      0 : 9.6
    col 3 : locations 12 to 15
      1 : 12.91
      3 : 83.2
      0 : 15.75
      2 : 0.68
./build/cs_demo2 < ./Matrix/t1

--- Matrix: 4-by-4, nnz: 10 (sym: 0: nnz 0), norm: 1.11e+01
blocks: 1 singletons: 0 structural rank: 4
QR   natural    time:     0.00 resid: 3.06e-17
QR   amd(A'*A)  time:     0.00 resid: 3.06e-17
LU   natural    time:     0.00 resid: 1.53e-17
LU   amd(A+A')  time:     0.00 resid: 1.53e-17
LU   amd(S'*S)  time:     0.00 resid: 0.00e+00
LU   amd(A'*A)  time:     0.00 resid: 1.53e-17
./build/cs_demo2 < ./Matrix/ash219

--- Matrix: 219-by-85, nnz: 438 (sym: 0: nnz 0), norm: 9.00e+00
blocks: 1 singletons: 0 structural rank: 85
QR   natural    time:     0.00 resid: 1.61e-02
QR   amd(A'*A)  time:     0.00 resid: 1.61e-02
./build/cs_demo2 < ./Matrix/bcsstk01

--- Matrix: 48-by-48, nnz: 224 (sym: -1: nnz 400), norm: 3.57e+09
blocks: 1 singletons: 0 structural rank: 48
QR   natural    time:     0.00 resid: 2.62e-19
QR   amd(A'*A)  time:     0.00 resid: 5.27e-19
LU   natural    time:     0.00 resid: 2.17e-19
LU   amd(A+A')  time:     0.00 resid: 1.87e-19
LU   amd(S'*S)  time:     0.00 resid: 2.38e-19
LU   amd(A'*A)  time:     0.00 resid: 2.38e-19
Chol natural    time:     0.00 resid: 2.64e-19
Chol amd(A+A')  time:     0.00 resid: 2.55e-19
./build/cs_demo2 < ./Matrix/fs_183_1

--- Matrix: 183-by-183, nnz: 988 (sym: 0: nnz 0), norm: 1.70e+09
zero entries dropped: 71
tiny entries dropped: 10
blocks: 38 singletons: 37 structural rank: 183
QR   natural    time:     0.00 resid: 6.84e-28
QR   amd(A'*A)  time:     0.00 resid: 9.38e-28
LU   natural    time:     0.00 resid: 6.20e-28
LU   amd(A+A')  time:     0.00 resid: 1.55e-27
LU   amd(S'*S)  time:     0.00 resid: 6.98e-28
LU   amd(A'*A)  time:     0.00 resid: 6.98e-28
./build/cs_demo2 < ./Matrix/mbeacxc

--- Matrix: 492-by-490, nnz: 49920 (sym: 0: nnz 0), norm: 9.29e-01
blocks: 10 singletons: 8 structural rank: 448
QR   natural    time:     0.06 resid:      nan
QR   amd(A'*A)  time:     0.07 resid:      nan
./build/cs_demo2 < ./Matrix/west0067

--- Matrix: 67-by-67, nnz: 294 (sym: 0: nnz 0), norm: 6.14e+00
blocks: 2 singletons: 1 structural rank: 67
QR   natural    time:     0.00 resid: 7.14e-17
QR   amd(A'*A)  time:     0.00 resid: 3.10e-17
LU   natural    time:     0.00 resid: 3.89e-17
LU   amd(A+A')  time:     0.00 resid: 2.27e-17
LU   amd(S'*S)  time:     0.00 resid: 1.95e-17
LU   amd(A'*A)  time:     0.00 resid: 2.60e-17
./build/cs_demo2 < ./Matrix/lp_afiro

--- Matrix: 27-by-51, nnz: 102 (sym: 0: nnz 0), norm: 3.43e+00
blocks: 1 singletons: 0 structural rank: 27
QR   natural    time:     0.00 resid: 3.96e-16
QR   amd(A'*A)  time:     0.00 resid: 2.25e-16
./build/cs_demo2 < ./Matrix/bcsstk16

--- Matrix: 4884-by-4884, nnz: 147631 (sym: -1: nnz 290378), norm: 7.01e+09
blocks: 75 singletons: 74 structural rank: 4884
QR   amd(A'*A)  time:     0.65 resid: 1.39e-22
LU   amd(A+A')  time:     0.32 resid: 1.10e-22
LU   amd(S'*S)  time:     0.32 resid: 1.28e-22
LU   amd(A'*A)  time:     0.34 resid: 1.78e-22
Chol amd(A+A')  time:     0.11 resid: 1.19e-22
./build/cs_demo3 < ./Matrix/bcsstk01

--- Matrix: 48-by-48, nnz: 224 (sym: -1: nnz 400), norm: 3.57e+09

chol then update/downdate amd(A+A')  
symbolic chol time     0.00
numeric  chol time     0.00
solve    chol time     0.00
original: resid: 2.55e-19
update:   time:     0.00
update:   time:     0.00 (incl solve) resid: 9.66e-19
rechol:   time:     0.00 (incl solve) resid: 1.55e-18
downdate: time:     0.00
downdate: time:     0.00 (incl solve) resid: 3.74e-17
./build/cs_demo3 < ./Matrix/bcsstk16

--- Matrix: 4884-by-4884, nnz: 147631 (sym: -1: nnz 290378), norm: 7.01e+09

chol then update/downdate amd(A+A')  
symbolic chol time     0.01
numeric  chol time     0.10
solve    chol time     0.00
original: resid: 1.19e-22
update:   time:     0.00
update:   time:     0.00 (incl solve) resid: 1.12e-23
rechol:   time:     0.10 (incl solve) resid: 1.17e-23
downdate: time:     0.00
downdate: time:     0.00 (incl solve) resid: 4.09e-22