| 1 |
------------------------------------------------------------------------------ |
| 2 |
*** |
| 3 |
*** ML_Epetra::MultiLevelPreconditioner |
| 4 |
*** |
| 5 |
Matrix has 250000 rows and 2244004 nonzeros, distributed over 1 process(es) |
| 6 |
The linear system matrix is an Epetra_CrsMatrix |
| 7 |
Default values for `SA' |
| 8 |
Maximum number of levels = 5 |
| 9 |
Using increasing levels. Finest level = 0, coarsest level = 4 |
| 10 |
Number of applications of the ML cycle = 1 |
| 11 |
Number of PDE equations = 1 |
| 12 |
USing ParMETIS 3.x |
| 13 |
Aggregation threshold = 0 |
| 14 |
Max coarse size = 16 |
| 15 |
R and P smoothing : P = (I-\omega A) P_t, R = P^T |
| 16 |
R and P smoothing : \omega = 1.3333/lambda_max |
| 17 |
Using `Anorm' scheme for eigen-computations |
| 18 |
ML_Gen_MultiLevelHierarchy (level 0) : Gen Restriction and Prolongator |
| 19 |
ML_Aggregate_Coarsen (level 0) begins |
| 20 |
METIS (level 0) : num PDE eqns = 1 |
| 21 |
METIS (level 0) : current eps = 0.000000e+00 |
| 22 |
METIS (level 0) : Objective : 100 nodes per aggregate |
| 23 |
METIS (level 0) : avg 2500.000000 (block) aggr/process |
| 24 |
METIS (level 0) : # bdry (block) nodes = 0, # (block) nodes = 250000 |
| 25 |
METIS (level 0) : Estimated required mem for METIS = 99477 Kb |
| 26 |
METIS (level 0) : Max estimated mem for METIS = 99477 Kb |
| 27 |
METIS (level 0) : Time to partition graph = 2.776889e+00 (s) |
| 28 |
METIS (level 0) : Using 2500 (block) aggregates (globally) |
| 29 |
METIS (level 0) : # (block) aggre/ # (block) rows = 1.00000 % ( = 2500 / 250000) |
| 30 |
METIS (level 0) : 2500 (block) aggregates (globally) |
| 31 |
METIS (level 0) : Total (block) nnz = 2244004 ( = 8.98/(block)row) |
| 32 |
Calling ML_Operator_UnAmalgamateAndDropWeak |
| 33 |
Gen_Prolongator (level 0) : Max eigenvalue = 2.000000e+00 |
| 34 |
|
| 35 |
Prolongator/Restriction smoother (level 0) : damping factor #1 = 5.103361e-01 |
| 36 |
Prolongator/Restriction smoother (level 0) : ( = 1.020672e+00 / 2.000000e+00) |
| 37 |
|
| 38 |
Prolongator/Restriction smoother (level 0) : damping factor #2 = 6.042805e-01 |
| 39 |
Prolongator/Restriction smoother (level 0) : ( = 1.208561e+00 / 2.000000e+00) |
| 40 |
|
| 41 |
Prolongator/Restriction smoother (level 0) : damping factor #3 = 8.754154e-01 |
| 42 |
Prolongator/Restriction smoother (level 0) : ( = 1.750831e+00 / 2.000000e+00) |
| 43 |
|
| 44 |
Prolongator/Restriction smoother (level 0) : damping factor #4 = 1.710615e+00 |
| 45 |
Prolongator/Restriction smoother (level 0) : ( = 3.421231e+00 / 2.000000e+00) |
| 46 |
|
| 47 |
Prolongator/Restriction smoother (level 0) : damping factor #5 = 6.299353e+00 |
| 48 |
Prolongator/Restriction smoother (level 0) : ( = 1.259871e+01 / 2.000000e+00) |
| 49 |
|
| 50 |
ML_Gen_MultiLevelHierarchy (level 1) : Gen Restriction and Prolongator |
| 51 |
ML_Aggregate_Coarsen (level 1) begins |
| 52 |
METIS (level 1) : num PDE eqns = 1 |
| 53 |
METIS (level 1) : current eps = 0.000000e+00 |
| 54 |
METIS (level 1) : Objective : 100 nodes per aggregate |
| 55 |
METIS (level 1) : avg 25.000000 (block) aggr/process |
| 56 |
METIS (level 1) : # bdry (block) nodes = 0, # (block) nodes = 2500 |
| 57 |
METIS (level 1) : Estimated required mem for METIS = 1866 Kb |
| 58 |
METIS (level 1) : Max estimated mem for METIS = 1866 Kb |
| 59 |
METIS (level 1) : Time to partition graph = 2.365000e-02 (s) |
| 60 |
METIS (level 1) : Using 25 (block) aggregates (globally) |
| 61 |
METIS (level 1) : # (block) aggre/ # (block) rows = 1.00000 % ( = 25 / 2500) |
| 62 |
METIS (level 1) : 25 (block) aggregates (globally) |
| 63 |
METIS (level 1) : Total (block) nnz = 46854 ( = 18.74/(block)row) |
| 64 |
Calling ML_Operator_UnAmalgamateAndDropWeak |
| 65 |
*ML*WRN* # (block) nodes per (block) aggregate (100) > # (block) nodes (25) |
| 66 |
*ML*WRN* (on proc 0). Now proceeding with aggr_count = 1 |
| 67 |
Gen_Prolongator (level 1) : Max eigenvalue = 2.019968e+00 |
| 68 |
|
| 69 |
Prolongator/Restriction smoother (level 1) : damping factor #1 = 5.052912e-01 |
| 70 |
Prolongator/Restriction smoother (level 1) : ( = 1.020672e+00 / 2.019968e+00) |
| 71 |
|
| 72 |
Prolongator/Restriction smoother (level 1) : damping factor #2 = 5.983068e-01 |
| 73 |
Prolongator/Restriction smoother (level 1) : ( = 1.208561e+00 / 2.019968e+00) |
| 74 |
|
| 75 |
Prolongator/Restriction smoother (level 1) : damping factor #3 = 8.667615e-01 |
| 76 |
Prolongator/Restriction smoother (level 1) : ( = 1.750831e+00 / 2.019968e+00) |
| 77 |
|
| 78 |
Prolongator/Restriction smoother (level 1) : damping factor #4 = 1.693705e+00 |
| 79 |
Prolongator/Restriction smoother (level 1) : ( = 3.421231e+00 / 2.019968e+00) |
| 80 |
|
| 81 |
Prolongator/Restriction smoother (level 1) : damping factor #5 = 6.237080e+00 |
| 82 |
Prolongator/Restriction smoother (level 1) : ( = 1.259871e+01 / 2.019968e+00) |
| 83 |
|
| 84 |
ML_Gen_MultiLevelHierarchy (level 2) : Gen Restriction and Prolongator |
| 85 |
ML_Aggregate_Coarsen (level 2) begins |
| 86 |
METIS (level 2) : num PDE eqns = 1 |
| 87 |
METIS (level 2) : current eps = 0.000000e+00 |
| 88 |
METIS (level 2) : Objective : 100 nodes per aggregate |
| 89 |
METIS (level 2) : avg 1.000000 (block) aggr/process |
| 90 |
METIS (level 2) : # bdry (block) nodes = 0, # (block) nodes = 25 |
| 91 |
METIS (level 2) : Estimated required mem for METIS = 0 Kb |
| 92 |
METIS (level 2) : Max estimated mem for METIS = 0 Kb |
| 93 |
METIS (level 2) : Time to partition graph = 1.270000e-04 (s) |
| 94 |
METIS (level 2) : Using 1 (block) aggregates (globally) |
| 95 |
METIS (level 2) : # (block) aggre/ # (block) rows = 4.00000 % ( = 1 / 25) |
| 96 |
METIS (level 2) : 1 (block) aggregates (globally) |
| 97 |
METIS (level 2) : Total (block) nnz = 479 ( = 19.16/(block)row) |
| 98 |
Calling ML_Operator_UnAmalgamateAndDropWeak |
| 99 |
Gen_Prolongator (level 2) : Max eigenvalue = 2.011667e+00 |
| 100 |
|
| 101 |
Prolongator/Restriction smoother (level 2) : damping factor #1 = 5.073762e-01 |
| 102 |
Prolongator/Restriction smoother (level 2) : ( = 1.020672e+00 / 2.011667e+00) |
| 103 |
|
| 104 |
Prolongator/Restriction smoother (level 2) : damping factor #2 = 6.007757e-01 |
| 105 |
Prolongator/Restriction smoother (level 2) : ( = 1.208561e+00 / 2.011667e+00) |
| 106 |
|
| 107 |
Prolongator/Restriction smoother (level 2) : damping factor #3 = 8.703381e-01 |
| 108 |
Prolongator/Restriction smoother (level 2) : ( = 1.750831e+00 / 2.011667e+00) |
| 109 |
|
| 110 |
Prolongator/Restriction smoother (level 2) : damping factor #4 = 1.700694e+00 |
| 111 |
Prolongator/Restriction smoother (level 2) : ( = 3.421231e+00 / 2.011667e+00) |
| 112 |
|
| 113 |
Prolongator/Restriction smoother (level 2) : damping factor #5 = 6.262817e+00 |
| 114 |
Prolongator/Restriction smoother (level 2) : ( = 1.259871e+01 / 2.011667e+00) |
| 115 |
|
| 116 |
Smoothed Aggregation : operator complexity = 1.021094e+00. |
| 117 |
Time to build the hierarchy = 5.63227 (s) |
| 118 |
Number of actual levels : 4 |
| 119 |
|
| 120 |
Smoother (level 0) : # global rows = 250000, # estim. global nnz = 2244004 |
| 121 |
Smoother (level 0) : MLS,both |
| 122 |
Smoother (level 0) : Setup time : 0.355821 (s) |
| 123 |
|
| 124 |
Smoother (level 1) : # global rows = 2500, # estim. global nnz = 46854 |
| 125 |
Smoother (level 1) : MLS,both |
| 126 |
Smoother (level 1) : Setup time : 0.006637 (s) |
| 127 |
|
| 128 |
Smoother (level 2) : # global rows = 25, # estim. global nnz = 479 |
| 129 |
Smoother (level 2) : MLS,both |
| 130 |
Smoother (level 2) : Setup time : 0.000381 (s) |
| 131 |
|
| 132 |
Amesos (level 3) : NumGlobalRows = 1 |
| 133 |
Amesos (level 3) : NumGlobalNonzeros = 1 |
| 134 |
Amesos (level 3) : Fill-in = 100 % |
| 135 |
Amesos (level 3) : This coarse solver is not available. |
| 136 |
Amesos (level 3) : Now re-building with LAPACK |
| 137 |
Amesos (level 3) : Building KLU |
| 138 |
Amesos (level 3) : Time for factorization = 9.5e-05 (s) |
| 139 |
|
| 140 |
sum n_i / n_finest = 1.0101 |
| 141 |
sum nnz_i / nnz_finest = 1.02109 |
| 142 |
|
| 143 |
Cumulative timing for construction so far: |
| 144 |
- for initial setup = 0.010014 (s) |
| 145 |
- for hierarchy setup = 5.63236 (s) |
| 146 |
- for smoothers setup = 0.363089 (s) |
| 147 |
- for coarse setup = 0.001122 (s) |
| 148 |
- for final setup = 0.000115 (s) |
| 149 |
------------------------------------------------------------------------------ |
| 150 |
------------------------------------------------------------------------------ |
| 151 |
Unused parameters: |
| 152 |
------------------------------------------------------------------------------ |
| 153 |
2D computational stencil for equation 0 at node 125250 (grid is 500 x 500) |
| 154 |
|
| 155 |
-1 -1 -1 |
| 156 |
-1 8 -1 |
| 157 |
-1 -1 -1 |
| 158 |
|
| 159 |
|
| 160 |
******************************************************* |
| 161 |
***** Problem: Epetra::CrsMatrix |
| 162 |
***** Preconditioned CG solution |
| 163 |
***** ML (L=4, Cheby_pre0/Cheby_post0, ~/Amesos_KLU_3) |
| 164 |
***** No scaling |
| 165 |
******************************************************* |
| 166 |
|
| 167 |
iter: 0 residual = 1.000000e+00 |
| 168 |
iter: 1 residual = 4.275785e-02 |
| 169 |
iter: 2 residual = 1.227267e-03 |
| 170 |
iter: 3 residual = 6.339093e-05 |
| 171 |
iter: 4 residual = 1.202130e-05 |
| 172 |
iter: 5 residual = 1.251343e-06 |
| 173 |
iter: 6 residual = 1.419587e-07 |
| 174 |
iter: 7 residual = 2.174654e-08 |
| 175 |
iter: 8 residual = 2.030363e-09 |
| 176 |
iter: 9 residual = 3.265125e-10 |
| 177 |
iter: 10 residual = 4.161219e-11 |
| 178 |
iter: 11 residual = 4.808802e-12 |
| 179 |
iter: 12 residual = 7.327660e-13 |
| 180 |
|
| 181 |
|
| 182 |
Solution time: 3.074286 (sec.) |
| 183 |
total iterations: 12 |
| 184 |
|
| 185 |
Amesos (level 3) : Time for solve = 0.000738 (s) |
| 186 |
Amesos (level 3) : avg time for solve = 5.67692e-05 (s) ( # solves = 13) |
| 187 |
|
| 188 |
---------------------------------------------------------------------------- |
| 189 |
Amesos_Lapack : Time to convert matrix to Klu format = 4e-06 (s) |
| 190 |
Amesos_Lapack : Time to redistribute matrix = 5e-06 (s) |
| 191 |
Amesos_Lapack : Time to redistribute vectors = 0 (s) |
| 192 |
Amesos_Lapack : Number of symbolic factorizations = 1 |
| 193 |
Amesos_Lapack : Time for sym fact = 4e-06 (s), avg = 4e-06 (s) |
| 194 |
Amesos_Lapack : Number of numeric factorizations = 1 |
| 195 |
Amesos_Lapack : Time for num fact = 5.1e-05 (s), avg = 5.1e-05 (s) |
| 196 |
Amesos_Lapack : Number of solve phases = 13 |
| 197 |
Amesos_Lapack : Time for solve = 2.77692e-05 (s), avg = 2.77692e-05 (s) |
| 198 |
---------------------------------------------------------------------------- |
| 199 |
---------------------------------------------------------------------------- |
| 200 |
Amesos_Lapack : Matrix has 1 rows and 1 nonzeros |
| 201 |
Amesos_Lapack : Nonzero elements per row = 1 |
| 202 |
Amesos_Lapack : Percentage of nonzero elements = 100 |
| 203 |
Amesos_Lapack : Use transpose = 0 |
| 204 |
---------------------------------------------------------------------------- |
| 205 |
------------------------------------------------------------------------------ |
| 206 |
ML time information total avg |
| 207 |
|
| 208 |
1- Construction time = 5.99686 5.99686 (s) |
| 209 |
2- Time for all applications = 2.80984 0.216142 (s) |
| 210 |
(w/o first application time) |
| 211 |
3- Time for first application(s) = 0.267492 0.267492 (s) |
| 212 |
4- Total time required by ML so far is 9.0742 (s) |
| 213 |
(constr + all applications) |
| 214 |
------------------------------------------------------------------------------ |
| 215 |
||b-Ax||_2 = 4.00096e-09 |