petsc-3.9.2 2018-05-20
Report Typos and Errors
PetscLog
profiling multiple stages of code;
Solves two linear systems in parallel with KSP. The code
illustrates repeated solution of linear systems with the same preconditioner
method but different matrices (having the same nonzero structure). The code
also uses multiple profiling stages. Input arguments are
-m <size> : problem size
-mat_nonsym : use nonsymmetric matrix (default is symmetric)
profiling multiple stages of code;
The solution of 2 different linear systems with different linear solvers.
Also, this example illustrates the repeated
solution of linear systems, while reusing matrix, vector, and solver data
structures throughout the process. Note the various stages of event logging.
user-defined event profiling;
The solution of 2 different linear systems with different linear solvers.
Also, this example illustrates the repeated
solution of linear systems, while reusing matrix, vector, and solver data
structures throughout the process. Note the various stages of event logging.
preloading executable
Solve a small system and a large system through preloading
Input arguments are:
-f0 <small_sys_binary> -f1 <large_sys_binary>