Hi,

 

My job creates 10 processes, and the rank 0 one spawns a distinct process P to function as a master.   I’d like to share P’s inter-communicator with the other 9 processes, but it seems that I can’t pass it directly to them through function arguments to those processes (very weird errors happen involving the inter-communicator).   What is an efficient way to connect all 10 processes to P? I’ve looked into MPI_Open_port / MPI_Comm_accept / MPI_Comm_connect, but was wondering if there is more streamlined way.

 

(I can’t make rank 0 become the master directly, due to the peculiarities of my PBS/Torque node allocations).

 

Thanks,

Kurt