<div dir="ltr">On Mon, May 27, 2013 at 10:03 AM, Suraj Prabhakaran <span dir="ltr"><<a href="mailto:s.prabhakaran@grs-sim.de" target="_blank">s.prabhakaran@grs-sim.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I am completely new to PETSc. I would like to know if it is possible to use PETSc after increasing the number of processes in an MPI program through MPI_Comm_spawn.<br>
The application is started with a set of MPI processes and the PETSC is initialized with this set. At a later point, the application could indeed increase the set of processes (through MPI_Comm_spawn) and create a intra communicator with the parent and the children. I would like to use these processes too with PETSC. Would this be possible (by providing the new communicator for instance)?<br>
</blockquote><div><br></div><div style>You can give a PetscObject any communicator, however PETSC_COMM_WORLD is used for a bunch of global stuff,</div><div style>like logging, so you may get unexpected behavior.</div><div style>
<br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks!<br>
Regards,<br>
Suraj<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <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
</div></div>