<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 24, 2016 at 9:48 AM, Justin Droba (JSC-EG3) [JETS] <span dir="ltr"><<a href="mailto:justin.c.droba@nasa.gov" target="_blank">justin.c.droba@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Barry, <br>
<br>
Thank you for your response.<br>
<br>
I'm running a larger problem than the simple example in my initial
message. But here is what happens: <br>
(1) One block for each processor, with commands<br>
<blockquote type="cite">
PCASMSetLocalSubdomains(preconditioner,local_sdom,is,NULL);<br>
PCASMSetOverlap(preconditioner,1);</blockquote>
where is = overlapping domain assigned to this processor, then it
works nicely.<br></div></blockquote><div><br></div><div>Then you must not be doing RASM, and the second statement has no effect.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
(2) One block for each processor, with commands<br>
<blockquote type="cite">
PCASMSetLocalSubdomains(preconditioner,local_sdom,is,is_local);<br>
PCASMSetOverlap(preconditioner,0);</blockquote>
where is = overlapping domain assigned to this processor and
is_local the disjoint domain assigned to this processor, I get the
incorrect answer. (I can remove that second statement and I get the
same answer.)<br></div></blockquote><div><br></div><div>How do you know what the correct answer is? The second statement has no effect.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
(3) More than one block for each processor, I get a seg fault with
either set of commands above.<br></div></blockquote><div><br></div><div>Are you providing an array of length local_sdom?</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
Best regards,<br>
Justin<br>
<br>
<br>
<div>On 3/23/16 10:29 AM, Barry Smith wrote:<br>
</div>
<blockquote type="cite">
<pre> Seems ok. You'll need to be more specific about "isn't quite working."
Barry
</pre>
<blockquote type="cite">
<pre>On Mar 23, 2016, at 9:37 AM, Justin Droba (JSC-EG3) [JETS] <a href="mailto:justin.c.droba@nasa.gov" target="_blank"><justin.c.droba@nasa.gov></a> wrote:
Dear all,
Very sorry to flood the mailing list, one final post because the image will not come through if you're on digest or using plain text.
Thank you for maintaining this wonderful software and this user mailing list!
I am attempting to use an additive Schwartz preconditioner with multiple blocks per processor. I've been able to get it to work with one block per processor but not been successful with multiple. I believe I am not understanding correctly the construction of index sets for this case.
Let's consider a simple example: 16 nodes on a square with 4 blocks of 4x4:
<Mail Attachment.png>
<a href="https://farm2.staticflickr.com/1633/25912726941_428d61ae87_o.png" target="_blank">https://farm2.staticflickr.com/1633/25912726941_428d61ae87_o.png</a>
I want to put Omega_1 and Omega_2 on processor 1 and the other two on the second processor. Do I make my index sets on processor 1
IS = { {1,2,3,5,6,7,9,10,11}, {2,3,4,6,7,8,10,11,12} }
IS_LOCAL = { {1,2,5,6}, {3,4,7,8} }
and similarly for the other processor? I tried this and it isn't quite working out. Do I misunderstand something?
Thank you!
Best regards,
Justin
--
---------------------------------------------
Justin Droba, PhD
Applied Aeroscience and CFD Branch (EG3)
NASA Lyndon B. Johnson Space Center
JETS/Jacobs Technology, Inc. and HX5, LLC
Office: Building 16, Room 142
Phone: 281-483-1451
---------------------------------------------
</pre>
</blockquote>
<pre></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<div>-- <br>
<font color="blue">
---------------------------------------------<br>
Justin Droba, PhD<br>
Applied Aeroscience and CFD Branch (EG3)<br>
NASA Lyndon B. Johnson Space Center<br>
JETS/Jacobs Technology, Inc. and HX5, LLC<br>
<br>
<b>Office:</b> Building 16, Room 142<br>
<b>Phone</b>: <a href="tel:281-483-1451" value="+12814831451" target="_blank">281-483-1451</a><br>
---------------------------------------------<br>
</font></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>