Re: [OMPI users] Spawn and distribution of slaves

2006-03-03 Thread Jean Latour
Thanks for your answer. Your example address one possible situation where a parallel application is spawned by a driver with MPI_Comm_Spawn, or multiple parallel applications are spawned at the same time with a MPI_Comm_Span_Multiple, over a set of processors described in the machinefile. It is

Re: [OMPI users] Spawn and distribution of slaves

2006-03-02 Thread Edgar Gabriel
so for my tests, Open MPI did follow the machinefile (see output) further below, however, for each spawn operation it starts from the very beginning of the machinefile... The following example spawns 5 child processes (with a single MPI_Comm_spawn), and each child prints its rank and the hostname

Re: [OMPI users] Spawn and distribution of slaves

2006-03-02 Thread Edgar Gabriel
as far as I know, Open MPI should follow the machinefile for spawn operations, starting however for every spawn at the beginning of the machinefile again. An info object such as 'lam_sched_round_robin' is currently not available/implemented. Let me look into this... Jean Latour wrote: Hello,

[OMPI users] Spawn and distribution of slaves

2006-03-02 Thread Jean Latour
Hello, Testing the MPI_Comm_Spawn function of Open MPI version 1.0.1, I have an example that works OK, except that it shows that the spawned processes do not follow the "machinefile" setting of processors. In this example a master process spawns first 2 processes, then disconnects from them an