<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I am trying to solver a sparse linear system (Ax=b)&nbsp;by PETSc. <BR>
&nbsp;<BR>
I noticed the parallel partitioning of the matrix is determined by PETSc at runtime by calling MatGetOwnerShipRange().<BR>
&nbsp;<BR>
I am wondering if the right hand side vector (b) should be partitioned by Calling VecGetOwnerShipRange(), Since I didn't see it is called in example code of ex2f.F&nbsp; on webpage of : <A href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-2.3.3/src/ksp/ksp/examples/tutorials/ex2f.F.html">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-2.3.3/src/ksp/ksp/examples/tutorials/ex2f.F.html</A>&nbsp;.<BR>
&nbsp;<BR>
Thanks.<BR>
&nbsp;<BR>                                               </body>
</html>