On Tue, Nov 24, 2009 at 7:13 PM,  <span dir="ltr">&lt;<a href="mailto:irfan.khan@gatech.edu">irfan.khan@gatech.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">I use seperete communicators for fluid and solid ranks in a
fluid-structure interaction code. I use PETSc tools (KSP) to solve for the solid phase (FEA) which is carried out under a different communicator (FEA_Comm). <br><br>Unless I am doing something wrong, I have found that the command
line options: -ksp_type; -mat_partitioning_type, don&#39;t work if there
are 2 communicators. But for single communicator they work. Please see
the attached files containing output of -log_summary for 2 different codes (scroll down to the end). One with single communicator and the other with two communicators. Both the output have been generated with the same PETSc compilation.<br>
<br>Futher -log_summary results are not able to detect all the events that have been registered if they are not in the WORLD communicator.<br></div></div></blockquote><div><br>I am not sure what you are doing, but something is wrong in this code. Using different communicators does not<br>
have much to do with options. Any object (like a KSP) can be created using a subcomm of WORLD. Are you<br>setting PETSC_COMM_WORLD to something different? That is not necessary here.<br><br>  Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">Thank you<br>Irfan<div class="im"><br>----- Original Message -----<br>From: &quot;Matthew Knepley&quot; &lt;<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>&gt;<br>
To: &quot;PETSc users list&quot; &lt;<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>&gt;<br>Sent: Tuesday, November 24, 2009 8:03:00 PM GMT -05:00 US/Canada Eastern<br>Subject: Re: Multiple communicators<br>
<br>On Tue, Nov 24, 2009 at 6:59 PM,  <span dir="ltr">&lt;<a href="mailto:irfan.khan@gatech.edu" target="_blank">irfan.khan@gatech.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">Hello<br><br>Does the procedure for providing command line options and to obtain profiling data through -log_summary change if there are multiple MPI communicators in a petsc code? <br>

</div></div></blockquote><div><br>There is always WORLD, so it should be fine unless I misunderstand your question.<br><br>  Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">If so, can somebody point me to information, references on how to provide command line options if there are multiple communicators?<br>

<br>Thank you<br>Irfan<br><font color="#888888"><br>-- <br>PhD Candidate<br>G.W. Woodruff School of Mechanical Engineering<br>Georgia Institute of Technology<br>Atlanta, GA (30332)<br></font></div></div></blockquote></div>

<br><br clear="all"><br>-- <br>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<br>
<br><br>-- <br>PhD Candidate<br>G.W. Woodruff School of Mechanical Engineering<br>Georgia Institute of Technology<br>Atlanta, GA (30332)<br></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>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<br>