<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><div class="gmail_quote"><div>I don't explicitly use the communicator PETSC_COMM_WORLD. Instead I used MPI_COMM_WORLD, which according to the manual should be the same.<br><br>However, I create two new communicator from MPI_COMM_WORLD using MPI_Comm_split(). LBM_Comm and FEA_Comm. Only the ranks in FEA_Comm make use of KSP solver and PARMETIS. When creating objects for mesh partitioning (MatPartitioningCreate()) and solver (KSPCreate()), I use the new communicator FEA_Comm. Would this have any effect on the command line options?<br><br>Regards<br>Irfan<br> <br><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><br><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: "Matthew Knepley" <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>><br>
To: "PETSc users list" <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><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"><<a href="mailto:irfan.khan@gatech.edu" target="_blank">irfan.khan@gatech.edu</a>></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>
<br><br>-- <br>PhD Candidate<br>G.W. Woodruff School of Mechanical Engineering<br>Georgia Institute of Technology<br>Atlanta, GA (30332)<br></div></body></html>