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>
