Re: [OMPI users] a question about MPI dynamic process manage

2017-03-24 Thread Jeff Squyres (jsquyres)
(keeping the user's list in the CC) > On Mar 24, 2017, at 4:05 AM, gzzh...@buaa.edu.cn wrote: > > hi jeff: > I tried to call MPI_Comm_spawn("./child", MPI_ARGV_NULL, 1, > MPI_INFO_NULL, root, MPI_COMM_WORLD, &newcomm, &errs) > in order every MPI process in MPI_COMM_WORLD can spawn one child

Re: [OMPI users] a question about MPI dynamic process manage

2017-03-23 Thread Jeff Squyres (jsquyres)
It's likely a lot more efficient to MPI_COMM_SPAWN *all* of your children at once, and then subdivide up the resulting newcomm communicator as desired. It is *possible* to have a series MPI_COMM_SPAWN calls that spawn a single child process, and then later join all of those children into a singl

[OMPI users] a question about MPI dynamic process manage

2017-03-22 Thread gzzh...@buaa.edu.cn
Hi team: I have a question about MPI dynamic process manage, I hope you can provide some help. First of all, the MPI program running on multiple nodes, the group with MPI_COMM_WORLD was splitted into some subgroups by nodes and sub-communicators were created respectively so that MPI proces