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> <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> 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> Matt<br><br><br> On Sat, Apr 12, 2008 at 12:52 PM, Yujie <<a href="mailto:recrusader@gmail.com">recrusader@gmail.com</a>> wrote:<br>
> Now, I use several processor to run my codes. However, I need to create<br> > sequential Vec and Mat. I use VecCreateSeq() to create Vec. I get error<br> > information. How to get it? thanks a lot.<br> ><br>
> Regards,<br> > Yujie<br> ><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>