<div class="gmail_quote">On Thu, May 12, 2011 at 10:48, martin flehmig <span dir="ltr"><<a href="mailto:s4245690@mailbox.tu-dresden.de">s4245690@mailbox.tu-dresden.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":4fh">is it possible to dictate how many rows a process owns on a matrix?<br>
<br>
For example:<br>
A is a square matrix with 10 rows/columns. There are two processes. cpu0<br>
should own rows 0-7 and cpu1 the others.</div></blockquote></div><div><br></div>See the "m" and "n" arguments:<div><br><div><a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/Mat/MatSetSizes.html">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/Mat/MatSetSizes.html</a></div>
</div>