I am by far not an expert on MPI dynamic process at this point. I will point you to the MPI standards https://www.mpi-forum.org/docs/, 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. 

Cheers,
— 
Hui Zhou









On Nov 6, 2018, at 5:20 PM, Shuwei Zhao via discuss <discuss@mpich.org> wrote:

Hi, Experts, 

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? 

Let’s see an example: 
qsub -P my_queue -pe mpi 8 mpiexec my_exe 
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 ? 

Appreciate your help ahead!

Thanks,
Shuwei

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss