Using parMetis in petsc for ordering

Matthew Knepley knepley at gmail.com
Thu Jan 11 21:06:21 CST 2007


Reordering a matrix can result in fewer iterations for an iterative solver.

  Matt

On 1/11/07, Dimitri Lecas <dimitri.lecas at free.fr> wrote:
> Barry Smith a écrit :
> >
> >
> > On Thu, 11 Jan 2007, Dimitri Lecas wrote:
> >
> >
> >> Barry Smith a �crit :
> >>
> >>>   Dimitri,
> >>>
> >>>    No, I think this is not the correct way to look at things. Load
> >>> balancing the original matrix is not neccessarily a good thing for
> >>> doing an LU factorization (in fact it is likely just to make the LU
> >>> factorization have much more fill and require much more floating
> >>> operations).
> >>>   Packages like SuperLU_dist and Mumps have their own internal ordering
> >>> routines that are specifically for getting a good ordering for doing
> >>> the parallel LU factorization, you should just have these solvers
> >>> use them (which they do automatically).
> >>>
> >>>    Barry
> >>>
> >>>
> >>> On Thu, 11 Jan 2007, Dimitri Lecas wrote:
> >>>
> >>>
> >>>
> >> I'am no longer talking about doing LU factorization. But use iterative method
> >> for solving a linear system, like bicg. Like in the ex10. In this example i
> >> don't understand why using MatPartitioning.
> >>
> >
> >   Please rephrase the question. Are you asking why one should do the partition
> > or why one should not? Are you asking in the case where the matrix is read from
> > disk or generated in a parallel program?
> >
> >
> I try to understand the interest to call MatPartitioning before solving
> the linear system with the same matrix. (Like
> ksp/examples/tutorials/ex10.c).
>
> --
> Dimitri Lecas
>
>


-- 
One trouble is that despite this system, anyone who reads journals widely
and critically is forced to realize that there are scarcely any bars to eventual
publication. There seems to be no study too fragmented, no hypothesis too
trivial, no literature citation too biased or too egotistical, no design too
warped, no methodology too bungled, no presentation of results too
inaccurate, too obscure, and too contradictory, no analysis too self-serving,
no argument too circular, no conclusions too trifling or too unjustified, and
no grammar and syntax too offensive for a paper to end up in print. --
Drummond Rennie




More information about the petsc-users mailing list