[petsc-users] Petsc performance
Matthew Knepley
knepley at gmail.com
Thu Oct 16 09:09:52 CDT 2014
On Thu, Oct 16, 2014 at 9:01 AM, Marzouki Sondos <sondes.marzouki at gmail.com>
wrote:
> Hello,
>
> I still hesitate whether to use Petsc library or not. And to take my
> decision I have some questions. Please can you help me?
>
> Let s suppose that I have two matrixes having the same dimension, A0 and
> A1 but A0 is sparser than A1. Which means that A0 have less number of non
> zeroes.
>
> My question is: Is Petsc less efficient( time) for dense matrix??
>
You will have to be more specific. For example, in a sparse direct method,
the pattern of fill
could be different for matrices with different sparsity pattern, and thus
from your description it
is impossible to predict performance. Likewise, with an iterative method,
the spectra could be
very different, and thus it is again impossible to predict performance.
It is fairly simple, using KSP ex10, to quickly experiment with solvers on
you given matrices,
and thus determine whether PETSc solvers will work for you.
Thanks,
Matt
>
> Any suggestions or clarifications are welcome
> Thanks a lot,
> --
> Sondos Marzouki, Science of Computer Engineer
>
> Tel: +216 27 66 32 24
> Address: 8300, St-Patrick Street, Suite 300, Montreal, QC, H8N 2H1,
> CANADA
>
> Skype: sondes.marzouki
> *sondos at emworks.com <sondos at emworks.com>*
> EMWorks Inc
> www.emworks.com
>
>
--
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-users/attachments/20141016/79c18af4/attachment.html>
More information about the petsc-users
mailing list