[MPICH2-dev] Date: Thu, 22 Nov 2007 09:51:08 +0100

Rozzen.VINCONT at external.thalesgroup.com Rozzen.VINCONT at external.thalesgroup.com
Thu Nov 22 13:31:16 CST 2007


Hi,
I have some issues using MPI_Finalize.

Issue 1:
--------
A master process spawns 2 slave processes. Slave processes perform a job and then stop.

My problem is one of the slave process is stuck in its MPI_Finalize call until Master reaches its own MPI_Finalize.

Why a slave is stuck in its MPI_Finalize call ? why the other is not ?

Note: by the way, with 10 slaves spawned from a single MPI_spawn_multiple call, only 1 out of 10 is stuck.


Issue 2:
--------
A master process spawns every second a slave process (Master does not know if Slave is stopped or not before doing a spawn again).

Conf. 1: Slave is stuck in its MPI_Finalize call.
In this configuration, Master is able to perform 324 spawn calls and then Master stops with no obvious reason.

Conf. 2: MPI_Finalize is removed from the slave source code. Slave stops correctly but Master reports a communication shutdown.
In this configuration, Master is able to perform about 550 spawn calls and then Master stops with no obvious reason.

Do you have any explanations for these spawn limits ?


Thanks for your help.

Regards.




More information about the mpich2-dev mailing list