[petsc-users] Solving a Linear System with two different Solvers (one each thread)..?

Jed Brown jedbrown at mcs.anl.gov
Mon Mar 19 16:02:46 CDT 2012


On Mon, Mar 19, 2012 at 15:47, Pedro Torres <torres.pedrozpk at gmail.com>wrote:

> I has some experience with PETSc + MPI, but neither with PETSc+Pthreads
> nor Pthreads alone. Taking in to account that pthread was recenltly added
> to petsc, is it possible to code a program that solve the same linear
> system with two different solvers, one on each thread?. I guess that can be
> done calling different ksp object, one on each thread,  but I don't have
> clear, first if this is possible and second how to do that. Sorry if my
> question is meaningless, I just started to study pthreads.
>
> I will really appreciated any advice. Thanks in advance.
>

No, the threading model does not work like this (and the performance of a
system that did work that way would be a delicate beast).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120319/7170cb21/attachment.htm>


More information about the petsc-users mailing list