<div dir="ltr">Hi, Hui, <div><br></div><div>Thanks for your response, I have already read through the docs that you said. It's very useful. </div><div>although I did some research still have some questions: </div><div>IMHO, there are 2 possible ways to do dynamic scheduling of cpu cores:</div><div>1. using mpi_comm_spawn to spawn a new hydra_pmi_proxy on a different port </div><div>or using mpi_comm_spawn_multiple to spawn new processes on the same port</div><div>but my question is that how to start the new processes on a remote machine, using farm resource manager(qsub,bsub,etc)? <b>Is there a reserved keyword in the MPI_info that can qualify for this function?</b></div><div>2. using mpi_comm_connect to connect an already started mpi application to connect to another mpi application, but I didn't find some useful testcases yet. Do you know if this way is possible? </div><div><br></div><div>Thanks,</div><div>Shuwei</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 8, 2018 at 4:52 PM Zhou, Hui <<a href="mailto:zhouh@anl.gov">zhouh@anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space">
<div style="word-wrap:break-word;line-break:after-white-space">
<div>I am by far not an expert on MPI dynamic process at this point. I will point you to the MPI standards <a href="https://www.mpi-forum.org/docs/" target="_blank">https://www.mpi-forum.org/docs/</a>, in particular, chapter 10. MPICH implements most of the
standards. Try follow the standards to see what you can do. If you hit specific problem, post back here and some one will help you. </div>
<div><br>
</div>
<div>Cheers,</div>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space">
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
— </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
Hui Zhou</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<br>
</div>
<br class="m_-2163497306351702642Apple-interchange-newline">
</div>
</div>
<br class="m_-2163497306351702642Apple-interchange-newline">
</div>
<br class="m_-2163497306351702642Apple-interchange-newline">
</div>
<br class="m_-2163497306351702642Apple-interchange-newline">
<br class="m_-2163497306351702642Apple-interchange-newline">
</div>
<div><br>
<blockquote type="cite">
<div>On Nov 6, 2018, at 5:20 PM, Shuwei Zhao via discuss <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> wrote:</div>
<br class="m_-2163497306351702642Apple-interchange-newline">
<div>
<div dir="auto">Hi, Experts, </div>
<div dir="auto"><br>
</div>
<div dir="auto">I have a question about if mpich can do dynamically allocate/schedule/kill process on the runtime? If that’s doable, how can we do that? </div>
<div dir="auto"><br>
</div>
<div dir="auto">Let’s see an example: </div>
<div dir="auto">qsub -P my_queue -pe mpi 8 mpiexec my_exe </div>
<div dir="auto">Distribute mpich application on 8 processes each on a single machine. During the application runtime, can we dynamically (allocate & start)/(remove & kill) one process and (add to)/(delete from) the current communication group ? </div>
<div dir="auto"><br>
</div>
<div dir="auto">Appreciate your help ahead!</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks,</div>
<div dir="auto">Shuwei</div>
<div dir="auto"><br>
</div>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote></div>