Re: [OMPI users] Reinitialize MPI_COMM_WORLD

2007-11-29 Thread Edgar Gabriel
no, unfortunately there is no way to do that. In fact, each set of child processes which you spawn has its own MPI_COMM_WORLD. MPI_COMM_WORLD is static and there is no way to change it at runtime... Edgar Rajesh Sudarsan wrote: Hi, I have simple MPI program that uses MPI_comm_spawn to create

[OMPI users] Reinitialize MPI_COMM_WORLD

2007-11-29 Thread Rajesh Sudarsan
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