Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Using dynamic process management without mpirun/mpiexec
From: Damien Hocking (damien_at_[hidden])
Date: 2010-02-24 20:52:12


Yes, that's right. It will launch a singleton, and then add slaves as
required. Thank you.

Damien

On 24/02/2010 6:17 PM, Ralph Castain wrote:
> Let me see if I understand your question. You want to launch an initial MPI code using mpirun or as a singleton. This code will then determine available resources and use MPI_Comm_spawn to launch the "real" MPI job.
>
> Correct?
>
> If so, then yes - you can do that. When you do the comm_spawn, you need to include an MPI_Info key of "add-host" that specifies the host(s) (comma-delimited list) to be used for launching the specified app. Or you can do "add-hostfile" - either or both are supported.
>
>
>
> On Feb 24, 2010, at 5:39 PM, Damien Hocking wrote:
>
>> Hi all,
>>
>> Does OpenMPI support dynamic process management without launching through mpirun or mpiexec? I need to use some MPI code in a shared-memory environment where I don't know the resources in advance.
>>
>> Damien
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>