Re: [MTT users] hostlist enhancement

2008-01-10 Thread Ethan Mallove
Works for me.

-Ethan

On Thu, Jan/10/2008 08:48:20AM, Jeff Squyres wrote:
> Mellanox told me that the MTT () funclet is returning a 
> comma-delimited list of hosts (and _hosts()).  That is fine for 
> Open MPI, but it is not for MVAPICH -- MVAPICH requires a space-delimited 
> list of hosts for their mpirun.
>
> Here's a patch that introduces an optional parameter to () and 
> _hosts().  The optional parameter is a delimiter for the hostlist. 
>  So if you call:
>
>   _hosts()
>
> you'll get the same comma-delimited list that is returned today.  But if 
> you call
>
>   _hosts(" ")
>
> you should get a space-delimited list.
>
> Can Mellanox try this patch and see if it works for them?  If so, I'll 
> commit it to the MTT trunk.
>
> -- 
> Jeff Squyres
> Cisco Systems


>

> ___
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



Re: [MTT users] hostlist enhancement

2008-01-10 Thread Pavel Shamis (Pasha)

Mellanox will try.
10x!

Jeff Squyres wrote:
Mellanox told me that the MTT () funclet is returning a 
comma-delimited list of hosts (and _hosts()).  That is fine 
for Open MPI, but it is not for MVAPICH -- MVAPICH requires a 
space-delimited list of hosts for their mpirun.


Here's a patch that introduces an optional parameter to () 
and _hosts().  The optional parameter is a delimiter for the 
hostlist.  So if you call:


_hosts()

you'll get the same comma-delimited list that is returned today.  But 
if you call


_hosts(" ")

you should get a space-delimited list.

Can Mellanox try this patch and see if it works for them?  If so, I'll 
commit it to the MTT trunk.





___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
  



--
Pavel Shamis (Pasha)
Mellanox Technologies