[petsc-users] Number of unknowns/proc for scaling tests

Lukas van de Wiel lukas.drinkt.thee at gmail.com
Mon Feb 27 10:37:19 CST 2017


Hi Casalegno,

The answer to your question is in the PETSc FAQ:

http://www.mcs.anl.gov/petsc/documentation/faq.html

Have a great day
Lukas


On Mon, Feb 27, 2017 at 5:29 PM, Casalegno Francesco <
francesco.casalegno at epfl.ch> wrote:

> Hello,
>
>
> I am pretty new to PETSc and I would like to get some advice on choosing
> the right ratio of unknowns/proc.
>
>
> I have implemented a finite element solver for 3D problems with
> potentially up to 5B vertices, using CG as iterative solver. To run weak
> scaling tests I have to keep constant the ratio unknowns/proc, but if that
> if this ratio is too small I will not see any scaling as the communication
> overhead would dominate. Similarly, for strong scaling tests I expect to
> observe nearly-linear scaling only up to a certain number of procs, after
> which communications will dominate.
>
>
> My question is: what is a reasonable minimum number of unknowns per proc
> to get good scaling efficiency? I know that for <50k unknowns a direct
> solver would be preferable, but I do not know if this number is also a
> reasonable guess for the ratio unknown/proc.
>
>
> Thanks in advance for your help!
>
>
> Francesco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170227/f900c36a/attachment-0001.html>


More information about the petsc-users mailing list