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
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to