I got it. thanks a lot:)<br><br>Regards,<br>Yujie<br><br><div><span class="gmail_quote">On 4/12/08, <b class="gmail_sendername">Matthew Knepley</b> &lt;<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
You cannot create a sequential Vec with a parallel communicator. If<br> you truly want<br> a VecSeq, use PETSC_COMM_SELF.<br><br>&nbsp;&nbsp;Matt<br><br><br> On Sat, Apr 12, 2008 at 12:52 PM, Yujie &lt;<a href="mailto:recrusader@gmail.com">recrusader@gmail.com</a>&gt; wrote:<br>
 &gt; Now, I use several processor to run my codes. However, I need to create<br> &gt; sequential Vec and Mat. I use VecCreateSeq() to create Vec. I get error<br> &gt; information. How to get it? thanks a lot.<br> &gt;<br>
 &gt; Regards,<br> &gt; Yujie<br> &gt;<br><br><br><br><br>--<br> What most experimenters take for granted before they begin their<br> experiments is infinitely more interesting than any results to which<br> their experiments lead.<br>
 -- Norbert Wiener<br><br></blockquote></div><br>