Hi, I have simple MPI program that uses MPI_comm_spawn to create additional child processes. Using MPI_Intercomm_merge, I merge the child and the parent communicator resulting in a single expanded user defined intracommunicator. I know MPI_COMM_WORLD is a constant which is statically initialized during MPI_Init call. But is there a way to update the value of MPI_COMM_WORLD at runtime to reflect this expanded set of processes? Is it possible to some how reinitialize MPI_COMM_WORLD using ompi_comm_init() function?
Regards, Rajesh