[petsc-users] PETSc and dense matrices

Raeth, Peter PRaeth at hpti.com
Thu Jan 6 18:27:02 CST 2011


So then, while PETSc may not be efficient in such cases, it will still work correctly.

Thanks for this.  It is a good explanation.


Best,

Peter.

Peter G. Raeth, Ph.D.
Senior Staff Scientist
Signal and Image Processing
High Performance Technologies, Inc
937-904-5147
praeth at hpti.com<mailto:praeth at hpti.com>
________________________________
From: petsc-users-bounces at mcs.anl.gov [petsc-users-bounces at mcs.anl.gov] on behalf of Jed Brown [jed at 59A2.org]
Sent: Thursday, January 06, 2011 4:01 PM
To: PETSc users list
Subject: Re: [petsc-users] PETSc and dense matrices

On Thu, Jan 6, 2011 at 10:04, Raeth, Peter <PRaeth at hpti.com<mailto:PRaeth at hpti.com>> wrote:
While I can not put my finger on it, I thought I saw on a man page that PETSc was only designed for the solution of sparse matrices.

I can try to explain:

Some choices in PETSc are not great if the problem has no "structure".  I loosely define "structure" to mean that there is a way to store the forward operator in less than O(N^2) space and that there is a way to multiply the forward operator my a vector in less than O(N^2) time.  In addition to sparse matrices, this includes operators that can be applied using fast transforms like FFT and FMM, have tensor product structure, are the Schur complement or a low-rank correction of something fitting the above description, etc.

If you only solve dense problems with no additional structure, then PETSc cannot have the absolute best performance.  But it should be perfectly adequate for most dense problems and if you have some problems with structure and some dense problems, it offers a uniform high-level interface and a lot of algorithmic flexibility that you won't find in a dense-only package.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110107/fba2e37d/attachment-0001.htm>


More information about the petsc-users mailing list