<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Re:</p>
<p>I forgot to mention that the nodes are in differents
communicators. Does VecScatter functionnality still applies ?</p>
<p>Thanks.<br>
</p>
<div class="moz-cite-prefix">On 16/02/2022 15:03, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMYG4GnrQWnQ9jm5o6=kRbRZeQ7A6HvzbPqdNjZjvRSiQ9K=jg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Wed, Feb 16, 2022 at 8:55 AM Medane TCHAKOROM
<<a href="mailto:medane.tchakorom@univ-fcomte.fr"
moz-do-not-send="true" class="moz-txt-link-freetext">medane.tchakorom@univ-fcomte.fr</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I want to pass a Petsc Vec from one node to another one. Is
there any <br>
Petsc method for doing this<br>
</blockquote>
<div><br>
</div>
<div>You likely want the VecScatter functionality. There is a
discussion of this in the manual: <a
href="https://petsc.org/main/docs/manual/vec/?highlight=vecscatter#sec-unstruct"
moz-do-not-send="true" class="moz-txt-link-freetext">https://petsc.org/main/docs/manual/vec/?highlight=vecscatter#sec-unstruct</a></div>
<div><br>
</div>
<div> Thanks,</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
or should I use MPI_Irecv and MPI_Isend for non-blocking
communication ?<br>
<br>
When using MPI_Isend, can i send a Petsc Vec, or should I
get the array <br>
from it, and then send it ?<br>
<br>
Thanks<br>
<br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>What most experimenters take for granted before
they begin their experiments is infinitely more
interesting than any results to which their
experiments lead.<br>
-- Norbert Wiener</div>
<div><br>
</div>
<div><a href="http://www.cse.buffalo.edu/~knepley/"
target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>