[petsc-users] unsorted local columns in 3.8?

Mark Adams mfadams at lbl.gov
Fri Nov 10 08:06:51 CST 2017


On Thu, Nov 9, 2017 at 1:56 PM, Hong <hzhang at mcs.anl.gov> wrote:

> Mark:
>
>> OK, well, just go with the Linux machine for the regression test. I will
>> keep trying to reproduce this on my Mac with an O build.
>>
>
> Valgrind error occurs on linux machines with g-build. I cannot merge this
> branch to maint until the bug is fixed.
>

Valgrind is failing on this run on my Mac. Moving to cg, like you I
suppose. This takes forever. This is what I have so far. Did you get this
far?

07:48 hzhang/fix-submat_samerowdist *=
/sandbox/adams/petsc/src/snes/examples/tutorials$ make
PETSC_DIR=/sandbox/adams/petsc PETSC_ARCH=arch-linux2-c-dbg32 val
/sandbox/adams/petsc/arch-linux2-c-dbg32/bin/mpiexec -n 2 valgrind ./ex56
-cells 2,2,1 -max_conv_its 3 -petscspace_order 2 -snes_max_it 2 -ksp_max_it
100 -ksp_type cg -ksp_rtol 1.e-11 -ksp_norm_type unpreconditioned
-snes_rtol 1.e-10 -pc_type gamg -pc_gamg_type agg -pc_gamg_agg_nsmooths 1
-pc_gamg_coarse_eq_limit 10 -pc_gamg_reuse_interpolation true
-pc_gamg_square_graph 1 -pc_gamg_threshold 0.05 -pc_gamg_threshold_scale .0
-snes_converged_reason -use_mat_nearnullspace true -mg_levels_ksp_max_it 1
-mg_levels_ksp_type chebyshev -mg_levels_esteig_ksp_type cg
-mg_levels_esteig_ksp_max_it 10 -mg_levels_ksp_chebyshev_esteig
0,0.05,0,1.05 -mg_levels_pc_type jacobi -pc_gamg_mat_partitioning_type
parmetis -mat_block_size 3 -run_type 1
==12414== Memcheck, a memory error detector
==12414== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12414== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==12415== Memcheck, a memory error detector
==12415== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12415== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==12415== Command: ./ex56 -cells 2,2,1 -max_conv_its 3 -petscspace_order 2
-snes_max_it 2 -ksp_max_it 100 -ksp_type cg -ksp_rtol 1.e-11 -ksp_norm_type
unpreconditioned -snes_rtol 1.e-10 -pc_type gamg -pc_gamg_type agg
-pc_gamg_agg_nsmooths 1 -pc_gamg_coarse_eq_limit 10
-pc_gamg_reuse_interpolation true -pc_gamg_square_graph 1
-pc_gamg_threshold 0.05 -pc_gamg_threshold_scale .0 -snes_converged_reason
-use_mat_nearnullspace true -mg_levels_ksp_max_it 1 -mg_levels_ksp_type
chebyshev -mg_levels_esteig_ksp_type cg -mg_levels_esteig_ksp_max_it 10
-mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.05 -mg_levels_pc_type jacobi
-pc_gamg_mat_partitioning_type parmetis -mat_block_size 3 -run_type 1
==12415==
==12414== Command: ./ex56 -cells 2,2,1 -max_conv_its 3 -petscspace_order 2
-snes_max_it 2 -ksp_max_it 100 -ksp_type cg -ksp_rtol 1.e-11 -ksp_norm_type
unpreconditioned -snes_rtol 1.e-10 -pc_type gamg -pc_gamg_type agg
-pc_gamg_agg_nsmooths 1 -pc_gamg_coarse_eq_limit 10
-pc_gamg_reuse_interpolation true -pc_gamg_square_graph 1
-pc_gamg_threshold 0.05 -pc_gamg_threshold_scale .0 -snes_converged_reason
-use_mat_nearnullspace true -mg_levels_ksp_max_it 1 -mg_levels_ksp_type
chebyshev -mg_levels_esteig_ksp_type cg -mg_levels_esteig_ksp_max_it 10
-mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.05 -mg_levels_pc_type jacobi
-pc_gamg_mat_partitioning_type parmetis -mat_block_size 3 -run_type 1
==12414==
[0] 27 global equations, 9 vertices
[0] 27 equations in vector, 9 vertices
Nonlinear solve converged due to CONVERGED_FNORM_RELATIVE iterations 1
[0] 441 global equations, 147 vertices
[0] 441 equations in vector, 147 vertices
Nonlinear solve converged due to CONVERGED_FNORM_RELATIVE iterations 1
[0] 4725 global equations, 1575 vertices
[0] 4725 equations in vector, 1575 vertices
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171110/f5d809c6/attachment.html>


More information about the petsc-users mailing list