I believe I answered that question. You can use the hostfile info key, or you can use the host info key - either one will do what you require.

On May 13, 2011, at 4:11 PM, Rodrigo Silva Oliveira wrote:

Hi,

I think I was not specific enough. I need to spawn the copies of a process in a unique mpi_spawn call. It is, I have to specify a list of machines and how many copies of the process will be spawned on each one. Is it possible?

I would be something like that:

machines     #copies
m1                1
m2                3
m3                1

After an unique call to spawn, I want the copies running in this fashion. I tried use a hostfile with the option slot, but I'm not sure if it is the best way.

hostfile:

m1 slots=1
m2 slots=3
m3 slots=1

Thanks

--
Rodrigo Silva Oliveira
M.Sc. Student - Computer Science
Universidade Federal de Minas Gerais
www.dcc.ufmg.br/~rsilva
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users