[mpich-discuss] New communicator from connect/accept primitives

Jayesh Krishna jayesh at mcs.anl.gov
Fri Jan 15 11:54:47 CST 2010


Hi,
 Did you try MPI_Intercomm_merge() ?

Regards,
Jayesh
----- Original Message -----
From: "Francisco Javier García Blas" <fjblas at arcos.inf.uc3m.es>
To: mpich-discuss at mcs.anl.gov
Sent: Friday, January 15, 2010 11:09:22 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] New communicator from connect/accept primitives


Hello all, 


I wondering the possibility of get a new inter-comunicator from N communicators, which are results from different calls of mpi_comm_connect or mpi_comm_accept. 


My initial solution was first, to get the group of each inter-communicator with mpi_comm_group, second, to join all the groups into one bigger and finally, to create a new communicator from the group with the mpi_comm_create primitive. 


Currently I am handling a pool of inter - communicators in order to keep the functionality. However this idea is not suitable for collective and MPI_ANY_SOURCE sends/recvs. 


Exist another way to join all the inter-communicator into one? 


Any suggestion? 


Best regards. 











-------------------------------------------------- 
Francisco Javier García Blas 
Computer Architecture, Communications and Systems Area. 
Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID 
Avda. de la Universidad, 30 
28911 Leganés (Madrid), SPAIN 
e-mail: fjblas at arcos.inf.uc3m.es 
fjblas at inf.uc3m.es 
Phone:(+34) 916249118 
FAX: (+34) 916249129 
-------------------------------------------------- 

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list