<div dir="ltr"><div><div><div>Hi All,<br><br></div>I am using GAMG to solve a group of coupled diffusion equations, but the resulting matrix is not symmetrical. I got the following error messages:<br><br><br><i>[0]PETSC ERROR: Petsc has generated inconsistent data<br>[0]PETSC ERROR: Have un-symmetric graph (apparently). Use '-pc_gamg_sym_graph true' to symetrize the graph or '-pc_gamg_threshold -1.0' if the matrix is structurally symmetric.<br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown <br>[0]PETSC ERROR: /home/kongf/workhome/projects/yak/yak-opt on a arch-linux2-c-opt named r2i2n0 by kongf Mon AprĀ  3 16:19:59 2017<br>[0]PETSC ERROR: /home/kongf/workhome/projects/yak/yak-opt on a arch-linux2-c-opt named r2i2n0 by kongf Mon AprĀ  3 16:19:59 2017<br>[0]PETSC ERROR: #1 smoothAggs() line 462 in /home/kongf/workhome/projects/petsc/src/ksp/pc/impls/gamg/agg.c<br>[0]PETSC ERROR: #2 PCGAMGCoarsen_AGG() line 998 in /home/kongf/workhome/projects/petsc/src/ksp/pc/impls/gamg/agg.c<br>[0]PETSC ERROR: #3 PCSetUp_GAMG() line 571 in /home/kongf/workhome/projects/petsc/src/ksp/pc/impls/gamg/gamg.c<br>[0]PETSC ERROR: #3 PCSetUp_GAMG() line 571 in /home/kongf/workhome/projects/petsc/src/ksp/pc/impls/gamg/gamg.c<br><br></i></div>Does this mean that GAMG works for the symmetrical matrix only?<i><br><br></i></div>Fande,<i><br></i></div>