... | @@ -34,18 +34,24 @@ memory requirements. |
... | @@ -34,18 +34,24 @@ memory requirements. |
|
##Arguments
|
|
##Arguments
|
|
|
|
|
|
```
|
|
```
|
|
Usage: ./solver_test002 method_number<0:INNER_ILU2,1:INNER_MLILUC,2:PETSc,3:Trilinos_Aztec,4:Trilinos_Belos,5:Trilinos_Ifpack,6:Trilinos_ML,7:ANI> N<for NxNxN problem> [solver_options.txt]
|
|
Usage: ./solver_test002 <solver_type> N<for NxNxN problem> [solver_options.xml]
|
|
```
|
|
```
|
|
|
|
|
|
- First parameter is the Solver type:
|
|
- First parameter is the Solver type:
|
|
+ 0 – `INNER_ILU2`, inner Solver based on BiCGStab(L) solver with second order ILU factorization as preconditioner;
|
|
+ inner_ilu2, inner Solver based on BiCGStab(L) solver with second
|
|
+ 1 – `INNER_MLILUC`, inner Solver based on BiCGStab(L) solver with second order Crout-ILU with inversed-based condition estimation and unsymmetric reordering for diagonal dominance as preconditioner;
|
|
order IIU factorization as preconditioner;
|
|
+ 2 – `PETSc`, external Solver AztecOO from Trilinos package;
|
|
+ inner_ddpqiluc, inner Solver based on BiCGStab(L) solver with second order Crout-ILU with inversed-based condition estimation and unsymmetric reordering for diagonal dominance as preconditioner;
|
|
+ 3 – `Trilinos_Aztec`, external Solver Belos from Trilinos package, currently without preconditioner;
|
|
+ inner_mptiluc, inner Solver based on BiCGStab(L) solver with second order Crout-ILU with inversed-based condition estimation and maximum product transversal reordering as preconditioner;
|
|
+ 4 – `Trilinos_Belos`, external Solver AztecOO with ML preconditioner;
|
|
+ inner_mptilu2, inner Solver based on BiCGStab(L) solver with second order ILU and maximum product transversal reordering as preconditione;
|
|
+ 5 – `Trilinos_Ifpack`, external Solver AztecOO with Ifpack preconditioner;
|
|
+ trilinos_aztec, external Solver AztecOO from Trilinos package;
|
|
+ 6 – `Trilinos_ML`, external Solver PETSc;
|
|
currentty without preconditioner;
|
|
+ 7 – `ANI`, external Solver from ANI3D based on ILU2 (sequential Fortran version).
|
|
+ trilinos_belos, external Solver Belos from Trilinos package, currently without preconditioner;
|
|
|
|
+ trilinos_ml, external Solver AztecOO with ML preconditioner;
|
|
|
|
+ trilinos_ifpack, external Solver AztecOO with Ifpack preconditioner;
|
|
|
|
+ petsc, external Solver PETSc;
|
|
|
|
+ ani, external Solver from ANI3D based on ILU2 (sequential Fortran version);
|
|
|
|
+ fcbiilu2, external FCBIILU2 Solver (BIILU2 parallel F2C version);
|
|
|
|
+ k3biilu2, internal K3BIILU2 Solver (BIILU2 parallel version).
|
|
- Second parameter is the dimension N of the 3D Poisson problem for NxNxN mesh.
|
|
- Second parameter is the dimension N of the 3D Poisson problem for NxNxN mesh.
|
|
- Third optional parameter is the file with solver parameters, see `examples/MatSolve/database.txt` as example.
|
|
- Third optional parameter is the file with solver parameters, see `examples/MatSolve/database.txt` as example.
|
|
|
|
|
... | @@ -57,7 +63,7 @@ For example, you can specify the 100x100x100 test case and solve it by the |
... | @@ -57,7 +63,7 @@ For example, you can specify the 100x100x100 test case and solve it by the |
|
internal ILU2 based solver with the default parameters on 4 processors:
|
|
internal ILU2 based solver with the default parameters on 4 processors:
|
|
```
|
|
```
|
|
$ cd tests/solver_test002
|
|
$ cd tests/solver_test002
|
|
$ mpirun -np 4 ./solver_test002 0 100
|
|
$ mpirun -np 4 ./solver_test002 inner_ilu2 100
|
|
```
|
|
```
|
|
|
|
|
|
##CMake tests
|
|
##CMake tests
|
... | @@ -75,4 +81,3 @@ output solution with 20x20x20 mesh using 4 processes. |
... | @@ -75,4 +81,3 @@ output solution with 20x20x20 mesh using 4 processes. |
|
##Source
|
|
##Source
|
|
|
|
|
|
Source code is adopted from `examples/MatSolve` |
|
Source code is adopted from `examples/MatSolve` |
|
|
|
|