>> ldlmain2 LDLMAIN2: compile and run the LDLMAIN program (both with and without AMD) Hit enter to compile and run ldlmain (without AMD): -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/1 n: 1 entries: 1 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/1 n: 1 entries: 2 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 8.32667e-17 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 8.32667e-17 -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 4 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 5.55112e-17 Factorize A=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 5.55112e-17 -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 5 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 1.11022e-16 Factorize A=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 1.11022e-16 -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.11022e-16 Factorize A=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.11022e-16 -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 11 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.38778e-16 Factorize A=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.38778e-16 -------------------------------------------------------- Input matrix: name: HB/can_24 n: 24 entries: 160 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 96 Flop count: 632 Ax=b not solved since D(1,1) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 146 Flop count: 1360 Ax=b not solved since D(5,5) is zero. -------------------------------------------------------- Input matrix: name: HB/can_24 n: 24 entries: 188 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 96 Flop count: 632 Ax=b not solved since D(1,1) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 146 Flop count: 1360 Ax=b not solved since D(5,5) is zero. -------------------------------------------------------- Input matrix: name: FIDAP/ex5 n: 27 entries: 279 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 126 Flop count: 954 relative maxnorm of residual: 2.59625e-10 Factorize A=LDL' and solve Ax=b Nz in L: 276 Flop count: 4206 relative maxnorm of residual: 2.72848e-10 -------------------------------------------------------- Input matrix: name: FIDAP/ex5 n: 27 entries: 325 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 126 Flop count: 954 relative maxnorm of residual: 3.27418e-10 Factorize A=LDL' and solve Ax=b Nz in L: 276 Flop count: 4206 relative maxnorm of residual: 2.32376e-10 -------------------------------------------------------- Input matrix: name: HB/bcsstk01 n: 48 entries: 400 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 441 Flop count: 5961 relative maxnorm of residual: 2.38712e-13 Factorize A=LDL' and solve Ax=b Nz in L: 829 Flop count: 20103 relative maxnorm of residual: 2.27374e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstk01 n: 48 entries: 472 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 441 Flop count: 5961 relative maxnorm of residual: 2.27374e-13 Factorize A=LDL' and solve Ax=b Nz in L: 829 Flop count: 20103 relative maxnorm of residual: 3.83693e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstm01 n: 48 entries: 24 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. -------------------------------------------------------- Input matrix: name: HB/bcsstm01 n: 48 entries: 26 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. -------------------------------------------------------- Input matrix: name: Pothen/mesh1e1 n: 48 entries: 306 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 288 Flop count: 2630 relative maxnorm of residual: 5.96745e-16 Factorize A=LDL' and solve Ax=b Nz in L: 511 Flop count: 7383 relative maxnorm of residual: 6.93889e-16 -------------------------------------------------------- Input matrix: name: Pothen/mesh1e1 n: 48 entries: 359 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 288 Flop count: 2630 relative maxnorm of residual: 5.55112e-16 Factorize A=LDL' and solve Ax=b Nz in L: 511 Flop count: 7383 relative maxnorm of residual: 5.55112e-16 -------------------------------------------------------- Input matrix: name: Bai/bfwb62 n: 62 entries: 342 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 226 Flop count: 1472 relative maxnorm of residual: 5.55112e-16 Factorize A=LDL' and solve Ax=b Nz in L: 662 Flop count: 11350 relative maxnorm of residual: 1.11022e-15 -------------------------------------------------------- Input matrix: name: Bai/bfwb62 n: 62 entries: 407 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 226 Flop count: 1472 relative maxnorm of residual: 5.68434e-14 Factorize A=LDL' and solve Ax=b Nz in L: 662 Flop count: 11350 relative maxnorm of residual: 2.15827e-12 -------------------------------------------------------- Input matrix: name: HB/bcsstk02 n: 66 entries: 4356 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 7.50219e-13 Factorize A=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 7.50219e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstk02 n: 66 entries: 5175 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 8.59759e-13 Factorize A=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 8.59759e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstm02 n: 66 entries: 66 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 -------------------------------------------------------- Input matrix: name: HB/bcsstm02 n: 66 entries: 72 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 (invalid matrix, Ap [0] = 99) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 4 (invalid perm, P[1]=99) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid perm) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ap) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ai) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ai) -------------------------------------------------------- ldlmain: invalid matrix and/or permutation Largest residual during all tests: 3.27418e-10 ldlmain: all tests passed Hit enter to compile and run ldlmain (with AMD): -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/1 n: 1 entries: 1 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 0 -------------------------------------------------------- Input matrix: name: Dense/1 n: 1 entries: 2 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 8.32667e-17 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 8.32667e-17 -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 4 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 5.55112e-17 Factorize A=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 5.55112e-17 -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 5 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 1.11022e-16 Factorize A=LDL' and solve Ax=b Nz in L: 1 Flop count: 3 relative maxnorm of residual: 1.11022e-16 -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.11022e-16 Factorize A=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.11022e-16 -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 11 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.38778e-16 Factorize A=LDL' and solve Ax=b Nz in L: 3 Flop count: 11 relative maxnorm of residual: 1.38778e-16 -------------------------------------------------------- Input matrix: name: HB/can_24 n: 24 entries: 160 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 96 Flop count: 632 Ax=b not solved since D(1,1) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 146 Flop count: 1360 Ax=b not solved since D(5,5) is zero. -------------------------------------------------------- Input matrix: name: HB/can_24 n: 24 entries: 188 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 96 Flop count: 632 Ax=b not solved since D(1,1) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 146 Flop count: 1360 Ax=b not solved since D(5,5) is zero. -------------------------------------------------------- Input matrix: name: FIDAP/ex5 n: 27 entries: 279 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 126 Flop count: 954 relative maxnorm of residual: 2.59625e-10 Factorize A=LDL' and solve Ax=b Nz in L: 276 Flop count: 4206 relative maxnorm of residual: 2.72848e-10 -------------------------------------------------------- Input matrix: name: FIDAP/ex5 n: 27 entries: 325 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 126 Flop count: 954 relative maxnorm of residual: 3.27418e-10 Factorize A=LDL' and solve Ax=b Nz in L: 276 Flop count: 4206 relative maxnorm of residual: 2.32376e-10 -------------------------------------------------------- Input matrix: name: HB/bcsstk01 n: 48 entries: 400 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 441 Flop count: 5961 relative maxnorm of residual: 2.38712e-13 Factorize A=LDL' and solve Ax=b Nz in L: 829 Flop count: 20103 relative maxnorm of residual: 2.27374e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstk01 n: 48 entries: 472 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 441 Flop count: 5961 relative maxnorm of residual: 2.27374e-13 Factorize A=LDL' and solve Ax=b Nz in L: 829 Flop count: 20103 relative maxnorm of residual: 3.83693e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstm01 n: 48 entries: 24 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. -------------------------------------------------------- Input matrix: name: HB/bcsstm01 n: 48 entries: 26 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 Ax=b not solved since D(3,3) is zero. -------------------------------------------------------- Input matrix: name: Pothen/mesh1e1 n: 48 entries: 306 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 288 Flop count: 2630 relative maxnorm of residual: 5.96745e-16 Factorize A=LDL' and solve Ax=b Nz in L: 511 Flop count: 7383 relative maxnorm of residual: 6.93889e-16 -------------------------------------------------------- Input matrix: name: Pothen/mesh1e1 n: 48 entries: 359 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 288 Flop count: 2630 relative maxnorm of residual: 5.55112e-16 Factorize A=LDL' and solve Ax=b Nz in L: 511 Flop count: 7383 relative maxnorm of residual: 5.55112e-16 -------------------------------------------------------- Input matrix: name: Bai/bfwb62 n: 62 entries: 342 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 226 Flop count: 1472 relative maxnorm of residual: 5.55112e-16 Factorize A=LDL' and solve Ax=b Nz in L: 662 Flop count: 11350 relative maxnorm of residual: 1.11022e-15 -------------------------------------------------------- Input matrix: name: Bai/bfwb62 n: 62 entries: 407 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 226 Flop count: 1472 relative maxnorm of residual: 5.68434e-14 Factorize A=LDL' and solve Ax=b Nz in L: 662 Flop count: 11350 relative maxnorm of residual: 2.15827e-12 -------------------------------------------------------- Input matrix: name: HB/bcsstk02 n: 66 entries: 4356 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 7.50219e-13 Factorize A=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 7.50219e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstk02 n: 66 entries: 5175 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 8.59759e-13 Factorize A=LDL' and solve Ax=b Nz in L: 2145 Flop count: 97955 relative maxnorm of residual: 8.59759e-13 -------------------------------------------------------- Input matrix: name: HB/bcsstm02 n: 66 entries: 66 -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 -------------------------------------------------------- Input matrix: name: HB/bcsstm02 n: 66 entries: 72 (jumbled version) -------------------------------------------------------- Factorize PAP'=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 Factorize A=LDL' and solve Ax=b Nz in L: 0 Flop count: 0 relative maxnorm of residual: 2.22045e-16 -------------------------------------------------------- Input matrix: name: Dense/0 n: 0 entries: 0 (invalid matrix, Ap [0] = 99) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/2 n: 2 entries: 4 (invalid perm, P[1]=99) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid perm) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ap) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ai) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation -------------------------------------------------------- Input matrix: name: Dense/3 n: 3 entries: 9 (invalid Ai) -------------------------------------------------------- ldlamd: invalid matrix and/or permutation Largest residual during all tests: 3.27418e-10 ldlamd: all tests passed >> diary off