Quick solvers
The Incremental 4D-Var
In the Incremental 4D Var approach, we have to solve a series of linear systems
.
the linear systems are large (
) and dense.
For large problems (atmosphere DA, ocean DA), solving these linear systems is the dominant computational part of the algorithm.
need for efficient methods (memory, cpu).
Linear system occuring in the method will be denoted
, or
if no-confusion possible.
Two main approaches :
direct solvers: compute a factorization and use the factors to solve the linear system,
iterative solvers : build a sequence
.
Quick overview
Direct solvers
Express the matrix
as the product of matrices having simple structures (i.e. diagonal, triangular).
for unsymmetric matrices,
(Cholesky) for symmetric positive
definite matrices,
for symmetric indefinite matrices.
Advantages | Drawbacks |
|
|
|
|
Why libraries should be preferred to numerical recipies ?
Solution of an SPD linear system
Size | 500 | 1000 | 1500 |
Num. Recip. | 2.09 | 30.2 | 106 |
BLAS 1 | 0.4 | 12.0 | 45 |
BLAS 3 | 0.2 | 1.4 | 5 |
Sparse matrices
The effect of the ordering
while
symbolic analysis.
When pivoting is required : e.g. the unsymmetric case
Trade-off between
preserve sparsity,
preserve stability (pivot selection).