[petsc-dev] GAMG MatSetValues error

John Mousel john.mousel at gmail.com
Mon Sep 24 20:48:21 CDT 2012


I'm having a problem with GAMG causing a MatSetValues() is [some non-zero
number] after

[0] PCSetUp(): Setting up new PC

 I don't get this with either ILU or HYPRE/BoomerAMG. I've attached the
output of -info. I see there is a recent change to some pre-allocation for
GAMG here:

http://petsc.cs.iit.edu/petsc/petsc-dev/rev/fe806009181b

I'm not sure if that has anything to do with it, but my blocksize is 1. I'm
running with the following options.

-ksp_type bcgsl -pc_type gamg -pc_gamg_threshold 0.01 -mg_levels_ksp_type
richardson -mg_levels_pc_type sor -mg_coarse_ksp_type richardson
-mg_coarse_pc_type sor -mg_coarse_pc_sor_its 4 -pc_gamg_type agg
-pc_gamg_agg_nsmooths 1 -pc_gamg_sym_graph true -info
-ksp_monitor_true_residual

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120924/33e15a07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen.out
Type: application/octet-stream
Size: 287240 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120924/33e15a07/attachment.obj>


More information about the petsc-dev mailing list