<div dir="ltr"><div dir="ltr">On Tue, Nov 9, 2021 at 4:24 AM Nicolas Barnafi <nicolas.barnafi@e.email> 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">
<div>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div>I am not adept enough at FEniCS to look at the code and
debug. However, </div>
<div>I would make a very small problem for 2 processes, say
two cells on each,</div>
<div>and then print out is_0 and is_1. That should tell you if
you have the right</div>
<div>unknowns in each block. If so, then it seems like
something is not correct in</div>
<div>your assembly routine, which is probably better debugged
on the FEniCS list.</div>
<div>However, if they are not right, we can help get them
right.</div>
<div><br>
</div>
<div> THanks,</div>
<div><br>
</div>
<div> Matt</div>
-- <br>
</div>
<div dir="ltr">
<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">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Thank Matthew, I had been testing the indexes and they looked fine.
In fact:<br>
<br>
Rank-0, is_0: [0 1 2] [633 634 635]<br>
Rank-0, is_1 [636 637 638] [729 730 731]<br>
Rank-1, is_0: [732 733 734] [1368 1369 1370]<br>
Rank-1, is_1 [1371 1372 1373] [1464 1465 1466]<br>
<br>
where is_1 should be much smaller, and it is indeed the case.<br></div></blockquote><div><br></div><div>I am now completely confused. The way PCFIELDSPLIT works, when doing Schur complements, is to take</div><div>in two ISes, which can be thought of as lists of vector rows. These two ISes must partition [0, N) if N is the</div><div>global size of the problem. So</div><div><br></div><div> 1) The numbers you have above do not appear to be a partition</div><div><br></div><div> 2) The problem appears to be huge. Use a problem with 2-4 to debug.</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"><div>
Thanks!<br>
NB<br>
<br>
<br>
</div>
</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">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>