how to create sequential Vec or Mat in parallel mode.
Yujie
recrusader at gmail.com
Sat Apr 12 13:21:27 CDT 2008
I got it. thanks a lot:)
Regards,
Yujie
On 4/12/08, Matthew Knepley <knepley at gmail.com> wrote:
>
> You cannot create a sequential Vec with a parallel communicator. If
> you truly want
> a VecSeq, use PETSC_COMM_SELF.
>
> Matt
>
>
> On Sat, Apr 12, 2008 at 12:52 PM, Yujie <recrusader at gmail.com> wrote:
> > Now, I use several processor to run my codes. However, I need to create
> > sequential Vec and Mat. I use VecCreateSeq() to create Vec. I get error
> > information. How to get it? thanks a lot.
> >
> > Regards,
> > Yujie
> >
>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which
> their experiments lead.
> -- Norbert Wiener
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080412/728c00c3/attachment.htm>
More information about the petsc-users
mailing list