<div dir="ltr"><div>Thank you very much. <br><br>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? <br>
</div>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?<br>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?<br>
</div>