<div class="gmail_quote">On Thu, Jan 5, 2012 at 19:27, Reza Madankan <span dir="ltr">&lt;<a href="mailto:rm93@buffalo.edu">rm93@buffalo.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">I am trying to parallelize this loop using MPI, but I don&#39;t get the right result. I appreciate if anyone could help me on that?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
</div></blockquote></div><br><div>MPI is not a method for loop-level parallelization. Please read the PETSc manual examples examples to learn how MPI-based parallelism works.</div><div><br></div><div>OpenMP is a different approach that specifically does loop-level parallelism, but its scope is more limited.</div>