[petsc-users] How to force the code run with a given number of iterations?
Fande Kong
fd.kong at siat.ac.cn
Wed Oct 30 19:12:01 CDT 2013
Hi all,
How to force the code run with a given number of iterations?
I use the following script to run code, but the code stop after doing
*two*iterations:
* mpirun -n 2 ./linearElasticity -ksp_type gmres -pc_type asm
-pc_asm_overlap 1 -sub_pc_type ilu -sub_pc_factor_levels 2 -sub_ksp_type
preonly -sub_pc_factor_mat_ordering_type rcm -ksp_view - -ksp_rtol 1e-5
-ksp_max_it 500 -ksp_monitor -ksp_monitor_singular_value*
The residual history is listed as follows:
* 0 KSP Residual norm 9.732477596672e+31
0 KSP Residual norm 9.732477596672e+31 % max 1.000000000000e+00 min
1.000000000000e+00 max/min 1.000000000000e+00
1 KSP Residual norm 8.532845325800e+31
1 KSP Residual norm 8.532845325800e+31 % max 4.821161757157e+55 min
4.821161757157e+55 max/min 1.000000000000e+00
2 KSP Residual norm 3.648279603061e+23
2 KSP Residual norm 3.648279603061e+23 % max 1.234581012401e+79 min
2.318814661396e+55 max/min 5.324190125905e+23
*
The residual is not small enough to stop.
Thanks,
Fande Kong,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131030/3daf35ca/attachment.html>
More information about the petsc-users
mailing list