Re: [OMPI users] MPI_Comm_spawn and exit of parent process.

2012-06-16 Thread Ralph Castain
I'm afraid there is no option to keep the job alive if the parent exits. I could give you several reasons for that behavior, but the bottom line is that it can't be changed. Why don't you have the parent loop across "sleep", waking up periodically to check for a "we are done" message from a chi

[OMPI users] MPI_Comm_spawn and exit of parent process.

2012-06-16 Thread Roland Schulz
Hi, I would like to start a single process without mpirun and then use MPI_Comm_spawn to start up as many processes as required. I don't want the parent process to take up any resources, so I tried to disconnect the inter communicator and then finalize mpi and exit the parent. But as soon as I do