[petsc-dev] strangness in Chebyshev estimate of eigenvalues

Mark Adams mfadams at lbl.gov
Wed May 25 16:07:45 CDT 2016


>
>
> BTW: Its suspicious that you have to modify so many output files
> [other than ones corresponding to ex56]
>

[and other cheby tests, GAMG sets cheby by default]


>
> for ex:
>  src/ksp/ksp/examples/tests/output/ex19_2.out       |  20 +-
>
This example does not use 'cheby' - but still you have to modify this file?
>
>
Yea, I don't why I seem to have changed that one in the update.  I think it
just looked like a small change that was not meaningful.

Mark


> Satish
>
> $ git log --stat master..mark/snes-ex56c |cat
> commit b4c92c7bf05a5d7c4037ecc41d74a2e110bbcbed
> Author: Mark Adams <cal2princeton at yahoo.com>
> Date:   Thu May 19 15:07:53 2016 -0400
>
>     added ex56 in snes, 3D linear elasticity using Plex on a cube
>
>     clean up cheby fix
>
>     small cleanup of noisy cheby
>
>     fix ex56 init/fin error
>
>     remove spaces
>
>     fix complex build
>
>     updated test for new cheby
>
>     fixed test for new cheby
>
>     merge makefile changed for ex56 and parmetis
>
>     fixed bug in makefile
>
>  src/ksp/ksp/examples/tests/makefile                |   6 +-
>  src/ksp/ksp/examples/tests/output/ex19_2.out       |  20 +-
>  src/ksp/ksp/examples/tests/output/ex26_1.out       |  14 +-
>  src/ksp/ksp/examples/tests/output/ex26_2.out       |  17 +-
>  src/ksp/ksp/examples/tests/output/ex26_ml_3.out    |  16 +-
>  src/ksp/ksp/examples/tests/output/ex3_chebyest.out |   2 +-
>  src/ksp/ksp/examples/tutorials/makefile            |  17 +-
>  src/ksp/ksp/examples/tutorials/output/ex25_1.out   | 155 ++---
>  src/ksp/ksp/examples/tutorials/output/ex25_2.out   | 114 +--
>  .../examples/tutorials/output/ex29_telescope.out   |   8 +-
>  .../examples/tutorials/output/ex2_chebyest_1.out   |  26 +-
>  .../examples/tutorials/output/ex2_chebyest_2.out   |  26 +-
>  src/ksp/ksp/examples/tutorials/output/ex34_1.out   |  16 +-
>  src/ksp/ksp/examples/tutorials/output/ex34_2.out   |  42 +-
>  src/ksp/ksp/examples/tutorials/output/ex43_3.out   |  51 +-
>  src/ksp/ksp/examples/tutorials/output/ex43_4.out   |  82 +--
>  .../examples/tutorials/output/ex43_nested_gmg.out  |   2 +-
>  src/ksp/ksp/examples/tutorials/output/ex45f_1.out  |   8 +-
>  src/ksp/ksp/examples/tutorials/output/ex49_4.out   |  42 +-
>  src/ksp/ksp/examples/tutorials/output/ex49_5.out   |  27 +-
>  .../tutorials/output/ex49_hypre_nullspace.out      |  18 +-
>  src/ksp/ksp/examples/tutorials/output/ex50_3.out   |  63 +-
>  src/ksp/ksp/examples/tutorials/output/ex54_0.out   |  28 +-
>  .../examples/tutorials/output/ex54_classical.out   |   2 +-
>  src/ksp/ksp/examples/tutorials/output/ex55_0.out   |  37 +-
>  src/ksp/ksp/examples/tutorials/output/ex55_sa.out  |  10 +-
>  src/ksp/ksp/impls/cheby/cheby.c                    |  17 +-
>  src/snes/examples/tutorials/ex56.c                 |   8 +-
>  src/snes/examples/tutorials/makefile               |   2 +-
>  src/snes/examples/tutorials/output/ex18_1.out      |   6 +-
>  src/snes/examples/tutorials/output/ex20_1.out      |   3 +-
>  src/snes/examples/tutorials/output/ex40f90.out     |   3 +-
>  src/snes/examples/tutorials/output/ex46_1.out      |   3 +-
>  src/snes/examples/tutorials/output/ex56_1.out      | 149 ----
>  src/snes/examples/tutorials/output/ex56_11.out     | 335 ---------
>  src/snes/examples/tutorials/output/ex56_12.out     | 763
> ---------------------
>  src/snes/examples/tutorials/output/ex56_4.out      | 309 ---------
>  src/snes/examples/tutorials/output/ex56_5.out      |  88 ---
>  src/snes/examples/tutorials/output/ex56_7.out      | 152 ----
>  src/snes/examples/tutorials/output/ex56_8.out      | 152 ----
>  src/snes/examples/tutorials/output/ex56_9.out      | 376 ----------
>  src/snes/examples/tutorials/output/ex58_1.out      | 202 +++---
>  src/snes/examples/tutorials/output/ex58_2.out      | 122 ++--
>  src/snes/examples/tutorials/output/ex5_1.out       | 366 +++++-----
>  src/snes/examples/tutorials/output/ex5_2.out       |  13 +-
>  src/snes/examples/tutorials/output/ex5_3.out       |   6 +-
>  src/snes/examples/tutorials/output/ex5_4.out       |  14 +-
>  src/ts/examples/tutorials/makefile                 |   2 +-
>  src/ts/examples/tutorials/output/ex26_4.out        |  47 +-
>  49 files changed, 832 insertions(+), 3155 deletions(-)
>
> commit b65fd476815669c287a3b9df77324278b7978960
> Author: Mark Adams <cal2princeton at yahoo.com>
> Date:   Thu May 19 13:14:27 2016 -0400
>
>     changed Cheby random to noisy
>
>     added snes ex56, Plex with 3D linear elasticity
>
>  include/petscksp.h                                 |   3 +-
>  src/ksp/ksp/examples/tutorials/output/ex56_0.out   |   2 +-
>  src/ksp/ksp/examples/tutorials/output/ex56_ml.out  |  16 +-
>  src/ksp/ksp/examples/tutorials/output/ex56_nns.out |   2 +-
>  src/ksp/ksp/impls/cheby/cheby.c                    | 117 ++----
>  src/ksp/ksp/impls/cheby/chebyshevimpl.h            |   3 +-
>  src/snes/examples/tutorials/ex56.c                 | 459
> ++++++++++++++++++++-
>  src/snes/examples/tutorials/makefile               |  20 +-
>  src/snes/examples/tutorials/output/ex56_0.out      | 171 +-------
>  src/snes/examples/tutorials/output/ex56_hypre.out  |  26 ++
>  src/snes/examples/tutorials/output/ex56_ml.out     |  22 +
>  11 files changed, 593 insertions(+), 248 deletions(-)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160525/615ec63b/attachment.html>


More information about the petsc-dev mailing list