[petsc-users] PETSc and threads

Petar Petrovic ppetrovic573 at gmail.com
Fri Jan 4 14:01:23 CST 2013


Thank you very much.

Just, how do you suggest I do this, do you think its best to write
something like an MPI master-slave program where master would read matrix A
and the set of vectors b_i, i=1..n and send A and b_i to i-th slave to do
the job?
What is the way to send a PETSc data structure like a matrix or a vector
from a master process to a concrete slave process?
More generally, I am not sure what is the way to state that the for loop
can be done in parallel and not sequentially. Can you perhaps point me to
an example that does something similar?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130104/c1db8b79/attachment.html>


More information about the petsc-users mailing list