[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to create sequential Vec or Mat in parallel mode.
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: how to create sequential Vec or Mat in parallel mode.
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Sat, 12 Apr 2008 13:16:15 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=WHh8Xf1+f6RDS2TzFJj+hglYQlV0o5877fzL92qtARA=; b=jCYjsGNK0o7Q7VxmZSyFVw1JszwsZXcQ7NNdDhvdxii5jn4GbkFvj1SL+GjOMfRa64VmQADFefjUS7OpvXa9y/l1AvVzg2zsKYU+jxs719t4d+lx2herWOSEaNAdQNxWJrMXGu56MrQ9kQCvDoJKo7qB/FThYqDwWN45dWyf91E=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pq11bQOieUhMxtd8WdwPG6woevTfNcfz5sDRcW0eaucZjYk4z6ZHhKZUAlCyVQY8azwEeai381UnzECoKBbrndDNarjWmtFlipKBtWutyivMYyP6emIpd4Ben+gI9yh8PPwsv/xHJ2eZKCINEulUuahPDvZdnVYAuIvQ1b28xoE=
- In-reply-to: <7ff0ee010804121052j1d4d517foae52149ea7b79ac8@mail.gmail.com>
- References: <7ff0ee010804121052j1d4d517foae52149ea7b79ac8@mail.gmail.com>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
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@xxxxxxxxx> 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