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 processes in one node can communicate with each other through these 
sub-communicators.
Then using MPI_Comm_spawn("./child", NULL, 1, hostinfo, 0, sub-communicator, 
&newcomm, &errs) 
to spawn one child process in each node . Children processes were expected to 
form a group 
and further to create an intra-communicator so that using it some message 
passing can be done between these children processes.
The question is how can I achieve that? Or only have to use MPI_Comm_accept 
&MPI_Comm_connect to establish
a connection?

best regards!

-------------------------------------
Eric

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to