On Sat, Mar 6, 2010 at 11:49 PM, David sheehan <david.sheehanjr at gmail.com>wrote:
> Hi, > I need your helps about PETSC as follows: > 1) how can I call boomerAMG of HYPRE through PETSC as a solver and a > preconditioner? > First, configure with Hypre . Then -pc_type hypre -pc_hypre_type boomeramg > 2) how can I make a precondioner from B matrix, but apply the > preconditioner to Ax=b in PETSC? > Thanks in advance. > I cannot understand exactly what you mean. However, if you want to create a PC based upon a matrix which is not the system matrix A, you can specify it in KSPSetOperators(). Matt > David > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100307/e9c4ccba/attachment.html>
