[petsc-users] PETSc and threads

Petar Petrovic ppetrovic573 at gmail.com
Fri Jan 4 12:01:05 CST 2013


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/c9044a50/attachment.html>


More information about the petsc-users mailing list