[petsc-users] PETSc and threads

Jed Brown jedbrown at mcs.anl.gov
Fri Jan 4 13:05:50 CST 2013


This is not supported due to logging/profiling/debugging features. Can you
explain more about your problem and why you don't want to use MPI processes?


On Fri, Jan 4, 2013 at 12:01 PM, Petar Petrovic <ppetrovic573 at gmail.com>wrote:

> Hello,
> I have read that PETSc isn't thread safe, however I am not sure I
> understand in which way. What I would like to do is execute parts of my
> code that make calls to PETSc routines in parallel, for example,
> if I have matices A, B, C and D, is it possible to call MatMatMult(A,B) on
> one thread and MatMatMult(C,D) on the other thread in parallel? Is there an
> example which shows how to do something this, e.g. combine PETSc with mine
> MPI calls or something similar?
> Thank you very much for your help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130104/98f485c3/attachment.html>


More information about the petsc-users mailing list